2012-09-24 22:55:01 +02:00
|
|
|
# Created by: Clement Laforet <clement@FreeBSD.org>
|
2005-09-10 17:45:02 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= mod_vhost_ldap
|
2014-03-09 14:00:36 +01:00
|
|
|
PORTVERSION= 2.0.8
|
2016-12-08 18:26:09 +01:00
|
|
|
PORTREVISION= 2
|
2005-09-10 17:45:02 +02:00
|
|
|
CATEGORIES= www
|
2015-05-14 12:15:04 +02:00
|
|
|
MASTER_SITES= DEBIAN/pool/main/m/mod-vhost-ldap
|
2014-03-09 14:00:36 +01:00
|
|
|
DISTNAME= ${PORTNAME:S/_/-/g}_${PORTVERSION}.orig
|
2005-09-10 17:47:58 +02:00
|
|
|
DIST_SUBDIR= apache2
|
2005-09-10 17:45:02 +02:00
|
|
|
|
|
|
|
MAINTAINER= apache@FreeBSD.org
|
|
|
|
COMMENT= Virtual Hosting from ldap built on top of mod_ldap
|
|
|
|
|
2014-03-09 14:00:36 +01:00
|
|
|
LICENSE= APACHE20
|
2010-09-22 23:50:03 +02:00
|
|
|
|
2012-08-18 16:29:08 +02:00
|
|
|
USE_OPENLDAP= yes
|
2005-09-10 17:47:58 +02:00
|
|
|
|
2012-09-24 22:55:01 +02:00
|
|
|
USE_APACHE= 22
|
2012-08-18 16:29:08 +02:00
|
|
|
AP_FAST_BUILD= yes
|
|
|
|
AP_GENPLIST= yes
|
2005-09-10 17:45:02 +02:00
|
|
|
AP_LIB+= ${LOCALBASE}/lib -lldap
|
|
|
|
AP_EXTRAS+= -DMOD_VHOST_LDAP_VERSION=\\\"mod_vhost_ldap/${PORTVERSION}\\\"
|
|
|
|
|
|
|
|
PORTDOCS= mod_vhost_ldap.schema vhost_ldap.conf COPYING
|
|
|
|
|
2014-03-09 14:00:36 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME:S/_/-/g}-${PORTVERSION}
|
2007-03-18 18:19:10 +01:00
|
|
|
|
2005-09-10 17:45:02 +02:00
|
|
|
.if defined(PACKAGE_BUILDING)
|
2007-03-18 18:19:10 +01:00
|
|
|
IGNORE= Requires support of LDAP in apache 2.x port
|
2005-09-10 17:45:02 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
post-install:
|
2014-03-09 14:00:36 +01:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
2005-09-10 17:45:02 +02:00
|
|
|
|
2005-12-04 21:36:56 +01:00
|
|
|
.include <bsd.port.mk>
|