1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

Convert to using the perl framework for build instead of only installing the

raw files.
This commit is contained in:
Mathieu Arnold 2013-08-03 13:59:44 +00:00
parent cfa3af9b2c
commit 8cd19583b3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=324195
2 changed files with 11 additions and 13 deletions

View File

@ -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>

View File

@ -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