Index: head/graphics/ftgl/Makefile =================================================================== --- head/graphics/ftgl/Makefile (revision 543866) +++ head/graphics/ftgl/Makefile (revision 543867) @@ -1,36 +1,34 @@ # Created by: Igor Pokrovsky # $FreeBSD$ PORTNAME= ftgl -DISTVERSION= 2.1.3-rc5 -PORTREVISION= 6 +DISTVERSIONPREFIX= v +DISTVERSION= 2.4.0 PORTEPOCH= 1 CATEGORIES= graphics -MASTER_SITES= SF/${PORTNAME}/FTGL%20Source/2.1.3%7Erc5 MAINTAINER= amdmi3@FreeBSD.org COMMENT= OpenGL FreeType fonts rendering library LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libfreetype.so:print/freetype2 +USE_GITHUB= yes +GH_ACCOUNT= frankheckenbach + +USES= autoreconf gl pathfix gmake libtool pkgconfig xorg GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-gl-inc="${LOCALBASE}/include" \ --without-glut-inc -USES= gl pathfix gmake libtool xorg USE_GL= gl glu -USE_XORG= x11 xext xmu +USE_XORG= ice sm x11 xext xmu USE_LDCONFIG= yes +INSTALL_TARGET= install-strip -WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION:S/-/~/} - post-patch: @${REINPLACE_CMD} -e '/SUBDIRS/ s|docs||; /SUBDIRS/ s|demo||' \ - ${WRKSRC}/Makefile.in - -post-install: - ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libftgl.so + ${WRKSRC}/Makefile.am .include Index: head/graphics/ftgl/distinfo =================================================================== --- head/graphics/ftgl/distinfo (revision 543866) +++ head/graphics/ftgl/distinfo (revision 543867) @@ -1,2 +1,3 @@ -SHA256 (ftgl-2.1.3-rc5.tar.gz) = 5458d62122454869572d39f8aa85745fc05d5518001bcefa63bd6cbb8d26565b -SIZE (ftgl-2.1.3-rc5.tar.gz) = 841597 +TIMESTAMP = 1475810942 +SHA256 (frankheckenbach-ftgl-v2.4.0_GH0.tar.gz) = aa97da1c3442a8fd3941037655df18016d70b5266381c81d81e8b5335f196ea8 +SIZE (frankheckenbach-ftgl-v2.4.0_GH0.tar.gz) = 630803 Index: head/graphics/ftgl/files/patch-configure =================================================================== --- head/graphics/ftgl/files/patch-configure (revision 543866) +++ head/graphics/ftgl/files/patch-configure (nonexistent) @@ -1,11 +0,0 @@ ---- configure.orig 2019-09-25 00:59:19 UTC -+++ configure -@@ -23739,7 +23739,7 @@ GLUT_X_LIBS= - { echo "$as_me:$LINENO: checking for a TrueType font on the system" >&5 - echo $ECHO_N "checking for a TrueType font on the system... $ECHO_C" >&6; } - --FONT_FILE="`fc-match -sv serif 2>/dev/null| sed -ne 's/.*\file:[^"]*"\([^"]*\)".*/\1/p' | sed q`" -+FONT_FILE="`fc-match -sv serif 2>/dev/null| sed -ne 's/.*file:[^"]*"\([^"]*\)".*/\1/p' | sed q`" - - if test "$FONT_FILE" = ""; then - for font in \ Property changes on: head/graphics/ftgl/files/patch-configure ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/graphics/ftgl/files/patch-m4_font.m4 =================================================================== --- head/graphics/ftgl/files/patch-m4_font.m4 (nonexistent) +++ head/graphics/ftgl/files/patch-m4_font.m4 (revision 543867) @@ -0,0 +1,11 @@ +--- m4/font.m4.orig 2019-02-07 21:39:58 UTC ++++ m4/font.m4 +@@ -11,7 +11,7 @@ AC_DEFUN([FTGL_CHECK_FONT], + AC_MSG_CHECKING(for a TrueType font on the system) + + dnl First try: fontconfig +-FONT_FILE="`fc-match -sv serif 2>/dev/null| sed -ne 's/.*\file:@<:@^"@:>@*"\(@<:@^"@:>@*\)".*/\1/p' | sed q`" ++FONT_FILE="`fc-match -sv serif 2>/dev/null| sed -ne 's/.*file:@<:@^"@:>@*"\(@<:@^"@:>@*\)".*/\1/p' | sed q`" + + dnl Second try: look into known paths + if test "$FONT_FILE" = ""; then Property changes on: head/graphics/ftgl/files/patch-m4_font.m4 ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/graphics/ftgl/pkg-descr =================================================================== --- head/graphics/ftgl/pkg-descr (revision 543866) +++ head/graphics/ftgl/pkg-descr (revision 543867) @@ -1,9 +1,9 @@ FTGL is a free open source library to enable developers to use arbitrary fonts in their OpenGL applications. Unlike other OpenGL font libraries FTGL uses standard font file formats so doesn't need a preprocessing step to convert the high quality font data into a lesser quality, proprietary format. FTGL uses the Freetype (www.freetype.org) font library to open and 'decode' the fonts. It then takes that output and stores it in a format most efficient for OpenGL rendering. -WWW: https://sourceforge.net/projects/ftgl/ +WWW: https://github.com/frankheckenbach/ftgl Index: head/graphics/ftgl/pkg-plist =================================================================== --- head/graphics/ftgl/pkg-plist (revision 543866) +++ head/graphics/ftgl/pkg-plist (revision 543867) @@ -1,27 +1,30 @@ include/FTGL/FTBBox.h include/FTGL/FTBitmapGlyph.h include/FTGL/FTBuffer.h include/FTGL/FTBufferFont.h include/FTGL/FTBufferGlyph.h include/FTGL/FTExtrdGlyph.h include/FTGL/FTFont.h include/FTGL/FTGLBitmapFont.h include/FTGL/FTGLExtrdFont.h include/FTGL/FTGLOutlineFont.h include/FTGL/FTGLPixmapFont.h include/FTGL/FTGLPolygonFont.h include/FTGL/FTGLTextureFont.h +include/FTGL/FTGLTriangleExtractorFont.h include/FTGL/FTGlyph.h include/FTGL/FTLayout.h +include/FTGL/FTLibrary.h include/FTGL/FTOutlineGlyph.h include/FTGL/FTPixmapGlyph.h include/FTGL/FTPoint.h include/FTGL/FTPolyGlyph.h include/FTGL/FTSimpleLayout.h include/FTGL/FTTextureGlyph.h +include/FTGL/FTTriangleExtractorGlyph.h include/FTGL/ftgl.h lib/libftgl.a lib/libftgl.so lib/libftgl.so.2 -lib/libftgl.so.2.1.3 +lib/libftgl.so.2.4.0 libdata/pkgconfig/ftgl.pc