blob: 320812121df794e95caa2fe4ad2f949b372c402d (
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: paul@FreeBSD.org
# $FreeBSD$
PORTNAME= ldapsdk
PORTVERSION= 6.0.7
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= net
MASTER_SITES= MOZILLA/directory/c-sdk/releases/v${PORTVERSION}/src
DISTNAME= mozldap-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Mozilla LDAP sdk
LIB_DEPENDS= libnspr4.so:devel/nspr
WRKSRC= ${WRKDIR}/${DISTNAME}/c-sdk
USES= perl5 gmake
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-optimize \
--with-dist-prefix=${WRKDIR}/fakeroot \
--with-nspr-inc=${LOCALBASE}/include/nspr \
--with-nspr-lib=${LOCALBASE}/lib
post-extract:
@${MKDIR} ${WRKDIR}/fakeroot
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/mozilla/directory
@(cd ${WRKDIR}/fakeroot \
&& ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/mozilla/directory)
.include <bsd.port.mk>
|