pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/misc/jive Add DESTDIR support. The manpage is not nec...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/dd7555d909c2
branches:  trunk
changeset: 536448:dd7555d909c2
user:      bjs <bjs%pkgsrc.org@localhost>
date:      Fri Dec 14 08:43:20 2007 +0000

description:
Add DESTDIR support.  The manpage is not necessarily installed gzipped,
so change the PLIST to reflect this.

diffstat:

 misc/jive/Makefile |  8 +++++---
 misc/jive/PLIST    |  4 ++--
 2 files changed, 7 insertions(+), 5 deletions(-)

diffs (36 lines):

diff -r dcd265eb85c8 -r dd7555d909c2 misc/jive/Makefile
--- a/misc/jive/Makefile        Fri Dec 14 08:42:19 2007 +0000
+++ b/misc/jive/Makefile        Fri Dec 14 08:43:20 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2007/01/07 09:14:01 rillig Exp $
+# $NetBSD: Makefile,v 1.20 2007/12/14 08:43:20 bjs Exp $
 
 DISTNAME=              jive-1.1
 CATEGORIES=            misc
@@ -7,13 +7,15 @@
 MAINTAINER=            pkgsrc-users%NetBSD.org@localhost
 COMMENT=               Filter that converts English text to Jive
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 WRKSRC=                        ${WRKDIR}/jive
 INSTALLATION_DIRS=     bin ${PKGMANDIR}/man1
 
 USE_TOOLS+=            flex
 
 do-install:
-       ${INSTALL_PROGRAM} ${WRKSRC}/jive ${PREFIX}/bin
-       ${INSTALL_MAN} ${WRKSRC}/jive.1 ${PREFIX}/${PKGMANDIR}/man1
+       ${INSTALL_PROGRAM} ${WRKSRC}/jive ${DESTDIR}${PREFIX}/bin
+       ${INSTALL_MAN} ${WRKSRC}/jive.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
 
 .include "../../mk/bsd.pkg.mk"
diff -r dcd265eb85c8 -r dd7555d909c2 misc/jive/PLIST
--- a/misc/jive/PLIST   Fri Dec 14 08:42:19 2007 +0000
+++ b/misc/jive/PLIST   Fri Dec 14 08:43:20 2007 +0000
@@ -1,3 +1,3 @@
-@comment $NetBSD: PLIST,v 1.1 2001/11/01 01:28:27 zuntum Exp $
+@comment $NetBSD: PLIST,v 1.2 2007/12/14 08:43:20 bjs Exp $
 bin/jive
-man/man1/jive.1.gz
+man/man1/jive.1



Home | Main Index | Thread Index | Old Index