pkgsrc/devel/ldapsdk/Makefile

39 lines
1,006 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.9 2003/05/01 09:39:59 jmmv Exp $
DISTNAME= ldapsdk_12311998
PKGNAME= ldapsdk-12311998
PKGREVISION= 1
WRKSRC= ${WRKDIR}/mozilla
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
CONFLICTS+= openldap*
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"