pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/firewalk * set LICENSE=2-clause-bsd
details: https://anonhg.NetBSD.org/pkgsrc/rev/633b08b18df2
branches: trunk
changeset: 568256:633b08b18df2
user: obache <obache%pkgsrc.org@localhost>
date: Wed Dec 09 09:02:08 2009 +0000
description:
* 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:
net/firewalk/Makefile | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
diffs (33 lines):
diff -r 5d7fdebc8b53 -r 633b08b18df2 net/firewalk/Makefile
--- a/net/firewalk/Makefile Wed Dec 09 08:55:29 2009 +0000
+++ b/net/firewalk/Makefile Wed Dec 09 09:02:08 2009 +0000
@@ -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 @@
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
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"
Home |
Main Index |
Thread Index |
Old Index