- Replace ${MASTER_SITE_FOO} with FOO. - Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9% of the time.) - Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and no hint of what it should be was present. - Fix some logic. - And generally, make things more simple and easy to understand. While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and SAMBA macros. Also, replace some EXTRACT_SUFX occurences with USES=tar:*. Checked by: make fetch-urlall-list With hat: portmgr Sponsored by: Absolight
38 lines
957 B
Makefile
38 lines
957 B
Makefile
# Created by: Joerg Pulz <Joerg.Pulz@frm2.tum.de>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= mod_authn_sasl
|
|
PORTVERSION= 1.2
|
|
PORTREVISION= 1
|
|
CATEGORIES= www
|
|
MASTER_SITES= SF/mod-authn-sasl/mod-authn-sasl/${PORTVERSION}
|
|
|
|
MAINTAINER= apache@FreeBSD.org
|
|
COMMENT= Allows user authentication based on libsasl2 mechanisms on apache 2.2
|
|
|
|
LICENSE= APACHE20
|
|
|
|
LIB_DEPENDS= libsasl2.so:${PORTSDIR}/security/cyrus-sasl2
|
|
|
|
OPTIONS_DEFINE= SASLAUTHD
|
|
SASLAUTHD_DESC= cyrus-sasl2-saslauthd support
|
|
|
|
SASLAUTHD_RUN_DEPENDS= saslauthd:${PORTSDIR}/security/cyrus-sasl2-saslauthd
|
|
.include <bsd.port.options.mk>
|
|
|
|
USES= tar:bzip2
|
|
USE_APACHE= 22
|
|
AP_FAST_BUILD= yes
|
|
AP_GENPLIST= yes
|
|
AP_LIB= ${LOCALBASE}/lib -lsasl2
|
|
|
|
PORTDOCS1= AUTHORS LICENSE
|
|
PORTDOCS= *
|
|
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS1:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}/
|
|
@(cd ${WRKSRC} && ${COPYTREE_SHARE} doc ${STAGEDIR}${DOCSDIR} \
|
|
"! ( -name *\.in -o -name *\.am )" )
|
|
|
|
.include <bsd.port.mk>
|