ports/net/linux-rl9-openldap/Makefile
Dima Panov cc6b95484d
*/*: update Rocky Linux packages to 9.4 release
Sponsored by:	Serenity Cybersecurity, LLC
2024-06-06 11:43:13 +03:00

34 lines
904 B
Makefile

PORTNAME= openldap
PORTVERSION= 2.6.6
DISTVERSIONSUFFIX= -3.el9
CATEGORIES= net linux
MAINTAINER= emulation@FreeBSD.org
COMMENT= LDAP libraries (Rocky Linux ${LINUX_DIST_VER})
WWW= https://www.OpenLDAP.org/
USES= cpe linux:rl9
USE_LDCONFIG= yes
USE_LINUX= cyrus-sasl2 nspr nss
USE_LINUX_RPM= yes
LIB_DISTNAMES= ${PORTNAME}-${DISTVERSIONFULL} \
${PORTNAME}-clients-${DISTVERSIONFULL} \
${PORTNAME}-compat-${DISTVERSIONFULL} \
CONFLICTS= linux-c7-${PORTNAME}
DESCR= ${.CURDIR}/../${PORTNAME}26-server/pkg-descr
DOCSDIR= ${PREFIX}/usr/share/doc/${PORTNAME}${PKGNAMESUFFIX}
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>