pkgsrc/devel/ldapsdk/Makefile
agc d52dd5005a At present, if there is a pre-<target> or post-<target> script in
the scripts/ directory, it will be run automatically as part of
the build process, by bsd.pkg.mk.  There are now exactly 5 packages
in pkgsrc which use this facility, and yet, for every package build,
the existence of a script is checked by bsd.pkg.mk once before the
target is executed, and once afterwards. This incurs needless
overhead.

Move the separate pre- and post- script handling out of bsd.pkg.mk into
the individual package Makefiles, where it's much more obvious what is
happening, anyway.
2001-10-26 14:09:59 +00:00

24 lines
631 B
Makefile

# $NetBSD: Makefile,v 1.6 2001/10/26 14:10:00 agc Exp $
DISTNAME= ldapsdk_12311998
PKGNAME= ldapsdk-12311998
CATEGORIES= devel databases
MASTER_SITES= ftp://ftp.mozilla.org/pub/directory/c-sdk/ldap/
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.mozilla.org/directory/
COMMENT= LDAP C-SDK from the Mozilla project
CONFLICTS+= openldap*
USE_GMAKE= yes
USE_PERL5= yes
WRKSRC= ${WRKDIR}/mozilla
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"