summaryrefslogtreecommitdiffstats
path: root/x11-fonts/gnome-font-sampler/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11-fonts/gnome-font-sampler/Makefile')
-rw-r--r--x11-fonts/gnome-font-sampler/Makefile31
1 files changed, 31 insertions, 0 deletions
diff --git a/x11-fonts/gnome-font-sampler/Makefile b/x11-fonts/gnome-font-sampler/Makefile
new file mode 100644
index 000000000..2ed35976d
--- /dev/null
+++ b/x11-fonts/gnome-font-sampler/Makefile
@@ -0,0 +1,31 @@
+# New ports collection makefile for: gnome-font-sampler
+# Date created: 31 Dec 2004
+# Whom: Jean-Yves Lefort <jylefort@brutele.be>
+#
+# $FreeBSD$
+#
+
+PORTNAME= gnome-font-sampler
+PORTVERSION= 0.4
+PORTREVISION= 5
+CATEGORIES= x11-fonts
+MASTER_SITES= http://linuxadvocate.org/projects/gfontsampler/downloads/
+DISTNAME= gfontsampler-${PORTVERSION}
+
+MAINTAINER= jylefort@FreeBSD.org
+COMMENT= A program for viewing several fonts at once
+
+USE_X_PREFIX= yes
+USE_GCC= 3.4+
+USE_GNOME= libgnomeui gnomeprefix
+USE_AUTOTOOLS= libtool:15
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
+
+post-patch:
+ @${REINPLACE_CMD} -e \
+ '/^CFLAGS=""$$/ d; s|gtk+-2.0|pangoxft &|' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e \
+ 's|\(@NO_PREFIX_PACKAGE_MENU_DIR@\)/Utilities|\1|' \
+ ${WRKSRC}/Makefile.in
+
+.include <bsd.port.mk>