summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--x11-fonts/gnome-font-sampler/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/x11-fonts/gnome-font-sampler/Makefile b/x11-fonts/gnome-font-sampler/Makefile
index 2ed35976d..78de511bc 100644
--- a/x11-fonts/gnome-font-sampler/Makefile
+++ b/x11-fonts/gnome-font-sampler/Makefile
@@ -7,7 +7,7 @@
PORTNAME= gnome-font-sampler
PORTVERSION= 0.4
-PORTREVISION= 5
+PORTREVISION= 6
CATEGORIES= x11-fonts
MASTER_SITES= http://linuxadvocate.org/projects/gfontsampler/downloads/
DISTNAME= gfontsampler-${PORTVERSION}
@@ -23,7 +23,10 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
post-patch:
@${REINPLACE_CMD} -e \
- '/^CFLAGS=""$$/ d; s|gtk+-2.0|pangoxft &|' ${WRKSRC}/configure
+ 's|^packagedatadir=.*|packagedatadir=share| ; \
+ s|^packagepixmapsdir=.*|packagepixmapsdir=share/pixmaps| ; \
+ s|^packagemenudir=.*|packagemenudir=share/applications|; \
+ /^CFLAGS=""$$/ d; s|gtk+-2.0|pangoxft &|' ${WRKSRC}/configure
@${REINPLACE_CMD} -e \
's|\(@NO_PREFIX_PACKAGE_MENU_DIR@\)/Utilities|\1|' \
${WRKSRC}/Makefile.in