aboutsummaryrefslogtreecommitdiffstats
path: root/net/aslookup/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/aslookup/Makefile')
-rw-r--r--net/aslookup/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/net/aslookup/Makefile b/net/aslookup/Makefile
index 8dcb4ee8dcd2..14a38c08ff25 100644
--- a/net/aslookup/Makefile
+++ b/net/aslookup/Makefile
@@ -7,13 +7,20 @@
PORTNAME= aslookup
PORTVERSION= 0.12
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= http://www.bugest.net/software/aslookup/
-DISTNAME= aslookup-alpha${PORTVERSION}
+DISTNAME= ${PORTNAME}-alpha${PORTVERSION}
MAINTAINER= janos.mohacsi@bsd.hu
COMMENT= Tool that searches the sequence of AS numbers
+USE_REINPLACE= yes
+
+post-patch:
+ @${REINPLACE_CMD} -E -e "s|CFLAGS.*=|CFLAGS +=|" \
+ -e "s|CC.*=|CC ?=|" ${WRKSRC}/Makefile
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/aslookup ${PREFIX}/bin
.if !defined(NOPORTDOCS)