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/icbirc | |
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/icbirc')
-rw-r--r-- | chat/icbirc/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/chat/icbirc/Makefile b/chat/icbirc/Makefile index 740a706fe5e..66ae135498b 100644 --- a/chat/icbirc/Makefile +++ b/chat/icbirc/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 2007/11/29 13:04:04 sketch Exp $ +# $NetBSD: Makefile,v 1.15 2008/03/03 02:19:51 jlam Exp $ DISTNAME= icbirc-1.8 CATEGORIES= chat @@ -11,6 +11,8 @@ COMMENT= Proxy IRC client and ICB server # uses strlcpy NOT_FOR_PLATFORM= Linux-*-* +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/${PKGBASE} MAKE_ENV+= BINDIR="${PREFIX}/bin" MANDIR="${PREFIX}/man" @@ -28,7 +30,7 @@ do-build: cd ${WRKSRC} && ${LINK.c} -o icbirc ${SRCS:.c=.o} do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/icbirc ${PREFIX}/bin/ - ${INSTALL_MAN} ${WRKSRC}/icbirc.8 ${PREFIX}/${PKGMANDIR}/man8/ + ${INSTALL_PROGRAM} ${WRKSRC}/icbirc ${DESTDIR}${PREFIX}/bin/ + ${INSTALL_MAN} ${WRKSRC}/icbirc.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8/ .include "../../mk/bsd.pkg.mk" |