summaryrefslogtreecommitdiffstats
path: root/print/libgnomeprint
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/libgnomeprint
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/libgnomeprint')
-rw-r--r--print/libgnomeprint/Makefile3
-rw-r--r--print/libgnomeprint/pkg-plist1
2 files changed, 3 insertions, 1 deletions
diff --git a/print/libgnomeprint/Makefile b/print/libgnomeprint/Makefile
index be2cbd5..4561031 100644
--- a/print/libgnomeprint/Makefile
+++ b/print/libgnomeprint/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/libgnomeprint/pkg-plist b/print/libgnomeprint/pkg-plist
index fda1a65..2a0aa5d 100644
--- a/print/libgnomeprint/pkg-plist
+++ b/print/libgnomeprint/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