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/iip | |
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/iip')
-rw-r--r-- | chat/iip/Makefile | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/chat/iip/Makefile b/chat/iip/Makefile index ed89eca9f62..3501fa4c6a1 100644 --- a/chat/iip/Makefile +++ b/chat/iip/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2007/03/19 16:40:26 tv Exp $ +# $NetBSD: Makefile,v 1.7 2008/03/03 02:19:51 jlam Exp $ # DISTNAME= iip-1.1.0 @@ -10,16 +10,22 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.invisiblenet.net/iip/ COMMENT= The Invisible IRC Project +PKG_DESTDIR_SUPPORT= user-destdir + BUILD_DIRS= src MAKE_FLAGS+= CC=${CC:Q} MAKE_FLAGS+= LD=${CC:Q} MAKE_FLAGS+= LDFLAGS=${LDFLAGS:M*:Q} MAKE_FLAGS+= CFLAGS=${CFLAGS:M*:Q}\ ${CPPFLAGS:M*:Q}\ -I. +INSTALLATION_DIRS= bin + do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/src/isproxy ${PREFIX}/bin/ - ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/iip - ${INSTALL_DATA} ${WRKSRC}/src/node.ref ${PREFIX}/share/examples/iip/ - ${INSTALL_DATA} ${WRKSRC}/doc/isproxy.1 ${PREFIX}/${PKGMANDIR}/man1/ + ${INSTALL_PROGRAM} ${WRKSRC}/src/isproxy ${DESTDIR}${PREFIX}/bin/ + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/iip + ${INSTALL_DATA} ${WRKSRC}/src/node.ref \ + ${DESTDIR}${PREFIX}/share/examples/iip/ + ${INSTALL_DATA} ${WRKSRC}/doc/isproxy.1 \ + ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/ .include "../../mk/bsd.pkg.mk" |