mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-01 05:45:45 +00:00
2c9ab8d7ad
- Update to 0.20.1. - Add options to install documentation and examples. devel/libtextstyle: - Take maintainership because it is now released as part of gettext. ftp/weex: - Remove bundled gettext (intl/): no longer supported. - Patch configure.in, Makefile.am and src/Makefile.am to remove references to bundled gettext. - Patch configure.in to add AC_CONFIG_MACRO_DIR([m4]) so aclocal.m4 will include gettext .m4 files from m4/ (matching the version set with AM_GNU_GETTEXT_VERSION) instead of /usr/local/share/aclocal. - Port to modern gettext: add po/Makevars and fix a problem in the French translation. - Patch configure.in to fix detection of OpenSSL 1.1. - In port Makefile: add EXAMPLES and NLS options, add ports OpenSSL support, set default path for root certificates. games/lgeneral: - Patch Makefile.in instead of Makefile.am so USES=autoreconf isn't needed. www/sarg: - Patch configure.ac to add AC_CONFIG_MACRO_DIR([m4]) so aclocal.m4 will include gettext .m4 files from m4/ (matching the version set with AM_GNU_GETTEXT_VERSION) instead of /usr/local/share/aclocal. - Port Makefile: remove obsolete post-patch, patching configure also has no effect with USES=autoreconf. PR: 238277 Exp-run by: antoine Approved by: portmgr (antoine)
46 lines
1.1 KiB
Makefile
46 lines
1.1 KiB
Makefile
# Created by: mt@primats.org.ua
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= sarg
|
|
PORTVERSION= 2.3.11
|
|
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 PCRE LDAP ICONV
|
|
OPTIONS_SUB= yes
|
|
|
|
PHP_DESC= Install PHP for reporting generating
|
|
|
|
USES= autoreconf gmake
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --sysconfdir="${ETCDIR}" \
|
|
--enable-fontdir="${ETCDIR}/fonts" \
|
|
--enable-imagedir="${ETCDIR}/images"
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LIBS+= -L${LOCALBASE}/lib
|
|
|
|
NLS_USES= gettext
|
|
NLS_USES_OFF= gettext-tools
|
|
NLS_CONFIGURE_ENABLE= nls
|
|
NLS_LIBS= -lintl
|
|
GD_CONFIGURE_WITH= gd
|
|
GD_LIB_DEPENDS= libgd.so:graphics/gd
|
|
PHP_CONFIGURE_ON= --enable-sargphp="${ETCDIR}"
|
|
PHP_CONFIGURE_OFF= --disable-sargphp
|
|
PCRE_CONFIGURE_WITH= pcre
|
|
PCRE_LIB_DEPENDS= libpcre.so:devel/pcre
|
|
LDAP_USE= USE_OPENLDAP=yes
|
|
LDAP_CONFIGURE_WITH= ldap
|
|
ICONV_USES= iconv
|
|
ICONV_CONFIGURE_WITH= iconv
|
|
ICONV_LDFLAGS= ${ICONV_LIB}
|
|
|
|
.include <bsd.port.mk>
|