summaryrefslogtreecommitdiffstats
path: root/www/visitors
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-05-31 14:17:55 +0000
committerpav <pav@FreeBSD.org>2004-05-31 14:17:55 +0000
commit57f3f94bb3fc14c5a27d03d606a2032bd99c8f64 (patch)
treee4ab06abf9c1a3e20489ee8583cb94c9f5dff021 /www/visitors
parentcb858d035166f369d8449eb4bd331befe4c37fff (diff)
downloadFreeBSD-ports-57f3f94bb3fc14c5a27d03d606a2032bd99c8f64.zip
FreeBSD-ports-57f3f94bb3fc14c5a27d03d606a2032bd99c8f64.tar.gz
- Update to 0.3a
PR: ports/67416 Submitted by: Florent Thoumie <flz@xbsd.org> (maintainer)
Diffstat (limited to 'www/visitors')
-rw-r--r--www/visitors/Makefile11
-rw-r--r--www/visitors/distinfo4
-rw-r--r--www/visitors/files/patch-Makefile18
3 files changed, 11 insertions, 22 deletions
diff --git a/www/visitors/Makefile b/www/visitors/Makefile
index 043a7c8..f1ded3a 100644
--- a/www/visitors/Makefile
+++ b/www/visitors/Makefile
@@ -6,18 +6,25 @@
#
PORTNAME= visitors
-PORTVERSION= 0.3
+PORTVERSION= 0.3.a
CATEGORIES= www
MASTER_SITES= http://www.hping.org/visitors/
+DISTNAME= ${PORTNAME}-${PORTVERSION:S/.a/a/}
MAINTAINER= flz@xbsd.org
COMMENT= Very fast and easy to use web log analyzer
-WRKSRC= ${WRKDIR}/${PORTNAME}_${PORTVERSION}
+WRKSRC= ${WRKDIR}/${PORTNAME}_${PORTVERSION:S/.a/a/}
+
+USE_REINPLACE= yes
PLIST_FILES= bin/visitors
PORTDOCS= doc.html
+post-patch:
+ @${REINPLACE_CMD} -e 's|^DEBUG=.*||' -e 's|^CC=.*||' \
+ -e 's|^\(CCOPT=\).*|\1 ${CFLAGS}|' ${WRKSRC}/Makefile
+
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/visitors ${PREFIX}/bin
.if !defined(NOPORTDOCS)
diff --git a/www/visitors/distinfo b/www/visitors/distinfo
index 7ad1e9f..5678a7c 100644
--- a/www/visitors/distinfo
+++ b/www/visitors/distinfo
@@ -1,2 +1,2 @@
-MD5 (visitors-0.3.tar.gz) = 0a76bb3024c56dda93398e2b6cd2c53c
-SIZE (visitors-0.3.tar.gz) = 49063
+MD5 (visitors-0.3a.tar.gz) = 84d2ad07ca531ba04b1cf3af8a74ee54
+SIZE (visitors-0.3a.tar.gz) = 49128
diff --git a/www/visitors/files/patch-Makefile b/www/visitors/files/patch-Makefile
deleted file mode 100644
index 361cbc3..0000000
--- a/www/visitors/files/patch-Makefile
+++ /dev/null
@@ -1,18 +0,0 @@
---- Makefile.orig Mon May 24 16:51:51 2004
-+++ Makefile Mon May 24 18:01:13 2004
-@@ -3,11 +3,12 @@
- # All Rights Reserved
- # Under the GPL license version 2
-
--CC= gcc
-+#CC= gcc
- AR= /usr/bin/ar
- RANLIB= /usr/bin/ranlib
--CCOPT= -O2 -Wall -W
--DEBUG= -g
-+#CCOPT= -O2 -Wall -W
-+#DEBUG= -g
-+CCOPT= $(CFLAGS)
-
- OBJ = visitors.o aht.o antigetopt.o tail.o
- PRGNAME = visitors
OpenPOWER on IntegriCloud