f42b549215
Approved by: erwin
35 lines
888 B
Makefile
35 lines
888 B
Makefile
# New ports collection makefile for: openvpn-auth-ldap
|
|
# Date created: 06 June 2007
|
|
# Whom: Nick Barkas <snb@threerings.net>
|
|
#
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= openvpn-auth-ldap
|
|
PORTVERSION= 2.0.3
|
|
PORTREVISION= 1
|
|
CATEGORIES= security
|
|
MASTER_SITES= http://dpw.threerings.net/projects/openvpn-auth-ldap/
|
|
DISTNAME= auth-ldap-${PORTVERSION}
|
|
|
|
MAINTAINER= snb@FreeBSD.org
|
|
COMMENT= LDAP authentication plugin for OpenVPN
|
|
|
|
BUILD_DEPENDS= re2c:${PORTSDIR}/devel/re2c \
|
|
${NONEXISTENT}:${PORTSDIR}/security/openvpn:extract
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_OPENLDAP= yes
|
|
OPENVPN_WRKSRC= `cd ${PORTSDIR}/security/openvpn; make -V WRKSRC`
|
|
CONFIGURE_ARGS+= --with-openldap=${LOCALBASE} \
|
|
--with-openvpn=${OPENVPN_WRKSRC}
|
|
|
|
PORTDOCS= README
|
|
PLIST_FILES= lib/openvpn-auth-ldap.so
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|