summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorbjs <bjs@pkgsrc.org>2007-12-14 08:43:20 +0000
committerbjs <bjs@pkgsrc.org>2007-12-14 08:43:20 +0000
commit20001e28d5047acc373f0e04efe32191eab0cbe1 (patch)
tree22f1eeb72713b36fe09098c1949605195d5433d1 /misc
parente23d0b43b5a676682ca94ec42bdaf3a7798d5a98 (diff)
downloadpkgsrc-20001e28d5047acc373f0e04efe32191eab0cbe1.tar.gz
Add DESTDIR support. The manpage is not necessarily installed gzipped,
so change the PLIST to reflect this.
Diffstat (limited to 'misc')
-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