aboutsummaryrefslogtreecommitdiffstats
path: root/net/linux-c6-openldap/Makefile
blob: 99d31d8bee12903f7f8ab6705b40f8105d5dadfb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Created by: Artyom Mirgorodskiy <artyom.mirgorodsky@gmail.com>
# $FreeBSD$

PORTNAME=   openldap
PORTVERSION=    2.4.40
PORTREVISION=   1
CATEGORIES= net linux

MAINTAINER= emulation@FreeBSD.org
COMMENT=    Lightweight Directory Access Protocol libraries (Linux CentOS ${LINUX_DIST_VER})

CONFLICTS=  linux-f10-openldap-[0-9]*

ONLY_FOR_ARCHS= i386 amd64
USE_LINUX=  c6
#USE_LINUX_APPS=    openssl
RPMVERSION= 12.el6
USE_LINUX_RPM=  yes
USE_LDCONFIG=   yes
DESCR=  ${.CURDIR}/../openldap24-server/pkg-descr

DOCSDIR=    usr/share/doc/${PORTNAME}-${PORTVERSION}
PORTDOCS=   ANNOUNCEMENT CHANGES COPYRIGHT LICENSE README

# do not install any openldap configuration directories/files
post-extract:
    ${RM} -rf ${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>