60d1a83c2a
- 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
37 lines
892 B
Makefile
37 lines
892 B
Makefile
# Created by: Clement Laforet <clement@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= mod_vhost_ldap
|
|
PORTVERSION= 2.0.8
|
|
PORTREVISION= 1
|
|
CATEGORIES= www
|
|
MASTER_SITES= DEBIAN/pool/main/m/mod-vhost-ldap
|
|
DISTNAME= ${PORTNAME:S/_/-/g}_${PORTVERSION}.orig
|
|
DIST_SUBDIR= apache2
|
|
|
|
MAINTAINER= apache@FreeBSD.org
|
|
COMMENT= Virtual Hosting from ldap built on top of mod_ldap
|
|
|
|
LICENSE= APACHE20
|
|
|
|
USE_OPENLDAP= yes
|
|
|
|
USE_APACHE= 22
|
|
AP_FAST_BUILD= yes
|
|
AP_GENPLIST= yes
|
|
AP_LIB+= ${LOCALBASE}/lib -lldap
|
|
AP_EXTRAS+= -DMOD_VHOST_LDAP_VERSION=\\\"mod_vhost_ldap/${PORTVERSION}\\\"
|
|
|
|
PORTDOCS= mod_vhost_ldap.schema vhost_ldap.conf COPYING
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME:S/_/-/g}-${PORTVERSION}
|
|
|
|
.if defined(PACKAGE_BUILDING)
|
|
IGNORE= Requires support of LDAP in apache 2.x port
|
|
.endif
|
|
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|