aboutsummaryrefslogtreecommitdiff
path: root/www/webalizer/Makefile
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2004-10-17 06:11:36 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2004-10-17 06:11:36 +0000
commit065f35dccea21a8d983a426f5027f6fbb6f6b232 (patch)
tree1cc65b6f7fe98275a8bbddb5ba4254822febcf55 /www/webalizer/Makefile
parentec604e34c903da330f6816328b3ed20098caea45 (diff)
downloadports-065f35dccea21a8d983a426f5027f6fbb6f6b232.tar.gz
ports-065f35dccea21a8d983a426f5027f6fbb6f6b232.zip
Notes
Diffstat (limited to 'www/webalizer/Makefile')
-rw-r--r--www/webalizer/Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/www/webalizer/Makefile b/www/webalizer/Makefile
index c57036b902df..c95c307cfbe8 100644
--- a/www/webalizer/Makefile
+++ b/www/webalizer/Makefile
@@ -57,6 +57,21 @@ SUPP_LANG= catalan chinese croatian czech danish dutch english \
.if defined(WEBALIZER_LANG)
CONFIGURE_ARGS+= --with-language=${WEBALIZER_LANG}
+# The patch file is written by URASHIMA Akira
+# see http://tyche.pu-toyama.ac.jp/~a-urasim/webalizer/
+.if ${WEBALIZER_LANG} == japanese
+EXTRA_PATCHES+= ${FILESDIR}/ja-webalizer.conf-dist.patch
+.endif
+.endif
+
+.if defined(WITH_WEBALIZER_CONV)
+USE_ICONV=yes
+# The patch file is written by URASHIMA Akira
+# see http://tyche.pu-toyama.ac.jp/~a-urasim/webalizer/
+EXTRA_PATCHES+= ${FILESDIR}/webalizer-a-urasim_2.patch
+CONFIGURE_ARGS+= --enable-mininls
+CONFIGURE_ENV+= LIBS="-L${LOCALBASE}/lib -liconv"
+CFLAGS+= -I${PREFIX}/include
.endif
pre-configure: