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/bnc | |
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/bnc')
-rw-r--r-- | chat/bnc/Makefile | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/chat/bnc/Makefile b/chat/bnc/Makefile index a790c808ad5..26db6d38ab1 100644 --- a/chat/bnc/Makefile +++ b/chat/bnc/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2008/01/18 05:06:22 tnn Exp $ +# $NetBSD: Makefile,v 1.16 2008/03/03 02:19:51 jlam Exp $ DISTNAME= bnc2.9.4 PKGNAME= ${DISTNAME:S/bnc/&-/} @@ -13,6 +13,8 @@ COMMENT= Simple IRC relay proxy with support for virtual hosting DEPENDS+= dialog-[0-9]*:../../misc/dialog +PKG_DESTDIR_SUPPORT= user-destdir + GNU_CONFIGURE= yes CONFIGURE_ARGS+= --with-ssl @@ -25,15 +27,15 @@ post-patch: ${WRKSRC}/bncsetup.orig > ${WRKSRC}/bncsetup do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/bnc ${PREFIX}/bin - ${INSTALL_PROGRAM} ${WRKSRC}/mkpasswd ${PREFIX}/bin/bncmkpasswd - ${INSTALL_SCRIPT} ${WRKSRC}/bncchk ${PREFIX}/bin - ${INSTALL_SCRIPT} ${WRKSRC}/bncsetup ${PREFIX}/bin - ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/bnc - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/bnc - ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/bnc + ${INSTALL_PROGRAM} ${WRKSRC}/bnc ${DESTDIR}${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/mkpasswd ${DESTDIR}${PREFIX}/bin/bncmkpasswd + ${INSTALL_SCRIPT} ${WRKSRC}/bncchk ${DESTDIR}${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/bncsetup ${DESTDIR}${PREFIX}/bin + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/bnc + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/bnc + ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/bnc ${INSTALL_DATA} ${WRKSRC}/example.conf \ - ${PREFIX}/share/examples/bnc/bnc.conf + ${DESTDIR}${PREFIX}/share/examples/bnc/bnc.conf .include "../../security/openssl/buildlink3.mk" .include "../../mk/bsd.pkg.mk" |