aboutsummaryrefslogtreecommitdiffstats
path: root/net/linux-f10-openldap/Makefile
blob: 50ffd30cac0ad847a2523cd67083290f67c7bfd0 (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
# Created by: peter
# $FreeBSD$

PORTNAME=   openldap
PORTVERSION=    2.4.12
PORTREVISION=   2
CATEGORIES= net linux
MASTER_SITES=   LOCAL/ehaupt/rpm/${LINUX_RPM_ARCH}/fedora/${LINUX_DIST_VER}

MAINTAINER= emulation@FreeBSD.org
COMMENT=    Lightweight Directory Access Protocol libraries (Linux Fedora 10)

USE_LINUX=  f10
USE_LINUX_RPM=  yes

RPMVERSION= 1.fc10
USE_LDCONFIG=   yes
DESCR=  ${.CURDIR}/../openldap24-server/pkg-descr

PLIST_FILES=    usr/lib/liblber-2.4.so.2 usr/lib/liblber-2.4.so.2.2.0 usr/lib/libldap-2.4.so.2 usr/lib/libldap-2.4.so.2.2.0 usr/lib/libldap_r-2.4.so.2 usr/lib/libldap_r-2.4.so.2.2.0 etc/openldap usr/share/man/man5/ldap.conf.5.gz usr/share/man/man5/ldif.5.gz
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>