summaryrefslogtreecommitdiff
path: root/textproc/groff
diff options
context:
space:
mode:
authordmcmahill <dmcmahill@pkgsrc.org>2006-10-23 12:54:05 +0000
committerdmcmahill <dmcmahill@pkgsrc.org>2006-10-23 12:54:05 +0000
commitb2ec98879c5b178d3f11ea5995e1fd694b02bdcb (patch)
treef4d27f1faca58c7d13a092a3f607879c2f5b7466 /textproc/groff
parent2b1464bcb49db35624fc43031f385081701801a8 (diff)
downloadpkgsrc-b2ec98879c5b178d3f11ea5995e1fd694b02bdcb.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"