summaryrefslogtreecommitdiffstats
path: root/print/gfontview/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'print/gfontview/Makefile')
-rw-r--r--print/gfontview/Makefile38
1 files changed, 38 insertions, 0 deletions
diff --git a/print/gfontview/Makefile b/print/gfontview/Makefile
new file mode 100644
index 000000000..71d3218c2
--- /dev/null
+++ b/print/gfontview/Makefile
@@ -0,0 +1,38 @@
+# ex:ts=8
+# New ports collection makefile for: gfontview
+# Date created: Jul 9, 2001
+# Whom: ijliao
+#
+# $FreeBSD$
+#
+
+PORTNAME= gfontview
+PORTVERSION= 0.5.0
+PORTREVISION= 5
+CATEGORIES= print gnome
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= An outline font viewer
+
+LIB_DEPENDS= t1.5:${PORTSDIR}/devel/t1lib
+
+USE_X_PREFIX= yes
+USE_GNOME= gnomehack gnomelibs gnomeprefix
+USE_FREETYPE= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/freetype1/freetype \
+ -I${LOCALBASE}/include" \
+ SPOOLER="/usr/bin/lpr" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+CONFIGURE_ARGS= --with-fontdir="${LOCALBASE}/share/ghostscript/fonts" \
+ --with-libungif
+
+post-patch:
+ @${REINPLACE_CMD} -e \
+ 's|CXXFLAGS="-O2"|CXXFLAGS="$$CXXFLAGS"|g' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e \
+ 's|-I/usr/include/freetype||g' ${WRKSRC}/Makefile.in
+
+.include <bsd.port.mk>