summaryrefslogtreecommitdiff
path: root/print/libgnomeprint
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2001-12-17 09:03:07 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2001-12-17 09:03:07 +0000
commit82b30360cee9392c298da5ee038d9a8b8cc47bf3 (patch)
tree4849df1508cf4fdb12982a2dafe09347785247d2 /print/libgnomeprint
parentDisable menubar fontset support by default. (diff)
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 be2cbd5a670b..45610314d925 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 fda1a6598605..2a0aa5df5b4b 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