From 2711247858f23ad32908246ee1eaef4848b36f5b Mon Sep 17 00:00:00 2001 From: Anders Nordby Date: Mon, 28 Jan 2002 00:47:32 +0000 Subject: Update to version 2.1. --- sysutils/httplog/Makefile | 14 ++++++++------ sysutils/httplog/distinfo | 2 +- sysutils/httplog/pkg-plist | 2 +- 3 files changed, 10 insertions(+), 8 deletions(-) (limited to 'sysutils/httplog') diff --git a/sysutils/httplog/Makefile b/sysutils/httplog/Makefile index d1d67df4241a..6b3fde25a324 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@@@" 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 623f054abfef..433342452150 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 ac94d84087db..120d34ab1d8b 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 -- cgit v1.2.3