1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-04 06:15:24 +00:00
freebsd-ports/www/sarg/Makefile
Tijl Coosemans 37f54e0f66 net/openldap24-*:
- Convert to USES=libtool and bump dependent ports
- Avoid USE_AUTOTOOLS
- Don't use PTHREAD_LIBS
- Use MAKE_CMD

databases/glom:
- Drop :keepla
- Add INSTALL_TARGET=install-strip

databases/libgda4* databases/libgda5*:
- Convert to USES=libtool and bump dependent ports
- USES=tar:xz
- Use INSTALL_TARGET=install-strip
- Use @sample

databases/libgdamm:
- Drop :keepla
- USES=tar:bzip2
- Use INSTALL_TARGET=install-strip

databases/libgdamm5:
- Add INSTALL_TARGET=install-strip
- Drop --enable-static (inherited from old repocopy)

devel/anjuta x11-toolkits/py-gnome-extras:
- Drop :keepla

dns/powerdns dns/powerdns-devel:
- Convert to USES=libtool
- Add INSTALL_TARGET=install-strip
- Disable static modules
- Stop creating library symlinks with .0 suffix, not needed for dynamically
  opened modules

mail/dovecot2:
- Add USES=libtool

mail/dovecot2-pigeonhole:
- Drop CONFIGURE_TARGET (incorrect for Dragonfly)
- Add USES=libtool and INSTALL_TARGET=install-strip

math/gnumeric:
- USES=libtool tar:xz

Approved by:	portmgr (implicit, bump unstaged ports)
2014-07-24 18:34:16 +00:00

58 lines
1.4 KiB
Makefile

# Created by: mt@primats.org.ua
# $FreeBSD$
PORTNAME= sarg
PORTVERSION= 2.3.6
PORTREVISION= 3
CATEGORIES= www
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= garga@FreeBSD.org
COMMENT= Squid log analyzer and HTML report generator
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
OPTIONS_DEFINE= GD PHP NLS PCRE LDAP ICONV
OPTIONS_DEFAULT=GD PHP NLS PCRE LDAP ICONV
PHP_DESC= Install PHP for reporting generating
USES= gmake
USE_AUTOTOOLS= autoconf aclocal
OPTIONS_SUB= yes
GNU_CONFIGURE= yes
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS= CPPFLAGS=-I${LOCALBASE}/include \
--sysconfdir="${ETCDIR}" \
--enable-fontdir="${ETCDIR}/fonts" \
--enable-imagedir="${ETCDIR}/images"
NLS_USES= gettext
NLS_LDFLAGS= -lintl
NLS_CONFIGURE_ENABLE= nls
GD_CONFIGURE_WITH= gd
GD_LIB_DEPENDS= libgd.so:${PORTSDIR}/graphics/gd
PHP_CONFIGURE_ON= --enable-sargphp="${ETCDIR}"
PHP_CONFIGURE_OFF= --disable-sargphp
PCRE_CONFIGURE_WITH= pcre
PCRE_LIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre
LDAP_USE= USE_OPENLDAP=yes
LDAP_CONFIGURE_WITH= ldap
ICONV_USES= iconv
ICONV_CONFIGURE_WITH= iconv
ICONV_LDFLAGS= ${ICONV_LIB}
post-extract:
@${FIND} ${WRKSRC} -type d -exec ${CHMOD} 0755 {} \;
@${CHMOD} 0755 ${WRKSRC}/configure
post-patch:
@${REINPLACE_CMD} -e '/test .*==/ s/==/=/' \
${WRKSRC}/configure.in
pre-configure:
@(cd ${WRKSRC} && ${AUTORECONF})
.include <bsd.port.mk>