View | Details | Raw Unified | Return to bug 248272
Collapse All | Expand All

(-)b/graphics/ftgl/Makefile (-10 / +8 lines)
Lines 2-9 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	ftgl
4
PORTNAME=	ftgl
5
DISTVERSION=	2.1.3-rc5
5
DISTVERSIONPREFIX=	v
6
PORTREVISION=	6
6
DISTVERSION=	2.4.0
7
PORTEPOCH=	1
7
PORTEPOCH=	1
8
CATEGORIES=	graphics
8
CATEGORIES=	graphics
9
MASTER_SITES=	SF/${PORTNAME}/FTGL%20Source/2.1.3%7Erc5
9
MASTER_SITES=	SF/${PORTNAME}/FTGL%20Source/2.1.3%7Erc5
Lines 19-36 LIB_DEPENDS= libfreetype.so:print/freetype2 Link Here
19
GNU_CONFIGURE=	yes
19
GNU_CONFIGURE=	yes
20
CONFIGURE_ARGS=	--with-gl-inc="${LOCALBASE}/include" \
20
CONFIGURE_ARGS=	--with-gl-inc="${LOCALBASE}/include" \
21
		--without-glut-inc
21
		--without-glut-inc
22
USES=		gl pathfix gmake libtool xorg
22
USES=		autoreconf gl pathfix gmake libtool pkgconfig xorg
23
USE_GITHUB=	yes
24
GH_ACCOUNT=	frankheckenbach
23
USE_GL=		gl glu
25
USE_GL=		gl glu
24
USE_XORG=	x11 xext xmu
26
USE_XORG=	ice sm x11 xext xmu
25
USE_LDCONFIG=	yes
27
USE_LDCONFIG=	yes
26
28
INSTALL_TARGET=	install-strip
27
WRKSRC=		${WRKDIR}/${PORTNAME}-${DISTVERSION:S/-/~/}
28
29
29
post-patch:
30
post-patch:
30
	@${REINPLACE_CMD} -e '/SUBDIRS/ s|docs||; /SUBDIRS/ s|demo||' \
31
	@${REINPLACE_CMD} -e '/SUBDIRS/ s|docs||; /SUBDIRS/ s|demo||' \
31
		${WRKSRC}/Makefile.in
32
		${WRKSRC}/Makefile.am
32
33
post-install:
34
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libftgl.so
35
33
36
.include <bsd.port.mk>
34
.include <bsd.port.mk>
(-)b/graphics/ftgl/distinfo (-2 / +3 lines)
Lines 1-2 Link Here
1
SHA256 (ftgl-2.1.3-rc5.tar.gz) = 5458d62122454869572d39f8aa85745fc05d5518001bcefa63bd6cbb8d26565b
1
TIMESTAMP = 1475810942
2
SIZE (ftgl-2.1.3-rc5.tar.gz) = 841597
2
SHA256 (frankheckenbach-ftgl-v2.4.0_GH0.tar.gz) = aa97da1c3442a8fd3941037655df18016d70b5266381c81d81e8b5335f196ea8
3
SIZE (frankheckenbach-ftgl-v2.4.0_GH0.tar.gz) = 630803
(-)a/graphics/ftgl/files/patch-configure (-11 lines)
Removed Link Here
1
--- configure.orig	2019-09-25 00:59:19 UTC
2
+++ configure
3
@@ -23739,7 +23739,7 @@ GLUT_X_LIBS=
4
 { echo "$as_me:$LINENO: checking for a TrueType font on the system" >&5
5
 echo $ECHO_N "checking for a TrueType font on the system... $ECHO_C" >&6; }
6
 
7
-FONT_FILE="`fc-match -sv serif 2>/dev/null| sed -ne 's/.*\file:[^"]*"\([^"]*\)".*/\1/p' | sed q`"
8
+FONT_FILE="`fc-match -sv serif 2>/dev/null| sed -ne 's/.*file:[^"]*"\([^"]*\)".*/\1/p' | sed q`"
9
 
10
 if test "$FONT_FILE" = ""; then
11
     for font in \
(-)b/graphics/ftgl/files/patch-m4_font.m4 (+11 lines)
Added Link Here
1
--- m4/font.m4.orig	2019-02-07 21:39:58 UTC
2
+++ m4/font.m4
3
@@ -11,7 +11,7 @@ AC_DEFUN([FTGL_CHECK_FONT],
4
 AC_MSG_CHECKING(for a TrueType font on the system)
5
 
6
 dnl  First try: fontconfig
7
-FONT_FILE="`fc-match -sv serif 2>/dev/null| sed -ne 's/.*\file:@<:@^"@:>@*"\(@<:@^"@:>@*\)".*/\1/p' | sed q`"
8
+FONT_FILE="`fc-match -sv serif 2>/dev/null| sed -ne 's/.*file:@<:@^"@:>@*"\(@<:@^"@:>@*\)".*/\1/p' | sed q`"
9
 
10
 dnl  Second try: look into known paths
11
 if test "$FONT_FILE" = ""; then
(-)b/graphics/ftgl/pkg-descr (-1 / +1 lines)
Lines 6-9 format. FTGL uses the Freetype (www.freetype.org) font library to open and Link Here
6
'decode' the fonts. It then takes that output and stores it in a format
6
'decode' the fonts. It then takes that output and stores it in a format
7
most efficient for OpenGL rendering.
7
most efficient for OpenGL rendering.
8
8
9
WWW: https://sourceforge.net/projects/ftgl/
9
WWW: https://github.com/frankheckenbach/ftgl
(-)b/graphics/ftgl/pkg-plist (-1 / +4 lines)
Lines 11-27 include/FTGL/FTGLOutlineFont.h Link Here
11
include/FTGL/FTGLPixmapFont.h
11
include/FTGL/FTGLPixmapFont.h
12
include/FTGL/FTGLPolygonFont.h
12
include/FTGL/FTGLPolygonFont.h
13
include/FTGL/FTGLTextureFont.h
13
include/FTGL/FTGLTextureFont.h
14
include/FTGL/FTGLTriangleExtractorFont.h
14
include/FTGL/FTGlyph.h
15
include/FTGL/FTGlyph.h
15
include/FTGL/FTLayout.h
16
include/FTGL/FTLayout.h
17
include/FTGL/FTLibrary.h
16
include/FTGL/FTOutlineGlyph.h
18
include/FTGL/FTOutlineGlyph.h
17
include/FTGL/FTPixmapGlyph.h
19
include/FTGL/FTPixmapGlyph.h
18
include/FTGL/FTPoint.h
20
include/FTGL/FTPoint.h
19
include/FTGL/FTPolyGlyph.h
21
include/FTGL/FTPolyGlyph.h
20
include/FTGL/FTSimpleLayout.h
22
include/FTGL/FTSimpleLayout.h
21
include/FTGL/FTTextureGlyph.h
23
include/FTGL/FTTextureGlyph.h
24
include/FTGL/FTTriangleExtractorGlyph.h
22
include/FTGL/ftgl.h
25
include/FTGL/ftgl.h
23
lib/libftgl.a
26
lib/libftgl.a
24
lib/libftgl.so
27
lib/libftgl.so
25
lib/libftgl.so.2
28
lib/libftgl.so.2
26
lib/libftgl.so.2.1.3
29
lib/libftgl.so.2.4.0
27
libdata/pkgconfig/ftgl.pc
30
libdata/pkgconfig/ftgl.pc

Return to bug 248272