pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/groff Convert to user-destdir. Fix an interpr...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c1214ede0f3b
branches:  trunk
changeset: 554557:c1214ede0f3b
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Mon Feb 16 10:50:23 2009 +0000

description:
Convert to user-destdir. Fix an interpreter path while here.
Bump PKGREVISION for the latter.

diffstat:

 textproc/groff/Makefile |  14 +++++++++++---
 1 files changed, 11 insertions(+), 3 deletions(-)

diffs (45 lines):

diff -r 866ad64f4134 -r c1214ede0f3b textproc/groff/Makefile
--- a/textproc/groff/Makefile   Mon Feb 16 09:56:09 2009 +0000
+++ b/textproc/groff/Makefile   Mon Feb 16 10:50:23 2009 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.48 2008/11/10 17:21:38 wiz Exp $
+# $NetBSD: Makefile,v 1.49 2009/02/16 10:50:23 wiz Exp $
 #
 
 DISTNAME=      groff-1.19.2
-PKGREVISION=   5
+PKGREVISION=   6
 CATEGORIES=    textproc
 MASTER_SITES=  ${MASTER_SITE_GNU:=groff/}
 
@@ -12,6 +12,12 @@
 
 CHECK_PERMS=           NO
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+INSTALL_MAKE_FLAGS+=   prefix=${DESTDIR}${PREFIX}
+INSTALL_MAKE_FLAGS+=   appresdir=${DESTDIR}${PREFIX}/lib/X11/app-defaults
+INSTALL_MAKE_FLAGS+=   infodir=${DESTDIR}${PREFIX}/info
+INSTALL_MAKE_FLAGS+=   mandir=${DESTDIR}${PREFIX}/${PKGMANDIR}
+
 USE_LANGUAGES=         c c++
 GNU_CONFIGURE=         YES
 CONFIGURE_ENV+=                PERLPATH=${PERL5:Q}
@@ -20,6 +26,8 @@
 
 INFO_FILES=            YES
 
+REPLACE_AWK+=          font/devlj4/generate/special.awk
+
 REPLACE_INTERPRETER+=  sed
 REPLACE.sed.old=       .*/sed
 REPLACE.sed.new=       ${SED}
@@ -67,7 +75,7 @@
 
 post-install:
        ${INSTALL_DATA} ${WRKDIR}/mdoc.local \
-               ${PREFIX}/share/groff/site-tmac
+               ${DESTDIR}${PREFIX}/share/groff/site-tmac
        ${FIND} ${PREFIX}/lib/groff/site-tmac -type f -print | \
                ${SED} 's;${PREFIX}/;;g' > ${WRKDIR}/PLIST-local
 



Home | Main Index | Thread Index | Old Index