diff options
Diffstat (limited to 'net/linux-c7-openldap/Makefile')
-rw-r--r-- | net/linux-c7-openldap/Makefile | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/net/linux-c7-openldap/Makefile b/net/linux-c7-openldap/Makefile new file mode 100644 index 000000000000..ed517c71a078 --- /dev/null +++ b/net/linux-c7-openldap/Makefile @@ -0,0 +1,30 @@ +# Created by: Piotr Kubaj <pkubaj@anongoth.pl> +# $FreeBSD$ + +PORTNAME= openldap +PORTVERSION= 2.4.40 +CATEGORIES= net linux + +MAINTAINER= emulation@FreeBSD.org +COMMENT= LDAP libraries (Linux CentOS ${LINUX_DIST_VER}) + +CONFLICTS= linux-f10-${PORTNAME}-[0-9]* linux-c6-${PORTNAME}-[0-9]* + +RPMVERSION= 8.el7 +USES= linux:c7 +USE_LDCONFIG= yes +USE_LINUX_RPM= yes + +DESCR= ${.CURDIR}/../${PORTNAME}24-server/pkg-descr +PORTDOCS= ANNOUNCEMENT CHANGES COPYRIGHT LICENSE README + +# do not install any openldap configuration directories/files +post-patch: + ${RM} -rf ${WRKSRC}/etc + +# use a native openldap configuration directories/files +post-install: + ${MKDIR} ${STAGEDIR}${PREFIX}/etc + ${LN} -sf ${LOCALBASE}/etc/openldap ${STAGEDIR}${PREFIX}/etc/openldap + +.include <bsd.port.mk> |