summaryrefslogtreecommitdiff
path: root/x11-fonts/gnome-font-sampler
diff options
context:
space:
mode:
authorJean-Yves Lefort <jylefort@FreeBSD.org>2005-09-13 21:37:54 +0000
committerJean-Yves Lefort <jylefort@FreeBSD.org>2005-09-13 21:37:54 +0000
commit41be8b5f511571a997f7375f018ebfdb4c6f2215 (patch)
treee8918325857ac24d42d3ff0c60549b3f45703fdf /x11-fonts/gnome-font-sampler
parent- Update to 1.70 for FreeBSD 5.X and newer (diff)
- Fix build with GNOME 2.12 [1]
- Respect ${CFLAGS} - Reformat the Makefile Reported by: Piotr Smyrak <piotr.smyrak@heron.pl> [1]
Notes
Notes: svn path=/head/; revision=142634
Diffstat (limited to 'x11-fonts/gnome-font-sampler')
-rw-r--r--x11-fonts/gnome-font-sampler/Makefile33
1 files changed, 16 insertions, 17 deletions
diff --git a/x11-fonts/gnome-font-sampler/Makefile b/x11-fonts/gnome-font-sampler/Makefile
index 89d389a7ffb3..fe0a85eced4f 100644
--- a/x11-fonts/gnome-font-sampler/Makefile
+++ b/x11-fonts/gnome-font-sampler/Makefile
@@ -5,30 +5,29 @@
# $FreeBSD$
#
-PORTNAME= gnome-font-sampler
-PORTVERSION= 0.4
-PORTREVISION= 1
-CATEGORIES= x11-fonts
-MASTER_SITES= http://linuxadvocate.org/projects/gfontsampler/downloads/
-DISTNAME= gfontsampler-${PORTVERSION}
+PORTNAME= gnome-font-sampler
+PORTVERSION= 0.4
+PORTREVISION= 2
+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
+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_REINPLACE= yes
-GNU_CONFIGURE= yes
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
- LDFLAGS="-L${LOCALBASE}/lib"
+USE_X_PREFIX= yes
+USE_GCC= 3.4+
+USE_GNOME= libgnomeui gnomeprefix
+USE_REINPLACE= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
post-patch:
@${REINPLACE_CMD} -e \
's|^packagedatadir=.*|packagedatadir=share/gnome| ; \
s|^packagepixmapsdir=.*|packagepixmapsdir=share/gnome/pixmaps| ; \
- s|^packagemenudir=.*|packagemenudir=share/gnome/applications|' \
- ${WRKSRC}/configure
+ s|^packagemenudir=.*|packagemenudir=share/gnome/applications|; \
+ /^CFLAGS=""$$/ d; s|gtk+-2.0|pangoxft &|' ${WRKSRC}/configure
@${REINPLACE_CMD} -e \
's|\(@NO_PREFIX_PACKAGE_MENU_DIR@\)/Utilities|\1|' \
${WRKSRC}/Makefile.in