summaryrefslogtreecommitdiff
path: root/misc/jive
diff options
context:
space:
mode:
authorbjs <bjs>2007-12-14 08:43:20 +0000
committerbjs <bjs>2007-12-14 08:43:20 +0000
commitfec1b4113849790c19728aa8e6ff1aa1efe8d755 (patch)
tree22f1eeb72713b36fe09098c1949605195d5433d1 /misc/jive
parent8b3d4a96cc9a20b92a9b57f7fba26d2b5d58a5e8 (diff)
downloadpkgsrc-fec1b4113849790c19728aa8e6ff1aa1efe8d755.tar.gz
Add DESTDIR support. The manpage is not necessarily installed gzipped,
so change the PLIST to reflect this.
Diffstat (limited to 'misc/jive')
-rw-r--r--misc/jive/Makefile8
-rw-r--r--misc/jive/PLIST4
2 files changed, 7 insertions, 5 deletions
diff --git a/misc/jive/Makefile b/misc/jive/Makefile
index fa557af66a0..5fd6b4ea01b 100644
--- a/misc/jive/Makefile
+++ b/misc/jive/Makefile
@@ -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 @@ MASTER_SITES= ${MASTER_SITE_SUNSITE:=games/amusements/}
MAINTAINER= pkgsrc-users@NetBSD.org
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 --git a/misc/jive/PLIST b/misc/jive/PLIST
index 7d307df0583..6f47ec1ac9d 100644
--- a/misc/jive/PLIST
+++ b/misc/jive/PLIST
@@ -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