diff options
author | obache <obache@pkgsrc.org> | 2009-12-09 09:02:08 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2009-12-09 09:02:08 +0000 |
commit | ab8d1055c58cb7f4f545617a311bf6607960fcc2 (patch) | |
tree | 34ef59f022edc5c8fe80918b5afc08740c6c6660 /net/firewalk | |
parent | 45f0953fb68d0a12d81acdfdd21e1c4f47debab5 (diff) | |
download | pkgsrc-ab8d1055c58cb7f4f545617a311bf6607960fcc2.tar.gz |
* set LICENSE=2-clause-bsd
* remove addition CFLAGS=-I${LOCALBASE}/include to CONFIGURE_ENV.
${LOCALBASE} should not used in package's Makefile,
and should not reset CFLAGS here, moreover, default CFLAGS is sufficient.
* add user-destdir support.
Diffstat (limited to 'net/firewalk')
-rw-r--r-- | net/firewalk/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/net/firewalk/Makefile b/net/firewalk/Makefile index 6649b150e94..a59b8672d0b 100644 --- a/net/firewalk/Makefile +++ b/net/firewalk/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.19 2007/02/22 19:26:52 wiz Exp $ +# $NetBSD: Makefile,v 1.20 2009/12/09 09:02:08 obache Exp $ DISTNAME= firewalk-5.0 PKGREVISION= 2 @@ -9,18 +9,20 @@ EXTRACT_SUFX= .tgz MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.packetfactory.net/Projects/firewalk/ COMMENT= Determines the filter rules on a packet forwarding device +LICENSE= 2-clause-bsd + +PKG_DESTDIR_SUPPORT= user-destdir WRKSRC= ${WRKDIR}/Firewalk GNU_CONFIGURE= yes -CONFIGURE_ENV+= CFLAGS=-I${LOCALBASE}/include -MAKE_ENV+= FIREWALK_LOC=${PREFIX:Q} +INSTALLATION_DIRS+= ${PKGMANDIR}/man8 .include "../../devel/libnet11/buildlink3.mk" .include "../../net/libdnet/buildlink3.mk" .include "../../net/libpcap/buildlink3.mk" post-install: - ${INSTALL_MAN} ${WRKSRC}/man/firewalk.8 ${PREFIX}/${PKGMANDIR}/man8 + ${INSTALL_MAN} ${WRKSRC}/man/firewalk.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8 .include "../../mk/bsd.pkg.mk" |