aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorerwin <erwin@FreeBSD.org>2006-08-09 02:39:54 +0800
committererwin <erwin@FreeBSD.org>2006-08-09 02:39:54 +0800
commit02c695f7b74d398a730a5242622744fd626863d9 (patch)
treeba6f9ded6c43924445bd3aead63efca7e5c1144f
parentdb3d2c7365d1203762bf5827c73729126964bf7b (diff)
downloadfreebsd-ports-gnome-02c695f7b74d398a730a5242622744fd626863d9.tar.gz
freebsd-ports-gnome-02c695f7b74d398a730a5242622744fd626863d9.tar.zst
freebsd-ports-gnome-02c695f7b74d398a730a5242622744fd626863d9.zip
Fix after DESTDIR support was added.
Submitted by: gabor
-rw-r--r--x11-fonts/geminifonts/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/x11-fonts/geminifonts/Makefile b/x11-fonts/geminifonts/Makefile
index 3f87749b6351..5c371a5f95f1 100644
--- a/x11-fonts/geminifonts/Makefile
+++ b/x11-fonts/geminifonts/Makefile
@@ -24,11 +24,10 @@ USE_PERL5_BUILD=yes
USE_X_PREFIX= yes
NO_WRKSUBDIR= yes
-MAKE_ENV+= DESTDIR=${X11BASE}/lib/X11/fonts/koi8-u-gemini
-MAKE_ARGS+= -E DESTDIR -j 2
-
post-patch:
- ${PERL} -pi -e 's/\.Z/.gz/g' ${WRKSRC}/Makefile
+ @${REINPLACE_CMD} -e 's/\.Z/.gz/g' \
+ -e "s|/usr/X11R6/lib/X11/fonts/ukr|${X11BASE}/lib/X11/fonts/koi8-u-gemini|" \
+ ${WRKSRC}/Makefile
post-install:
@${CAT} ${PKGMESSAGE}