diff options
author | jlam <jlam@pkgsrc.org> | 2002-01-28 02:22:59 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2002-01-28 02:22:59 +0000 |
commit | 7e911e11353922d9c80a41e04148f8b1110da97d (patch) | |
tree | 3f8706401659c81c7adcb9213c2e55ea18d1e604 /databases/p5-AddressBook/Makefile | |
parent | 075782f99f5897d969e7be11bb42b700f2880335 (diff) | |
download | pkgsrc-7e911e11353922d9c80a41e04148f8b1110da97d.tar.gz |
Initial import of databases/p5-AddressBook:
Perl-AddressBook is a collection of perl library modules which provide a
unified interface for accessing addressbook entries stored in various
types of databases, e.g. LDAP, LDIF, PalmDB, DBI, text, HTML.
Diffstat (limited to 'databases/p5-AddressBook/Makefile')
-rw-r--r-- | databases/p5-AddressBook/Makefile | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/databases/p5-AddressBook/Makefile b/databases/p5-AddressBook/Makefile new file mode 100644 index 00000000000..b3b04837209 --- /dev/null +++ b/databases/p5-AddressBook/Makefile @@ -0,0 +1,38 @@ +# $NetBSD: Makefile,v 1.1.1.1 2002/01/28 02:22:59 jlam Exp $ + +DISTNAME= AddressBook-0.16 +PKGNAME= p5-${DISTNAME} +CATEGORIES= databases perl5 +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=perl-abook/} \ + ftp://ftp.loaded.net/pub/CPAN/authors/id/D/DL/DLEIGH/ + +MAINTAINER= packages@netbsd.org +HOMEPAGE= http://perl-abook.sourceforge.net/ +COMMENT= perl5 module for unified access to addressbook databases + +DEPENDS+= p5-DBI>=1.14:../../databases/p5-DBI +DEPENDS+= p5-Date-Manip>=5.39:../../devel/p5-Date-Manip +DEPENDS+= p5-XML-DOM>=1.25:../../textproc/p5-XML-DOM +DEPENDS+= p5-perl-ldap>=0.20:../../databases/p5-perl-ldap +DEPENDS+= p5-pilot-link-[0-9]*:../../comms/p5-pilot-link + +USE_PERL5= YES +PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/AddressBook/.packlist + +REPLACE_PERL= examples/SyncAbook.pm +REPLACE_PERL+= examples/abook.palm +REPLACE_PERL+= examples/phonelist.cgi + +EGDIR= ${PREFIX}/share/examples/${PKGBASE} + +do-configure: + @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL + +post-install: + ${INSTALL_DATA_DIR} ${EGDIR} + cd ${WRKSRC}; \ + for file in ${REPLACE_PERL} examples/ldap-abook.conf; do \ + ${INSTALL_DATA} $${file} ${EGDIR}; \ + done + +.include "../../mk/bsd.pkg.mk" |