diff options
author | jlam <jlam> | 2008-03-03 01:50:26 +0000 |
---|---|---|
committer | jlam <jlam> | 2008-03-03 01:50:26 +0000 |
commit | b5039a1a4c787f67dc3f15e83575b6e33b1f05cf (patch) | |
tree | 594c159848c0679d80316a52bfc121f8d7c1bf18 /chat/pircbot/Makefile | |
parent | 456f42e79b453ab8ccfea39b2c5c3f50c1fd0acb (diff) | |
download | pkgsrc-b5039a1a4c787f67dc3f15e83575b6e33b1f05cf.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/Makefile')
-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" |