1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00
freebsd-ports/net/linux-c6-openldap/Makefile
Mathieu Arnold e1bfdfbe56 Add DOCS options to ports that should have one.
Also various fixes related to said option.

PR:		230864
Submitted by:	mat
exp-runs by:	antoine
2018-09-10 13:14:50 +00:00

31 lines
761 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
OPTIONS_DEFINE= DOCS
# 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>