2008-02-08 13:09:43 +00:00
|
|
|
# New ports collection makefile for: awffull
|
|
|
|
# Date created: 5 Feburary 2008
|
|
|
|
# Whom: Chadwick Sorrell chad@wickdev.com
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= awffull
|
2008-12-30 17:43:11 +00:00
|
|
|
PORTVERSION= 3.10.2
|
2010-05-31 02:01:56 +00:00
|
|
|
PORTREVISION= 5
|
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 \
|
2010-03-28 06:47:48 +00:00
|
|
|
png.6:${PORTSDIR}/graphics/png \
|
2008-02-08 13:09:43 +00:00
|
|
|
pcre.0:${PORTSDIR}/devel/pcre
|
2010-01-08 21:30:31 +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
|
|
|
|
|
2008-02-08 13:09:43 +00:00
|
|
|
OPTIONS= GEOIP "Enable support for GeoIP (Country Detection)" Off
|
|
|
|
|
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
|
|
|
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if defined(WITH_GEOIP)
|
|
|
|
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
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|