88ea72915d
make a distinction between these. ok aja@ dcoppa@
44 lines
1021 B
Makefile
44 lines
1021 B
Makefile
# $OpenBSD: Makefile,v 1.2 2012/03/29 13:38:48 sthen Exp $
|
|
|
|
COMMENT = LDAP authentication plugin for OpenVPN 2.x
|
|
|
|
VERSION = 2.0.3
|
|
DISTNAME = auth-ldap-${VERSION}
|
|
PKGNAME = openvpn-${DISTNAME}
|
|
CATEGORIES = net security
|
|
|
|
HOMEPAGE = http://code.google.com/p/openvpn-auth-ldap/
|
|
|
|
MAINTAINER = Joel Sing <jsing@openbsd.org>
|
|
|
|
# BSD
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
PERMIT_DISTFILES_CDROM = Yes
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
|
|
WANTLIB = lber ldap objc
|
|
|
|
MASTER_SITES = http://openvpn-auth-ldap.googlecode.com/files/
|
|
|
|
RUN_DEPENDS = net/openvpn
|
|
LIB_DEPENDS = databases/openldap
|
|
BUILD_DEPENDS = ${RUN_DEPENDS} \
|
|
devel/re2c
|
|
|
|
SEPARATE_BUILD = Yes
|
|
|
|
CONFIGURE_STYLE = gnu
|
|
|
|
CONFIGURE_ARGS += --prefix=${LOCALBASE} \
|
|
--with-openldap=${LOCALBASE} \
|
|
--with-openvpn=${LOCALBASE}/include/openvpn
|
|
|
|
SAMPLES_DIR = ${PREFIX}/share/examples/openvpn-auth-ldap
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${SAMPLES_DIR}
|
|
${INSTALL_DATA} ${WRKSRC}/auth-ldap.conf ${SAMPLES_DIR}/auth-ldap.conf
|
|
|
|
.include <bsd.port.mk>
|