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