aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2013-08-03 21:59:44 +0800
committermat <mat@FreeBSD.org>2013-08-03 21:59:44 +0800
commitadceb80ce8ff9edccd53e5bfb769529dd69de65e (patch)
treee5a1e50db0319516322bdbcc0fdd80933760fe32
parentd2647cbbedde169afdf400a9df8561825f011f9e (diff)
downloadfreebsd-ports-gnome-adceb80ce8ff9edccd53e5bfb769529dd69de65e.tar.gz
freebsd-ports-gnome-adceb80ce8ff9edccd53e5bfb769529dd69de65e.tar.zst
freebsd-ports-gnome-adceb80ce8ff9edccd53e5bfb769529dd69de65e.zip
Convert to using the perl framework for build instead of only installing the
raw files.
-rw-r--r--net/p5-AddressBook/Makefile22
-rw-r--r--net/p5-AddressBook/pkg-plist2
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 <bsd.port.mk>
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