summaryrefslogtreecommitdiff
path: root/www/webalizer/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/webalizer/Makefile')
-rw-r--r--www/webalizer/Makefile20
1 files changed, 7 insertions, 13 deletions
diff --git a/www/webalizer/Makefile b/www/webalizer/Makefile
index c47345721bb..ce308bb271f 100644
--- a/www/webalizer/Makefile
+++ b/www/webalizer/Makefile
@@ -1,11 +1,10 @@
-# $NetBSD: Makefile,v 1.1.1.1 1998/11/07 13:22:53 frueauf Exp $
+# $NetBSD: Makefile,v 1.2 1999/03/23 21:16:06 mjl Exp $
#
-DISTNAME= webalizer-1.20-07-src
-PKGNAME= webalizer-1.20-07
+DISTNAME= webalizer-1.22-01-src
+PKGNAME= webalizer-1.22-01
CATEGORIES= www
-MASTER_SITES= ftp://ftp.mrunix.net/pub/webalizer/ \
- ftp://samhain.unix.cslab.tuwien.ac.at/pub/webalizer/
+MASTER_SITES= ftp://ftp.mrunix.net/pub/webalizer/
EXTRACT_SUFX= .tgz
MAINTAINER= mjl@emsi.priv.at
@@ -13,17 +12,12 @@ HOMEPAGE= http://www.mrunix.net/webalizer/
DEPENDS= gd-1.3:../../graphics/gd
-NO_WRKSUBDIR= yes
+WRKSRC = ${WRKDIR}/${PKGNAME}
post-patch:
@for f in webalizer.c webalizer.1; do \
- ${SED} 's:@@prefix@@:'${PREFIX}':g' ${WRKDIR}/$$f >${WRKDIR}/$$f.new && \
- ${MV} ${WRKDIR}/$$f.new ${WRKDIR}/$$f; \
+ ${SED} 's:@@prefix@@:'${PREFIX}':g' ${WRKSRC}/$$f >${WRKSRC}/$$f.new && \
+ ${MV} ${WRKSRC}/$$f.new ${WRKSRC}/$$f; \
done
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/webalizer ${PREFIX}/bin/
- ${INSTALL_MAN} ${WRKSRC}/webalizer.1 ${PREFIX}/man/man1
- ${INSTALL_DATA} ${WRKSRC}/sample.conf ${PREFIX}/etc/webalizer.conf-sample
-
.include "../../mk/bsd.pkg.mk"