# $NetBSD: Makefile,v 1.23 2006/05/31 19:09:15 ghen Exp $ DISTNAME= ldapsdk_12311998 PKGNAME= ${DISTNAME:S/_/-/} PKGREVISION= 2 CATEGORIES= devel databases MASTER_SITES= ftp://ftp.mozilla.org/pub/directory/c-sdk/ldap/ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.mozilla.org/directory/ COMMENT= LDAP C-SDK from the Mozilla project CONFLICTS+= openldap-client-[0-9]* WRKSRC= ${WRKDIR}/mozilla USE_TOOLS+= gmake perl PKG_SYSCONFSUBDIR= ldapsdk EGDIR= ${PREFIX}/share/examples/ldapsdk SCRIPTS_ENV+= EGDIR=${EGDIR} SCRIPTS_ENV+= GMAKE=${GMAKE} SCRIPTS_ENV+= LN=${LN} post-extract: ${LN} -s FreeBSD.mk ${WRKSRC}/config/DragonFly.mk 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 "../../mk/bsd.pkg.mk"