Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Jan 1999 22:09:22 +0100 (CET)
From:      dirk.meyer@dinoex.sub.org
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/9621: port www/webalizer update
Message-ID:  <199901222109.WAA15074@net2.dinoex.sub.org>

next in thread | raw e-mail | index | archive | help

>Number:         9621
>Category:       ports
>Synopsis:       port www/webalizer update
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan 22 17:20:01 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     Dirk Meyer
>Release:        FreeBSD 2.2.5-RELEASE i386
>Organization:
privat
>Environment:

	gd-lib, apache

>Description:

	generates statistics in HTML output,
	for Apache web server.

>How-To-Repeat:

	old Release is out of date

>Fix:

	manpage is now installed
	more languages are supported
	apply the patches to use the new version

diff current-cvs/webalizer/Makefile webalizer-1.20.7/Makefile
--- current-cvs/webalizer/Makefile	Mon Aug 17 02:34:42 1998
+++ webalizer-1.20.7/Makefile	Fri Jan 22 22:04:51 1999
@@ -17,6 +17,10 @@
 BUILD_DEPENDS=	${PREFIX}/lib/libgd.a:${PORTSDIR}/graphics/gd
 
 BIN1=		webalizer
+MAN1=		webalizer.1
+DOC1=		CHANGES COPYING Copyright INSTALL \
+		README country-codes.txt webalizer.LSM
+SUPP_LANG=	english german french spanish dutch italian polish
 WRKSRC=		${WRKDIR}
 
 .if defined(BATCH)
@@ -26,40 +30,32 @@
 pre-fetch:
 .if !defined(WEBALIZER_LANG)
 	@${ECHO_MSG} "You can customize the language by typing"
-	@${ECHO_MSG} "make WEBALIZER_LANG=english"
-	@${ECHO_MSG} "make WEBALIZER_LANG=german"
-	@${ECHO_MSG} "make WEBALIZER_LANG=french"
-	@${ECHO_MSG} "make WEBALIZER_LANG=spanish"
-	@${ECHO_MSG} "make WEBALIZER_LANG=dutch"
+.for i in ${SUPP_LANG}
+		@${ECHO_MSG} "make WEBALIZER_LANG=${i}"
+.endfor
 .endif
 
 post-configure:
-.if defined(WEBALIZER_LANG) && ${WEBALIZER_LANG} == english
-	@${ECHO_MSG} "===> customizing for english"
-	${LN} -sf ${WRKSRC}/webalizer_lang.english ${WRKSRC}/webalizer_lang.h
-.elif defined(WEBALIZER_LANG) && ${WEBALIZER_LANG} == german
-	@${ECHO_MSG} "===> customizing for german"
-	${LN} -sf ${WRKSRC}/webalizer_lang.german ${WRKSRC}/webalizer_lang.h
-.elif defined(WEBALIZER_LANG) && ${WEBALIZER_LANG} == french
-	@${ECHO_MSG} "===> customizing for french"
-	${LN} -sf ${WRKSRC}/webalizer_lang.french ${WRKSRC}/webalizer_lang.h
-.elif defined(WEBALIZER_LANG) && ${WEBALIZER_LANG} == spanish
-	@${ECHO_MSG} "===> customizing for spanish"
-	${LN} -sf ${WRKSRC}/webalizer_lang.spanish ${WRKSRC}/webalizer_lang.h
-.elif defined(WEBALIZER_LANG) && ${WEBALIZER_LANG} == dutch
-	@${ECHO_MSG} "===> customizing for dutch"
-	${LN} -sf ${WRKSRC}/webalizer_lang.dutch ${WRKSRC}/webalizer_lang.h
+.for i in ${SUPP_LANG}
+.if defined(WEBALIZER_LANG) && ${WEBALIZER_LANG} == ${i}
+		@${ECHO_MSG} "===> customizing for ${i}"
+		${LN} -sf ${WRKSRC}/webalizer_lang.${i} \
+			  ${WRKSRC}/webalizer_lang.h
 .endif
+.endfor
 
 do-install:
 .for i in ${BIN1}
-	@${INSTALL_SCRIPT} ${WRKSRC}/${i} ${PREFIX}/bin
+	@${INSTALL_SCRIPT} ${WRKSRC}/${i} ${PREFIX}/bin/${i}
 .endfor
 
 post-install:
+.for i in ${MAN1}
+	${INSTALL_MAN} ${WRKSRC}/${i} ${PREFIX}/man/man1
+.endfor
 .if !defined(NOPORTDOCS)
 	${MKDIR} ${PREFIX}/share/doc/webalizer
-.for i in CHANGES COPYING Copyright README webalizer.LSM
+.for i in ${DOC1}
 	@${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/share/doc/webalizer/${i}
 .endfor
 .endif
diff current-cvs/webalizer/pkg/COMMENT webalizer-1.20.7/pkg/COMMENT
--- current-cvs/webalizer/pkg/COMMENT	Fri Jul  3 09:52:17 1998
+++ webalizer-1.20.7/pkg/COMMENT	Thu Aug  6 08:15:34 1998
@@ -1 +1 @@
-A web server log file analysis thingie
+A web server log file analysis program.
diff current-cvs/webalizer/pkg/PLIST webalizer-1.20.7/pkg/PLIST
--- current-cvs/webalizer/pkg/PLIST	Mon Aug 17 02:34:45 1998
+++ webalizer-1.20.7/pkg/PLIST	Mon Nov 30 20:18:50 1998
@@ -3,9 +3,11 @@
 share/doc/webalizer/CHANGES
 share/doc/webalizer/COPYING
 share/doc/webalizer/Copyright
+share/doc/webalizer/INSTALL
 share/doc/webalizer/README
+share/doc/webalizer/country-codes.txt
 share/doc/webalizer/webalizer.LSM
+@dirrm share/doc/webalizer
 share/examples/webalizer/msfree.gif
 share/examples/webalizer/sample.conf
-@dirrm share/doc/webalizer
 @dirrm share/examples/webalizer

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901222109.WAA15074>