diff options
author | Steve Price <steve@FreeBSD.org> | 1999-01-26 02:18:17 +0000 |
---|---|---|
committer | Steve Price <steve@FreeBSD.org> | 1999-01-26 02:18:17 +0000 |
commit | b8891a30afd4be0af71a93172ed2198f2f36d2ef (patch) | |
tree | 7c34c09d1f5659f6946f97119539a55dd731e5e6 | |
parent | Update to version 3.2. (diff) |
Install the manpage and support more languages.
PR: 9621
Submitted by: maintainer
Notes
Notes:
svn path=/head/; revision=16315
-rw-r--r-- | www/webalizer-2/Makefile | 42 | ||||
-rw-r--r-- | www/webalizer-2/pkg-comment | 2 | ||||
-rw-r--r-- | www/webalizer-2/pkg-plist | 4 | ||||
-rw-r--r-- | www/webalizer/Makefile | 42 | ||||
-rw-r--r-- | www/webalizer/pkg-comment | 2 | ||||
-rw-r--r-- | www/webalizer/pkg-plist | 4 |
6 files changed, 46 insertions, 50 deletions
diff --git a/www/webalizer-2/Makefile b/www/webalizer-2/Makefile index cbf65d6aee37..1d723182bca4 100644 --- a/www/webalizer-2/Makefile +++ b/www/webalizer-2/Makefile @@ -3,7 +3,7 @@ # Date created: 02.Jun 1998 # Whom: dirk.meyer@dinoex.sub.org # -# $Id: Makefile,v 1.3 1998/07/31 08:48:02 andreas Exp $ +# $Id: Makefile,v 1.4 1998/08/17 00:34:42 steve Exp $ DISTNAME= webalizer-1.20-07-src PKGNAME= webalizer-1.20 @@ -17,6 +17,10 @@ MAINTAINER= dirk.meyer@dinoex.sub.org 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 @@ WEBALIZER_LANG=english 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 --git a/www/webalizer-2/pkg-comment b/www/webalizer-2/pkg-comment index f64f9e133835..5cec2a0afb24 100644 --- a/www/webalizer-2/pkg-comment +++ b/www/webalizer-2/pkg-comment @@ -1 +1 @@ -A web server log file analysis thingie +A web server log file analysis program. diff --git a/www/webalizer-2/pkg-plist b/www/webalizer-2/pkg-plist index 83ff36a324f2..74e25865cec9 100644 --- a/www/webalizer-2/pkg-plist +++ b/www/webalizer-2/pkg-plist @@ -3,9 +3,11 @@ etc/webalizer.conf-dist 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 diff --git a/www/webalizer/Makefile b/www/webalizer/Makefile index cbf65d6aee37..1d723182bca4 100644 --- a/www/webalizer/Makefile +++ b/www/webalizer/Makefile @@ -3,7 +3,7 @@ # Date created: 02.Jun 1998 # Whom: dirk.meyer@dinoex.sub.org # -# $Id: Makefile,v 1.3 1998/07/31 08:48:02 andreas Exp $ +# $Id: Makefile,v 1.4 1998/08/17 00:34:42 steve Exp $ DISTNAME= webalizer-1.20-07-src PKGNAME= webalizer-1.20 @@ -17,6 +17,10 @@ MAINTAINER= dirk.meyer@dinoex.sub.org 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 @@ WEBALIZER_LANG=english 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 --git a/www/webalizer/pkg-comment b/www/webalizer/pkg-comment index f64f9e133835..5cec2a0afb24 100644 --- a/www/webalizer/pkg-comment +++ b/www/webalizer/pkg-comment @@ -1 +1 @@ -A web server log file analysis thingie +A web server log file analysis program. diff --git a/www/webalizer/pkg-plist b/www/webalizer/pkg-plist index 83ff36a324f2..74e25865cec9 100644 --- a/www/webalizer/pkg-plist +++ b/www/webalizer/pkg-plist @@ -3,9 +3,11 @@ etc/webalizer.conf-dist 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 |