From 9e1f39cf3f99da2032e84c82750f225e23c661f1 Mon Sep 17 00:00:00 2001 From: Pav Lucistnik Date: Mon, 31 May 2004 14:17:55 +0000 Subject: [PATCH] - Update to 0.3a PR: ports/67416 Submitted by: Florent Thoumie (maintainer) --- www/visitors/Makefile | 11 +++++++++-- www/visitors/distinfo | 4 ++-- www/visitors/files/patch-Makefile | 18 ------------------ 3 files changed, 11 insertions(+), 22 deletions(-) delete mode 100644 www/visitors/files/patch-Makefile 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