# $NetBSD: Makefile,v 1.13 2004/01/20 12:13:28 agc Exp $ DISTNAME= ldapsdk_12311998 PKGNAME= ${DISTNAME:S/_/-/} PKGREVISION= 1 CATEGORIES= devel databases MASTER_SITES= ftp://ftp.mozilla.org/pub/directory/c-sdk/ldap/ MAINTAINER= tech-pkg@NetBSD.org HOMEPAGE= http://www.mozilla.org/directory/ COMMENT= LDAP C-SDK from the Mozilla project CONFLICTS+= openldap* WRKSRC= ${WRKDIR}/mozilla USE_GMAKE= yes USE_PERL5= build USE_BUILDLINK2= yes PKG_SYSCONFSUBDIR= ldapsdk EGDIR= ${PREFIX}/share/examples/ldapsdk SCRIPTS_ENV+= EGDIR=${EGDIR} SCRIPTS_ENV+= GMAKE=${GMAKE} SCRIPTS_ENV+= LN=${LN} do-configure: ${ECHO} "PKG_SYSCONFDIR=${PKG_SYSCONFDIR}" >> ${WRKSRC}/config/rules.mk ${ECHO} "EGDIR=${EGDIR}" >> ${WRKSRC}/config/rules.mk do-build: cd ${.CURDIR} && ${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/pre-build do-install: cd ${.CURDIR} && ${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/pre-install .include "../../lang/perl5/buildlink2.mk" .include "../../mk/bsd.pkg.mk"