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