From cda5cd9840db40464ba626525930f67246e209ba Mon Sep 17 00:00:00 2001 From: abs Date: Thu, 17 Dec 2009 22:14:27 +0000 Subject: PKG_DESTDIR_SUPPORT --- net/flodo/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'net/flodo') 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" -- cgit v1.2.3