aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
Diffstat (limited to 'www')
-rw-r--r--www/webresolve/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/www/webresolve/Makefile b/www/webresolve/Makefile
index e591f5a893d3..29e6b1dcc1d4 100644
--- a/www/webresolve/Makefile
+++ b/www/webresolve/Makefile
@@ -7,6 +7,7 @@
PORTNAME= webresolve
PORTVERSION= 0.2.0
+PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= http://siag.nu/pub/webresolve/ \
ftp://siag.nu/pub/webresolve/
@@ -14,9 +15,15 @@ MASTER_SITES= http://siag.nu/pub/webresolve/ \
MAINTAINER= joseph@randomnetworks.com
COMMENT= Webresolve resolves IP addresses to host names in web log files
-HAS_CONFIGURE=yes
+HAS_CONFIGURE= yes
+USE_REINPLACE= yes
+
ALL_TARGET= webresolve
-MAN1= webresolve.1 splitwr.1
+MAN1= webresolve.1 splitwr.1
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|; s|\-g||' \
+ ${WRKSRC}/configure
.include <bsd.port.mk>