diff options
author | dinoex <dinoex@FreeBSD.org> | 2009-01-25 18:13:56 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2009-01-25 18:13:56 +0800 |
commit | aa67788304df34bf2a884a21a3923df83de99495 (patch) | |
tree | b93de877dba38e19651b1d8c92dd258d550708bf /www/webalizer | |
parent | ab72aed6f0886a33e8e20972fbda2ea0d95cabeb (diff) | |
download | freebsd-ports-gnome-aa67788304df34bf2a884a21a3923df83de99495.tar.gz freebsd-ports-gnome-aa67788304df34bf2a884a21a3923df83de99495.tar.zst freebsd-ports-gnome-aa67788304df34bf2a884a21a3923df83de99495.zip |
- support all options in Makefile.local
Diffstat (limited to 'www/webalizer')
-rw-r--r-- | www/webalizer/Makefile | 27 |
1 files 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 <bsd.port.pre.mk> +.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 |