summaryrefslogtreecommitdiff
path: root/misc/jive/Makefile
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/jive/Makefile
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/jive/Makefile')
-rw-r--r--misc/jive/Makefile8
1 files changed, 5 insertions, 3 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"