2003-05-01 11:39:59 +02:00
|
|
|
# $NetBSD: Makefile,v 1.9 2003/05/01 09:39:59 jmmv Exp $
|
1999-05-18 23:22:26 +02:00
|
|
|
|
|
|
|
DISTNAME= ldapsdk_12311998
|
|
|
|
PKGNAME= ldapsdk-12311998
|
2003-05-01 11:39:59 +02:00
|
|
|
PKGREVISION= 1
|
2003-03-29 13:40:00 +01:00
|
|
|
WRKSRC= ${WRKDIR}/mozilla
|
1999-05-18 23:22:26 +02:00
|
|
|
CATEGORIES= devel databases
|
|
|
|
MASTER_SITES= ftp://ftp.mozilla.org/pub/directory/c-sdk/ldap/
|
|
|
|
|
|
|
|
MAINTAINER= packages@netbsd.org
|
|
|
|
HOMEPAGE= http://www.mozilla.org/directory/
|
2001-05-17 10:38:42 +02:00
|
|
|
COMMENT= LDAP C-SDK from the Mozilla project
|
1999-05-18 23:22:26 +02:00
|
|
|
|
|
|
|
CONFLICTS+= openldap*
|
|
|
|
|
2000-01-11 22:01:05 +01:00
|
|
|
USE_GMAKE= yes
|
2002-10-20 23:48:16 +02:00
|
|
|
USE_PERL5= build
|
|
|
|
USE_BUILDLINK2= yes
|
1999-05-18 23:22:26 +02:00
|
|
|
|
2003-05-01 11:39:59 +02:00
|
|
|
PKG_SYSCONFSUBDIR= ldapsdk
|
|
|
|
EGDIR= ${PREFIX}/share/examples/ldapsdk
|
|
|
|
|
|
|
|
SCRIPTS_ENV+= EGDIR=${EGDIR}
|
2002-10-20 23:48:16 +02:00
|
|
|
SCRIPTS_ENV+= GMAKE=${GMAKE}
|
|
|
|
SCRIPTS_ENV+= LN=${LN}
|
|
|
|
|
2003-05-01 11:39:59 +02:00
|
|
|
do-configure:
|
|
|
|
${ECHO} "PKG_SYSCONFDIR=${PKG_SYSCONFDIR}" >> ${WRKSRC}/config/rules.mk
|
|
|
|
${ECHO} "EGDIR=${EGDIR}" >> ${WRKSRC}/config/rules.mk
|
|
|
|
|
1999-05-18 23:22:26 +02:00
|
|
|
do-build:
|
2001-10-26 16:09:59 +02:00
|
|
|
cd ${.CURDIR} && ${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/pre-build
|
1999-05-18 23:22:26 +02:00
|
|
|
|
|
|
|
do-install:
|
2001-10-26 16:09:59 +02:00
|
|
|
cd ${.CURDIR} && ${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/pre-install
|
1999-05-18 23:22:26 +02:00
|
|
|
|
2002-10-20 23:48:16 +02:00
|
|
|
.include "../../lang/perl5/buildlink2.mk"
|
1999-05-18 23:22:26 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|