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 | 2e614fcea0b247bbc54200c2ed35e943cca37125 (patch) | |
tree | 594c159848c0679d80316a52bfc121f8d7c1bf18 /chat/iroffer | |
parent | f61cf6906a47ea29db5a98128c49cd6db98ee0e9 (diff) | |
download | pkgsrc-2e614fcea0b247bbc54200c2ed35e943cca37125.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/iroffer')
-rw-r--r-- | chat/iroffer/Makefile | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/chat/iroffer/Makefile b/chat/iroffer/Makefile index 78cbbc2d680..f23b618852d 100644 --- a/chat/iroffer/Makefile +++ b/chat/iroffer/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2007/02/22 19:26:11 wiz Exp $ +# $NetBSD: Makefile,v 1.7 2008/03/03 02:19:51 jlam Exp $ # DISTNAME= iroffer1.3.b11 @@ -11,24 +11,26 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://iroffer.org/ COMMENT= IRC (Internet Relay Chat) DCC OfferBot +PKG_DESTDIR_SUPPORT= user-destdir + INSTALLATION_DIRS= bin HAS_CONFIGURE= yes CONFIGURE_SCRIPT= ./Configure do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/iroffer ${PREFIX}/bin - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/iroffer + ${INSTALL_PROGRAM} ${WRKSRC}/iroffer ${DESTDIR}${PREFIX}/bin + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/iroffer ${INSTALL_DATA} ${WRKSRC}/COPYING \ - ${PREFIX}/share/doc/iroffer/COPYING + ${DESTDIR}${PREFIX}/share/doc/iroffer/COPYING ${INSTALL_DATA} ${WRKSRC}/README \ - ${PREFIX}/share/doc/iroffer/README + ${DESTDIR}${PREFIX}/share/doc/iroffer/README ${INSTALL_DATA} ${WRKSRC}/WHATSNEW \ - ${PREFIX}/share/doc/iroffer/WHATSNEW - ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/iroffer + ${DESTDIR}${PREFIX}/share/doc/iroffer/WHATSNEW + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/iroffer ${INSTALL_DATA} ${WRKSRC}/sample.config \ - ${PREFIX}/share/examples/iroffer/sample.config + ${DESTDIR}${PREFIX}/share/examples/iroffer/sample.config ${INSTALL_DATA} ${WRKSRC}/iroffer.cron \ - ${PREFIX}/share/examples/iroffer/iroffer.cron + ${DESTDIR}${PREFIX}/share/examples/iroffer/iroffer.cron .include "../../mk/bsd.pkg.mk" |