summaryrefslogtreecommitdiffstats
path: root/print/gnomeprint
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2001-12-17 09:03:07 +0000
committersobomax <sobomax@FreeBSD.org>2001-12-17 09:03:07 +0000
commit602f157fbb451f55d8361f8251216d08960914ad (patch)
tree69a43cc93861eb7d90001d5b8d1b2bc826bcb7ef /print/gnomeprint
parenteccec6e2a150c10407caa3e11b6769fd57541306 (diff)
downloadFreeBSD-ports-602f157fbb451f55d8361f8251216d08960914ad.zip
FreeBSD-ports-602f157fbb451f55d8361f8251216d08960914ad.tar.gz
Move creation of ${PREFIX}/etc/gnome/fonts/gnome-print-x11.fontmap from
pkg-plist to Makefile on a second attempt to fix bento build and unlock building of some 200 ports that depend on gnomeprint. Submitted by: bento
Diffstat (limited to 'print/gnomeprint')
-rw-r--r--print/gnomeprint/Makefile3
-rw-r--r--print/gnomeprint/pkg-plist1
2 files changed, 3 insertions, 1 deletions
diff --git a/print/gnomeprint/Makefile b/print/gnomeprint/Makefile
index be2cbd5..4561031 100644
--- a/print/gnomeprint/Makefile
+++ b/print/gnomeprint/Makefile
@@ -36,4 +36,7 @@ pre-patch:
's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \
s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
+post-install:
+ @${TOUCH} ${PREFIX}/etc/gnome/fonts/gnome-print-x11.fontmap
+
.include <bsd.port.mk>
diff --git a/print/gnomeprint/pkg-plist b/print/gnomeprint/pkg-plist
index fda1a65..2a0aa5d 100644
--- a/print/gnomeprint/pkg-plist
+++ b/print/gnomeprint/pkg-plist
@@ -1,6 +1,5 @@
bin/gnome-font-install
etc/gnome/fonts/gnome-print-ghostscript.fontmap
-@exec touch %D/etc/gnome/fonts/gnome-print-x11.fontmap
etc/gnome/fonts/gnome-print-x11.fontmap
etc/gnome/fonts/gnome-print.fontmap
etc/printConf.sh
OpenPOWER on IntegriCloud