ports/net/linux-c6-openldap/Makefile
Tijl Coosemans e6b80f8333 Update to CentOS 6.9.
PR:		218732
Submitted by:	Piotr Kubaj <pkubaj@anongoth.pl>
2017-05-26 10:26:39 +00:00

28 lines
739 B
Makefile

# Created by: Artyom Mirgorodskiy <artyom.mirgorodsky@gmail.com>
# $FreeBSD$
PORTNAME= openldap
PORTVERSION= 2.4.40
PORTREVISION= 5
CATEGORIES= net linux
MAINTAINER= emulation@FreeBSD.org
COMMENT= Lightweight Directory Access Protocol libraries (Linux CentOS ${LINUX_DIST_VER})
DESCR= ${.CURDIR}/../${PORTNAME}24-server/pkg-descr
RPMVERSION= 16.el6
USES= linux:c6
USE_LDCONFIG= yes
USE_LINUX= cyrus-sasl2 nss nspr
USE_LINUX_RPM= yes
# do not install any openldap configuration directories/files
post-patch:
@${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>