pkgsrc/devel/ldapsdk/Makefile
jlam 3e474a90d8 Get rid of USE_PERL5. The new way to express needing the Perl executable
around at either build-time or at run-time is:

	USE_TOOLS+=	perl		# build-time
	USE_TOOLS+=	perl:run	# run-time

Also remove some places where perl5/buildlink3.mk was being included
by a package Makefile, but all that the package wanted was the Perl
executable.
2005-07-16 01:19:06 +00:00

35 lines
918 B
Makefile

# $NetBSD: Makefile,v 1.19 2005/07/16 01:19:09 jlam 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-[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}
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"