summaryrefslogtreecommitdiff
path: root/textproc/groff
diff options
context:
space:
mode:
authordmcmahill <dmcmahill>2006-10-23 12:54:05 +0000
committerdmcmahill <dmcmahill>2006-10-23 12:54:05 +0000
commitb90b77bdfcb15d0262b51deebb47b2cba3dd3257 (patch)
treef4d27f1faca58c7d13a092a3f607879c2f5b7466 /textproc/groff
parent22052cfc2c685f2b01beeef08aee0ad4fee38efb (diff)
downloadpkgsrc-b90b77bdfcb15d0262b51deebb47b2cba3dd3257.tar.gz
Auto-generate the portion of the PLIST for ${PREFIX}/lib/groff/site-tmac
as what ends up in there is based on details of what ones os may or may not come with. Fixes packaging on solaris and probably others.
Diffstat (limited to 'textproc/groff')
-rw-r--r--textproc/groff/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/textproc/groff/Makefile b/textproc/groff/Makefile
index 9f8cf20b24e..98018120300 100644
--- a/textproc/groff/Makefile
+++ b/textproc/groff/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.39 2006/10/03 13:40:22 schwarz Exp $
+# $NetBSD: Makefile,v 1.40 2006/10/23 12:54:05 dmcmahill Exp $
#
DISTNAME= groff-1.19.2
@@ -24,6 +24,7 @@ REPLACE_FILES.sed+= font/devps/generate/symbol.sed
.include "options.mk"
+PLIST_SRC+= ${WRKDIR}/PLIST-local
PLIST_SRC+= PLIST
.include "../../mk/bsd.prefs.mk"
@@ -57,5 +58,7 @@ post-patch:
post-install:
${INSTALL_DATA} ${WRKDIR}/mdoc.local \
${PREFIX}/share/groff/site-tmac
+ ${FIND} ${PREFIX}/lib/groff/site-tmac -type f -print | \
+ ${SED} 's;${PREFIX}/;;g' > ${WRKDIR}/PLIST-local
.include "../../mk/bsd.pkg.mk"