aboutsummaryrefslogtreecommitdiff
path: root/www/visitors
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-05-31 14:17:55 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-05-31 14:17:55 +0000
commit9e1f39cf3f99da2032e84c82750f225e23c661f1 (patch)
tree77d8cfb3844c2f116cbeb758ac837f9201583308 /www/visitors
parent479b327f4955490692a8d291ff4c3ed7d97c791f (diff)
downloadports-9e1f39cf3f99da2032e84c82750f225e23c661f1.tar.gz
ports-9e1f39cf3f99da2032e84c82750f225e23c661f1.zip
- Update to 0.3a
PR: ports/67416 Submitted by: Florent Thoumie <flz@xbsd.org> (maintainer)
Notes
Notes: svn path=/head/; revision=110534
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 043a7c83fdd5..f1ded3a02923 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 7ad1e9f88ae2..5678a7cf3840 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 361cbc3b953b..000000000000
--- 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