summaryrefslogtreecommitdiff
path: root/net/isic/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/isic/Makefile')
-rw-r--r--net/isic/Makefile25
1 files changed, 13 insertions, 12 deletions
diff --git a/net/isic/Makefile b/net/isic/Makefile
index d60fc31bbb4..d0d9c5caf0f 100644
--- a/net/isic/Makefile
+++ b/net/isic/Makefile
@@ -1,20 +1,24 @@
-# $NetBSD: Makefile,v 1.17 2009/07/17 18:00:20 adrianp Exp $
+# $NetBSD: Makefile,v 1.18 2009/12/09 12:32:22 obache Exp $
#
-DISTNAME= isic-0.06
-PKGREVISION= 1
+DISTNAME= isic-0.07
CATEGORIES= net
-MASTER_SITES= http://www.packetfactory.net/Projects/ISIC/
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=isic/}
EXTRACT_SUFX= .tgz
MAINTAINER= pkgsrc-users@NetBSD.org
-HOMEPAGE= http://www.packetfactory.net/Projects/ISIC/
+HOMEPAGE= http://isic.sourceforge.net/
COMMENT= Ip Stack Integrity Checker (IP, TCP, UDP, ICMP et. al.)
+LICENSE= 2-clause-bsd
+
+PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= YES
+INSTALLATION_DIRS+= share/doc
+
post-install:
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/isic.README
+ ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/isic.README
.include "../../devel/libnet11/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
@@ -26,10 +30,7 @@ post-install:
# XXX has an optimization bug when compiling with -O2
#
.if ${OPSYS} == "NetBSD"
-. if (${MACHINE_ARCH} == "alpha")
-CPPFLAGS:= ${CPPFLAGS:C/-O[0-9]*//g}
-CFLAGS:= ${CFLAGS:C/-O[0-9]*//g}
-CONFIGURE_ENV+= CPPFLAGS=${CPPFLAGS:M*:Q}
-CONFIGURE_ENV+= CFLAGS=${CFLAGS:M*:Q}
-. endif
+#. if (${MACHINE_ARCH} == "alpha")
+BUILDLINK_TRANSFORM+= rm:-O[0-9]*
+#. endif
.endif