1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00
freebsd-ports/net/ldapsdk/Makefile
2014-03-17 14:46:35 +00:00

34 lines
773 B
Makefile

# 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 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>