aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormi <mi@FreeBSD.org>2006-08-25 20:33:49 +0800
committermi <mi@FreeBSD.org>2006-08-25 20:33:49 +0800
commit970482d4ef9c805dedb17b550f8ba2ce6ffcff5e (patch)
tree73dd0eb605d4f0deb567b09fb2ff1f8758d4e105
parent33bc5ad3bcb8ff8b2581d359c94802a8deaf59c4 (diff)
downloadfreebsd-ports-gnome-970482d4ef9c805dedb17b550f8ba2ce6ffcff5e.tar.gz
freebsd-ports-gnome-970482d4ef9c805dedb17b550f8ba2ce6ffcff5e.tar.zst
freebsd-ports-gnome-970482d4ef9c805dedb17b550f8ba2ce6ffcff5e.zip
Commit my own version of DESTDIR-introduction recovery and modify the
pkg-plist to try to remove fonts.cache-*, if any, upon uninstall.
-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