aboutsummaryrefslogtreecommitdiff
path: root/net/ldapsdk/Makefile
blob: 4c12e335ab93460ad8b100700ccc98a995fbd71f (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
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=	nspr4.1:${PORTSDIR}/devel/nspr

WRKSRC=		${WRKDIR}/${DISTNAME}/c-sdk

USES=		perl5
USE_GMAKE=	yes
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} ${PREFIX}/mozilla/directory
	@(cd ${WRKDIR}/fakeroot \
		&& ${COPYTREE_SHARE} . ${PREFIX}/mozilla/directory)

.include <bsd.port.mk>