diff options
Diffstat (limited to 'chat/iip/Makefile')
-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" |