aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/httplog
diff options
context:
space:
mode:
authoranders <anders@FreeBSD.org>2002-01-28 08:47:32 +0800
committeranders <anders@FreeBSD.org>2002-01-28 08:47:32 +0800
commite6538a2143ab0e32a2a42e0e3a4f65a3960cbfb7 (patch)
tree60735aa604764fc1b674f53c77d0a8221e1afcda /sysutils/httplog
parenteb981e46b4048d7fd2659a42ec5ed0ec4cc6535d (diff)
downloadfreebsd-ports-graphics-e6538a2143ab0e32a2a42e0e3a4f65a3960cbfb7.tar.gz
freebsd-ports-graphics-e6538a2143ab0e32a2a42e0e3a4f65a3960cbfb7.tar.zst
freebsd-ports-graphics-e6538a2143ab0e32a2a42e0e3a4f65a3960cbfb7.zip
Update to version 2.1.
Diffstat (limited to 'sysutils/httplog')
-rw-r--r--sysutils/httplog/Makefile14
-rw-r--r--sysutils/httplog/distinfo2
-rw-r--r--sysutils/httplog/pkg-plist2
3 files changed, 10 insertions, 8 deletions
diff --git a/sysutils/httplog/Makefile b/sysutils/httplog/Makefile
index d1d67df4241..6b3fde25a32 100644
--- a/sysutils/httplog/Makefile
+++ b/sysutils/httplog/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= httplog
-PORTVERSION= 1.9
+PORTVERSION= 2.1
CATEGORIES= sysutils www
MASTER_SITES= http://nutbar.chemlab.org/downloads/programs/ \
ftp://ftp.nuug.no/pub/anders/distfiles/
@@ -17,19 +17,21 @@ MAN8= httplog.8
DOCS= ChangeLog README
+HAS_CONFIGURE= yes
+CONFIGURE_ARGS= --prefix=${PREFIX}
+
post-patch:
- (cd ${WRKSRC} && printf \
- "#define VERSION \"1.9\"\n#define USE_ZLIB\n#define USE_DEBUG\n" \
- >defines.h && \
+ (cd ${WRKSRC} && \
${PERL} -pi -e "s@<wait.h>@<sys/wait.h>@" httplog.c && \
- ${PERL} -pi -e "s@/var/lib/apache/bin/httplog@${PREFIX}/bin/httplog@" \
+ ${PERL} -pi -e \
+ "s@/var/lib/apache/bin/httplog@${PREFIX}/sbin/httplog@" \
httplog.8)
do-build:
(cd ${WRKSRC} && ${CC} ${CFLAGS} -o httplog httplog.c -lz)
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/httplog ${PREFIX}/bin/
+ ${INSTALL_PROGRAM} ${WRKSRC}/httplog ${PREFIX}/sbin/
${INSTALL_MAN} ${WRKSRC}/httplog.8 ${PREFIX}/man/man8/
.if !defined(NOPORTDOCS)
${INSTALL} -d -o root -g wheel -m 0755 ${DOCSDIR}
diff --git a/sysutils/httplog/distinfo b/sysutils/httplog/distinfo
index 623f054abfe..43334245215 100644
--- a/sysutils/httplog/distinfo
+++ b/sysutils/httplog/distinfo
@@ -1 +1 @@
-MD5 (httplog-1.9.tar.gz) = 504598edb31f02b0d91849a92247f7c0
+MD5 (httplog-2.1.tar.gz) = 5a674485178f135fc7b1a2f6393393e6
diff --git a/sysutils/httplog/pkg-plist b/sysutils/httplog/pkg-plist
index ac94d84087d..120d34ab1d8 100644
--- a/sysutils/httplog/pkg-plist
+++ b/sysutils/httplog/pkg-plist
@@ -1,4 +1,4 @@
-bin/httplog
+sbin/httplog
%%PORTDOCS%%share/doc/httplog/ChangeLog
%%PORTDOCS%%share/doc/httplog/README
%%PORTDOCS%%@dirrm share/doc/httplog