From aa67788304df34bf2a884a21a3923df83de99495 Mon Sep 17 00:00:00 2001 From: dinoex Date: Sun, 25 Jan 2009 10:13:56 +0000 Subject: - support all options in Makefile.local --- www/webalizer/Makefile | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/www/webalizer/Makefile b/www/webalizer/Makefile index 397a001dac34..ef8f93bd358c 100644 --- a/www/webalizer/Makefile +++ b/www/webalizer/Makefile @@ -16,23 +16,10 @@ MASTER_SITES= ftp://ftp.mrunix.net/pub/webalizer/geodb/:geodb \ PKGNAMESUFFIX?= ${WEBALIZER_SUFFIX}${PKGNAMESUFFIX2} DISTNAME= ${PORTNAME}-2.21-02-src DISTFILES= ${DISTNAME}.tgz:main -.if defined(WITH_GEODB) || defined(WITH_GEOIP)|| make(makesum) || defined(FETCH_ALL) -DISTFILES+= webalizer-flags.tgz:main -.endif -.if defined(WITH_GEODB) || make(makesum) || defined(FETCH_ALL) -DISTFILES+= webalizer-geodb-20090101.tgz:geodb -.endif MAINTAINER?= dinoex@FreeBSD.org COMMENT= A web server log file analysis program -.if !defined(LIB_DEPENDS) -LIB_DEPENDS= gd.4:${PORTSDIR}/${GD_PORT} -.endif -.if defined(WITH_GEOIP) -LIB_DEPENDS+= GeoIP.5:${PORTSDIR}/net/GeoIP -.endif - GNU_CONFIGURE= yes DOCSDIR?= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME} EXAMPLESDIR?= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME} @@ -47,6 +34,20 @@ WEBALIZER_LANG?=english .include +.if defined(WITH_GEODB) || defined(WITH_GEOIP)|| make(makesum) || defined(FETCH_ALL) +DISTFILES+= webalizer-flags.tgz:main +.endif +.if defined(WITH_GEODB) || make(makesum) || defined(FETCH_ALL) +DISTFILES+= webalizer-geodb-20090101.tgz:geodb +.endif + +.if !defined(LIB_DEPENDS) +LIB_DEPENDS= gd.4:${PORTSDIR}/${GD_PORT} +.endif +.if defined(WITH_GEOIP) +LIB_DEPENDS+= GeoIP.5:${PORTSDIR}/net/GeoIP +.endif + .if defined(WITH_GEODB) PLIST_SUB+= WITH_GEODB="" .else -- cgit