Changeset View
Changeset View
Standalone View
Standalone View
net/linux-c6-openldap/Makefile
# Created by: Artyom Mirgorodskiy <artyom.mirgorodsky@gmail.com> | # Created by: Artyom Mirgorodskiy <artyom.mirgorodsky@gmail.com> | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= openldap | PORTNAME= openldap | ||||
PORTVERSION= 2.4.23 | PORTVERSION= 2.4.39 | ||||
CATEGORIES= net linux | CATEGORIES= net linux | ||||
MAINTAINER= emulation@FreeBSD.org | MAINTAINER= emulation@FreeBSD.org | ||||
COMMENT= Lightweight Directory Access Protocol libraries (Linux CentOS ${LINUX_DIST_VER}) | COMMENT= Lightweight Directory Access Protocol libraries (Linux CentOS ${LINUX_DIST_VER}) | ||||
CONFLICTS= linux-f10-openldap-[0-9]* | CONFLICTS= linux-f10-openldap-[0-9]* | ||||
ONLY_FOR_ARCHS= i386 amd64 | ONLY_FOR_ARCHS= i386 amd64 | ||||
USE_LINUX= c6 | USE_LINUX= c6 | ||||
#USE_LINUX_APPS= openssl | #USE_LINUX_APPS= openssl | ||||
RPMVERSION= 32.el6_4.1 | RPMVERSION= 8.el6 | ||||
USE_LINUX_RPM= yes | USE_LINUX_RPM= yes | ||||
USE_LDCONFIG= yes | USE_LDCONFIG= yes | ||||
DESCR= ${.CURDIR}/../openldap24-server/pkg-descr | DESCR= ${.CURDIR}/../openldap24-server/pkg-descr | ||||
PLIST_FILES= lib/liblber-2.4.so.2 lib/liblber-2.4.so.2.5.6 lib/libldap-2.4.so.2 lib/libldap-2.4.so.2.5.6 lib/libldap_r-2.4.so.2 lib/libldap_r-2.4.so.2.5.6 lib/libldif-2.4.so.2 lib/libldif-2.4.so.2.5.6 etc/openldap usr/share/man/man5/ldap.conf.5.gz usr/share/man/man5/ldif.5.gz usr/libexec/openldap/create-certdb.sh | |||||
DOCSDIR= usr/share/doc/${PORTNAME}-${PORTVERSION} | DOCSDIR= usr/share/doc/${PORTNAME}-${PORTVERSION} | ||||
PORTDOCS= ANNOUNCEMENT CHANGES COPYRIGHT LICENSE README | PORTDOCS= ANNOUNCEMENT CHANGES COPYRIGHT LICENSE README | ||||
# do not install any openldap configuration directories/files | # do not install any openldap configuration directories/files | ||||
post-extract: | post-extract: | ||||
${RM} -rf ${WRKSRC}/etc | ${RM} -rf ${WRKSRC}/etc | ||||
# use a native openldap configuration directories/files | # use a native openldap configuration directories/files | ||||
post-install: | post-install: | ||||
${MKDIR} ${STAGEDIR}${PREFIX}/etc | ${MKDIR} ${STAGEDIR}${PREFIX}/etc | ||||
${LN} -sf ${LOCALBASE}/etc/openldap ${STAGEDIR}${PREFIX}/etc/openldap | ${LN} -sf ${LOCALBASE}/etc/openldap ${STAGEDIR}${PREFIX}/etc/openldap | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |