freebsd-ports/net/linux-c7-openldap/Makefile

30 lines
711 B
Makefile
Raw Normal View History

# Created by: Piotr Kubaj <pkubaj@anongoth.pl>
# $FreeBSD$
PORTNAME= openldap
PORTVERSION= 2.4.44
CATEGORIES= net linux
MAINTAINER= emulation@FreeBSD.org
COMMENT= LDAP libraries (Linux CentOS ${LINUX_DIST_VER})
CONFLICTS= linux-c6-${PORTNAME}-[0-9]*
2017-01-31 17:54:21 +01:00
DESCR= ${.CURDIR}/../${PORTNAME}24-server/pkg-descr
RPMVERSION= 5.el7
USES= linux:c7
USE_LDCONFIG= yes
2016-11-03 15:52:21 +01:00
USE_LINUX= cyrus-sasl2 nspr nss
USE_LINUX_RPM= yes
# do not install any openldap configuration directories/files
post-patch:
2017-01-31 17:54:21 +01:00
@${RM} -r ${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>