summaryrefslogtreecommitdiff
path: root/devel/p5-LDAP
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2000-08-27 07:10:59 +0000
committerjlam <jlam@pkgsrc.org>2000-08-27 07:10:59 +0000
commit18cba9d7fa4ef20bc11b28b998233dddeb7ae32d (patch)
treefd4f0178e134e50e9dc8acc6e016d62c645457cf /devel/p5-LDAP
parent81bbfb25563e0e7d2f441eff32793eb50b7549e4 (diff)
downloadpkgsrc-18cba9d7fa4ef20bc11b28b998233dddeb7ae32d.tar.gz
Convert packages to use PERL5_PACKLIST (part 1). These were the easy
ones to do, and each compiled and installed/de-installed apparently correctly. As a side effect of the dynamic PLIST, we no longer need to have separate -static and -shared PLISTs. It's now easier than ever to make a perl5 package for NetBSD :)
Diffstat (limited to 'devel/p5-LDAP')
-rw-r--r--devel/p5-LDAP/Makefile11
-rw-r--r--devel/p5-LDAP/pkg/PLIST19
2 files changed, 9 insertions, 21 deletions
diff --git a/devel/p5-LDAP/Makefile b/devel/p5-LDAP/Makefile
index b91a0dd4b70..8971302a019 100644
--- a/devel/p5-LDAP/Makefile
+++ b/devel/p5-LDAP/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 1999/05/24 08:32:35 hwr Exp $
+# $NetBSD: Makefile,v 1.2 2000/08/27 07:11:07 jlam Exp $
#
DISTNAME= perldap-1.2.2
@@ -12,11 +12,16 @@ HOMEPAGE= http://www.mozilla.org/directory/perldap.html
DEPENDS+= ldapsdk-12311998:../../devel/ldapsdk
-USE_PERL5= YES
+USE_PERL5= # defined
+PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Mozilla/LDAP/API/.packlist
WRKSRC= ${WRKDIR}/perldap
+MAKE_ENV+= LDAPSDKDIR=${LOCALBASE}
+MAKE_ENV+= LDAPSDKSSL="no"
+MAKE_ENV+= LDAPV3ON="yes"
+
do-configure:
- @cd ${WRKSRC}; ${SETENV} LDAPSDKDIR=${LOCALBASE} LDAPSDKSSL="no" LDAPV3ON=yes ${MAKE_ENV} ${PREFIX}/bin/perl Makefile.PL
+ @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/p5-LDAP/pkg/PLIST b/devel/p5-LDAP/pkg/PLIST
index 4bca573830a..125ec09ee55 100644
--- a/devel/p5-LDAP/pkg/PLIST
+++ b/devel/p5-LDAP/pkg/PLIST
@@ -1,18 +1 @@
-@comment $NetBSD: PLIST,v 1.3 2000/01/08 04:26:50 wiz Exp $
-lib/perl5/site_perl/${MACHINE_ARCH}-${LOWER_OPSYS}/auto/Mozilla/LDAP/API/API.so
-lib/perl5/site_perl/${MACHINE_ARCH}-${LOWER_OPSYS}/auto/Mozilla/LDAP/API/API.bs
-lib/perl5/site_perl/Mozilla/LDAP/Conn.pm
-lib/perl5/site_perl/Mozilla/LDAP/LDIF.pm
-lib/perl5/site_perl/Mozilla/LDAP/Utils.pm
-lib/perl5/site_perl/Mozilla/LDAP/API.pm
-lib/perl5/site_perl/Mozilla/LDAP/Entry.pm
-lib/perl5/site_perl/auto/Mozilla/LDAP/API/autosplit.ix
-lib/perl5/man/man3/Mozilla::LDAP::Conn.3
-lib/perl5/man/man3/Mozilla::LDAP::LDIF.3
-lib/perl5/man/man3/Mozilla::LDAP::Utils.3
-lib/perl5/man/man3/Mozilla::LDAP::Entry.3
-lib/perl5/man/man3/Mozilla::LDAP::API.3
-lib/perl5/site_perl/${MACHINE_ARCH}-${LOWER_OPSYS}/auto/Mozilla/LDAP/API/.packlist
-@dirrm lib/perl5/site_perl/${MACHINE_ARCH}-${LOWER_OPSYS}/auto/Mozilla/LDAP/API
-@dirrm lib/perl5/site_perl/${MACHINE_ARCH}-${LOWER_OPSYS}/auto/Mozilla/LDAP
-@dirrm lib/perl5/site_perl/Mozilla/LDAP
+@comment $NetBSD: PLIST,v 1.4 2000/08/27 07:11:07 jlam Exp $