aboutsummaryrefslogblamecommitdiff
path: root/net/linux-c7-openldap/Makefile
blob: ebe3515e4aaab3c91a1d7a090e430fc87cc0299b (plain) (tree)
1
2
3
4
5
6
7



                                              
                      
                                 
                 




                                                               

                        
                                    

                   


                                                            

                    

                                                             
                               






                                                                             
# Created by: Piotr Kubaj <pkubaj@anongoth.pl>
# $FreeBSD$

PORTNAME=	openldap
PORTVERSION=	2.4.44
DISTVERSIONSUFFIX=	-21.el7_6
PORTREVISION=	1
CATEGORIES=	net linux

MAINTAINER=	emulation@FreeBSD.org
COMMENT=	LDAP libraries (Linux CentOS ${LINUX_DIST_VER})

USES=		linux:c7
USE_LDCONFIG=	yes
USE_LINUX=	cyrus-sasl2 nspr nss
USE_LINUX_RPM=	yes

CONFLICTS=	linux-c6-${PORTNAME}-[0-9]*
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>