From 8cd19583b3b0fd785b6bc6099194b2471eabe548 Mon Sep 17 00:00:00 2001 From: Mathieu Arnold Date: Sat, 3 Aug 2013 13:59:44 +0000 Subject: [PATCH] Convert to using the perl framework for build instead of only installing the raw files. --- net/p5-AddressBook/Makefile | 22 +++++++++------------- net/p5-AddressBook/pkg-plist | 2 ++ 2 files changed, 11 insertions(+), 13 deletions(-) diff --git a/net/p5-AddressBook/Makefile b/net/p5-AddressBook/Makefile index 9b3a1542274f..40957b2f208c 100644 --- a/net/p5-AddressBook/Makefile +++ b/net/p5-AddressBook/Makefile @@ -11,21 +11,17 @@ PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Perl5 module providing an LDAP addressbook interface -USE_PERL5= yes -RUN_DEPENDS= p5-Date-Manip>=0:${PORTSDIR}/devel/p5-Date-Manip \ + +BUILD_DEPENDS= p5-Date-Manip>=0:${PORTSDIR}/devel/p5-Date-Manip \ p5-XML-DOM>=0:${PORTSDIR}/textproc/p5-XML-DOM +RUN_DEPENDS= ${BUILD_DEPENDS} -NO_BUILD= yes -ALL_FILES= AddressBook.pm AddressBook/Entry.pm AddressBook/Config.pm \ - AddressBook/DB/BBDB.pm AddressBook/DB/DBI.pm \ - AddressBook/DB/HTML.pm AddressBook/DB/LDAP.pm \ - AddressBook/DB/LDIF.pm AddressBook/DB/PDB.pm \ - AddressBook/DB/Text.pm +USES= perl5 +USE_PERL5= configure -do-install: - @ ${MKDIR} ${SITE_PERL}/AddressBook/DB -.for file in ${ALL_FILES} - @ ${INSTALL_DATA} ${WRKSRC}/lib/${file} ${SITE_PERL}/${file} -.endfor +MAN3= AddressBook.3 AddressBook::Config.3 AddressBook::DB::BBDB.3 \ + AddressBook::DB::DBI.3 AddressBook::DB::HTML.3 AddressBook::DB::LDAP.3 \ + AddressBook::DB::LDIF.3 AddressBook::DB::PDB.3 AddressBook::DB::Text.3 \ + AddressBook::Entry.3 .include diff --git a/net/p5-AddressBook/pkg-plist b/net/p5-AddressBook/pkg-plist index 8e8be45c0bee..8e548af775dd 100644 --- a/net/p5-AddressBook/pkg-plist +++ b/net/p5-AddressBook/pkg-plist @@ -8,5 +8,7 @@ %%SITE_PERL%%/AddressBook/DB/PDB.pm %%SITE_PERL%%/AddressBook/DB/Text.pm %%SITE_PERL%%/AddressBook/Entry.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/AddressBook/.packlist +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/AddressBook @dirrm %%SITE_PERL%%/AddressBook/DB @dirrm %%SITE_PERL%%/AddressBook