diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2004-12-24 14:20:09 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2004-12-24 14:20:09 +0000 |
commit | 379403084a1511887039808225e4abf575acf2f0 (patch) | |
tree | c28692bc3891b43b790efaf64b3c5fa1c74749f3 /www/sarg | |
parent | 4b4d0998a19ca54eb17a893463c8a9d2dfc0829b (diff) | |
download | ports-379403084a1511887039808225e4abf575acf2f0.tar.gz ports-379403084a1511887039808225e4abf575acf2f0.zip |
Notes
Diffstat (limited to 'www/sarg')
-rw-r--r-- | www/sarg/Makefile | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/www/sarg/Makefile b/www/sarg/Makefile index 9600a0cbde37..3e7caeb2a075 100644 --- a/www/sarg/Makefile +++ b/www/sarg/Makefile @@ -7,6 +7,7 @@ PORTNAME= sarg PORTVERSION= 2.0.2 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -14,12 +15,25 @@ MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= mt@primats.org.ua COMMENT= Squid log analyzer and HTML report generator +.if !defined(WITHOUT_GD) +LIB_DEPENDS= gd.4:${PORTSDIR}/graphics/gd +.endif + GNU_CONFIGURE= yes CONFIGURE_ARGS= CC=gcc --enable-bindir="${PREFIX}/bin" --enable-sysconfdir="${PREFIX}/etc/${PORTNAME}" --enable-htmldir=${PREFIX}/www/${PORTNAME} +.if !defined(WITHOUT_GD) +CFLAGS+= -I ${LOCALBASE}/include -L ${LOCALBASE}/lib +.endif + MAN1= sarg.1 post-extract: @${CHMOD} +x ${WRKSRC}/sarg-php/locale +post-configure: +.if !defined(WITHOUT_GD) + @${SED} -i .orig 's|^\(LDFLAGS.*\)|\1 -I ${LOCALBASE}/include -L ${LOCALBASE}/lib|g' ${WRKSRC}/Makefile +.endif + .include <bsd.port.mk> |