forked from Lainports/freebsd-ports
Eliminate LINUXNAME from port Makefiles. This was just a helper variable without special meaning outside port Makefiles but several developers have copied it to new ports where it was then unused, apparently thinking that it did have some special meaning.
31 lines
770 B
Makefile
31 lines
770 B
Makefile
# Created by: Artyom Mirgorodskiy <artyom.mirgorodsky@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= openldap
|
|
PORTVERSION= 2.4.40
|
|
DISTVERSIONSUFFIX= -16.el6
|
|
PORTREVISION= 5
|
|
CATEGORIES= net linux
|
|
|
|
MAINTAINER= emulation@FreeBSD.org
|
|
COMMENT= Lightweight Directory Access Protocol libraries (Linux CentOS ${LINUX_DIST_VER})
|
|
|
|
USES= linux:c6
|
|
USE_LDCONFIG= yes
|
|
USE_LINUX= cyrus-sasl2 nss nspr
|
|
USE_LINUX_RPM= yes
|
|
|
|
DESCR= ${.CURDIR}/../${PORTNAME}24-server/pkg-descr
|
|
|
|
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>
|