diff options
author | abs <abs@pkgsrc.org> | 2009-12-17 22:14:27 +0000 |
---|---|---|
committer | abs <abs@pkgsrc.org> | 2009-12-17 22:14:27 +0000 |
commit | cda5cd9840db40464ba626525930f67246e209ba (patch) | |
tree | 3b1ae0f623efaaa021ac8ee09b856539dabb1087 /net/flodo | |
parent | 6dc71a8b48b8ab367f818277b7de1db51befec05 (diff) | |
download | pkgsrc-cda5cd9840db40464ba626525930f67246e209ba.tar.gz |
PKG_DESTDIR_SUPPORT
Diffstat (limited to 'net/flodo')
-rw-r--r-- | net/flodo/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/net/flodo/Makefile b/net/flodo/Makefile index 6b9d7bad603..567b9d62de9 100644 --- a/net/flodo/Makefile +++ b/net/flodo/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2008/03/10 10:33:38 wiz Exp $ +# $NetBSD: Makefile,v 1.13 2009/12/17 22:14:27 abs Exp $ # DISTNAME= flodo-v4 @@ -16,6 +16,7 @@ BUILDLINK_API_DEPENDS.libpcap+= libpcap>=0.8 CPPFLAGS+= -I${BUILDLINK_PREFIX.libpcap}/include LDFLAGS+= -L${BUILDLINK_PREFIX.libpcap}/lib +PKG_DESTDIR_SUPPORT= user-destdir INSTALLATION_DIRS= ${PKGMANDIR}/man8 sbin CONFLICTS+= flodo-4-[0-9]* @@ -24,8 +25,8 @@ do-build: cd ${WRKSRC} && ${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} -o flodo flodo.c hash.c local_mac.c -lpcap do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/flodo ${PREFIX}/sbin - ${INSTALL_MAN} ${WRKSRC}/flodo.8 ${PREFIX}/${PKGMANDIR}/man8 + ${INSTALL_PROGRAM} ${WRKSRC}/flodo ${DESTDIR}${PREFIX}/sbin + ${INSTALL_MAN} ${WRKSRC}/flodo.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8 .include "../../net/libpcap/buildlink3.mk" .include "../../mk/bsd.pkg.mk" |