diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-03 01:50:26 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-03 01:50:26 +0000 |
commit | 960171aa995ba9a28a5c49a383750d43281cbc4f (patch) | |
tree | 594c159848c0679d80316a52bfc121f8d7c1bf18 /chat/pircbot | |
parent | b98d5450b595b15bf04433f737a91ddd33d9dfae (diff) | |
download | pkgsrc-960171aa995ba9a28a5c49a383750d43281cbc4f.tar.gz |
Mechanical changes to add full DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'chat/pircbot')
-rw-r--r-- | chat/pircbot/Makefile | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/chat/pircbot/Makefile b/chat/pircbot/Makefile index e29882e5abb..755ea875d30 100644 --- a/chat/pircbot/Makefile +++ b/chat/pircbot/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2006/11/10 16:50:54 tv Exp $ +# $NetBSD: Makefile,v 1.16 2008/03/03 02:19:52 jlam Exp $ # DISTNAME= pircbot-0.9.11 @@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.jibble.org/pircbot.php COMMENT= Java IRC Bot Framework +PKG_DESTDIR_SUPPORT= user-destdir + USE_JAVA= run NO_CONFIGURE= YES NO_BUILD= YES @@ -20,11 +22,11 @@ post-extract: ${FIND} ${WRKSRC} -type f -print | ${XARGS} ${CHMOD} 644 do-install: - ${INSTALL_DATA_DIR} ${PREFIX}/lib/java - ${INSTALL_DATA} ${WRKSRC}/pircbot.jar ${PREFIX}/lib/java - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/java/pircbot + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/lib/java + ${INSTALL_DATA} ${WRKSRC}/pircbot.jar ${DESTDIR}${PREFIX}/lib/java + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/java/pircbot cd ${WRKSRC}/javadocs && \ - ${PAX} -rw -pp -pm . ${PREFIX}/share/doc/java/pircbot + ${PAX} -rw -pp -pm . ${DESTDIR}${PREFIX}/share/doc/java/pircbot .include "../../mk/java-vm.mk" .include "../../mk/bsd.pkg.mk" |