aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikhail Teterin <mi@FreeBSD.org>2006-08-25 12:33:49 +0000
committerMikhail Teterin <mi@FreeBSD.org>2006-08-25 12:33:49 +0000
commit6dbf258b76e6817810bddc8a7f5d6608367761f6 (patch)
tree5b1a4b91247d83299c2e424b0b53e9b194429367
parent20b17ff3de68be1377183b71867b97cabf43f566 (diff)
downloadports-6dbf258b76e6817810bddc8a7f5d6608367761f6.tar.gz
ports-6dbf258b76e6817810bddc8a7f5d6608367761f6.zip
Commit my own version of DESTDIR-introduction recovery and modify the
pkg-plist to try to remove fonts.cache-*, if any, upon uninstall.
Notes
Notes: svn path=/head/; revision=171379
-rw-r--r--x11-fonts/geminifonts/Makefile8
-rw-r--r--x11-fonts/geminifonts/pkg-plist1
2 files changed, 6 insertions, 3 deletions
diff --git a/x11-fonts/geminifonts/Makefile b/x11-fonts/geminifonts/Makefile
index 5c371a5f95f1..0627b2436603 100644
--- a/x11-fonts/geminifonts/Makefile
+++ b/x11-fonts/geminifonts/Makefile
@@ -24,10 +24,12 @@ USE_PERL5_BUILD=yes
USE_X_PREFIX= yes
NO_WRKSUBDIR= yes
+MAKE_ARGS+= -j 2
+
post-patch:
- @${REINPLACE_CMD} -e 's/\.Z/.gz/g' \
- -e "s|/usr/X11R6/lib/X11/fonts/ukr|${X11BASE}/lib/X11/fonts/koi8-u-gemini|" \
- ${WRKSRC}/Makefile
+ ${REINPLACE_CMD} -e 's/\.Z/.gz/g' \
+ -e 's|DESTDIR =.*|DESTDIR=${X11BASE}/lib/X11/fonts/koi8-u-gemini|' \
+ ${WRKSRC}/Makefile
post-install:
@${CAT} ${PKGMESSAGE}
diff --git a/x11-fonts/geminifonts/pkg-plist b/x11-fonts/geminifonts/pkg-plist
index 0d60f6f596bb..3e9f14654cc0 100644
--- a/x11-fonts/geminifonts/pkg-plist
+++ b/x11-fonts/geminifonts/pkg-plist
@@ -68,4 +68,5 @@ lib/X11/fonts/koi8-u-gemini/koi6x13.pcf.gz
lib/X11/fonts/koi8-u-gemini/koi8x13.pcf.gz
lib/X11/fonts/koi8-u-gemini/koi9x15.pcf.gz
lib/X11/fonts/koi8-u-gemini/koinil2.pcf.gz
+@unexec rm -f %D/lib/X11/fonts/koi8-u-gemini/fonts.cache-*
@dirrm lib/X11/fonts/koi8-u-gemini