pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/groff Auto-generate the portion of the PLIST ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a22242a2a387
branches:  trunk
changeset: 520576:a22242a2a387
user:      dmcmahill <dmcmahill%pkgsrc.org@localhost>
date:      Mon Oct 23 12:54:05 2006 +0000

description:
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:

 textproc/groff/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (25 lines):

diff -r fe0170f7c37f -r a22242a2a387 textproc/groff/Makefile
--- a/textproc/groff/Makefile   Mon Oct 23 12:30:11 2006 +0000
+++ b/textproc/groff/Makefile   Mon Oct 23 12:54:05 2006 +0000
@@ -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 @@
 
 .include "options.mk"
 
+PLIST_SRC+=            ${WRKDIR}/PLIST-local
 PLIST_SRC+=            PLIST
 
 .include "../../mk/bsd.prefs.mk"
@@ -57,5 +58,7 @@
 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"



Home | Main Index | Thread Index | Old Index