2013-03-07 16:53:45 +00:00
|
|
|
# Created by: Chadwick Sorrell chad@wickdev.com
|
2008-02-08 13:09:43 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= awffull
|
2008-12-30 17:43:11 +00:00
|
|
|
PORTVERSION= 3.10.2
|
2012-12-10 19:11:11 +00:00
|
|
|
PORTREVISION= 8
|
2008-12-31 08:02:38 +00:00
|
|
|
CATEGORIES?= www
|
2008-02-08 13:09:43 +00:00
|
|
|
MASTER_SITES= http://www.stedee.id.au/files/
|
|
|
|
|
2008-12-31 08:02:38 +00:00
|
|
|
MAINTAINER?= chad@wickdev.com
|
2008-02-08 13:09:43 +00:00
|
|
|
COMMENT= AWFFull is a webserver log analysis tool forked from Webalizer
|
|
|
|
|
2010-01-08 21:30:31 +00:00
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/lib/X11/fonts/bitstream-vera/Vera.ttf:${PORTSDIR}/x11-fonts/bitstream-vera
|
2008-02-08 13:09:43 +00:00
|
|
|
LIB_DEPENDS= gd.4:${PORTSDIR}/graphics/gd \
|
2012-06-01 05:26:28 +00:00
|
|
|
png15:${PORTSDIR}/graphics/png \
|
2012-12-10 19:11:11 +00:00
|
|
|
pcre.3:${PORTSDIR}/devel/pcre
|
2012-01-21 17:40:15 +00:00
|
|
|
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
2008-12-30 17:43:11 +00:00
|
|
|
|
2008-12-31 08:17:47 +00:00
|
|
|
CONFLICTS?= ja-awffull-[0-9]*
|
|
|
|
|
2008-12-30 17:43:11 +00:00
|
|
|
FONTDEFAULT?= ${LOCALBASE}/lib/X11/fonts/bitstream-vera/VeraBd.ttf
|
|
|
|
FONTLABEL?= ${LOCALBASE}/lib/X11/fonts/bitstream-vera/Vera.ttf
|
|
|
|
|
2013-03-07 16:53:45 +00:00
|
|
|
OPTIONS_DEFINE= GEOIP
|
2008-02-08 13:09:43 +00:00
|
|
|
|
2008-12-30 17:43:11 +00:00
|
|
|
USE_ICONV= yes
|
2008-02-08 13:09:43 +00:00
|
|
|
USE_GETTEXT= yes
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
2008-12-30 17:43:11 +00:00
|
|
|
CONFIGURE_ARGS+=--with-font-default=${FONTDEFAULT} \
|
2010-01-08 21:30:31 +00:00
|
|
|
--with-font-label=${FONTLABEL} \
|
|
|
|
--with-etcdir=${PREFIX}/etc
|
2008-12-30 17:43:11 +00:00
|
|
|
|
2011-09-23 22:26:39 +00:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
2008-02-08 13:09:43 +00:00
|
|
|
|
|
|
|
MAN1= awffull.1
|
2008-12-30 17:43:11 +00:00
|
|
|
MAN5= awffull.conf.5
|
2008-02-08 13:09:43 +00:00
|
|
|
|
2013-03-07 16:53:45 +00:00
|
|
|
.include <bsd.port.options.mk>
|
2008-02-08 13:09:43 +00:00
|
|
|
|
2013-03-07 16:53:45 +00:00
|
|
|
.if ${PORT_OPTIONS:MGEOIP}
|
2008-02-08 13:09:43 +00:00
|
|
|
LIB_DEPENDS+= GeoIP.5:${PORTSDIR}/net/GeoIP
|
2008-12-30 17:43:11 +00:00
|
|
|
CONFIGURE_ARGS+=--enable-geoip
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-geoip
|
2008-02-08 13:09:43 +00:00
|
|
|
.endif
|
|
|
|
|
2013-03-07 16:53:45 +00:00
|
|
|
.include <bsd.port.mk>
|