blob: 09da31c7a506e59f575ec45797bba1b298d49f70 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# $NetBSD: Makefile,v 1.16 2008/10/19 19:17:43 he Exp $
DISTNAME= AddressBook-0.16
PKGNAME= p5-${DISTNAME}
PKGREVISION= 6
CATEGORIES= databases perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=AddressBook/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://search.cpan.org/dist/AddressBook/
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
PERL5_PACKLIST= auto/AddressBook/.packlist
REPLACE_PERL= examples/SyncAbook.pm
REPLACE_PERL+= examples/abook.palm
REPLACE_PERL+= examples/phonelist.cgi
EGDIR= ${PREFIX}/share/examples/${PKGBASE}
post-install:
${INSTALL_DATA_DIR} ${EGDIR}
cd ${WRKSRC}; \
for file in ${REPLACE_PERL} examples/ldap-abook.conf; do \
${INSTALL_DATA} $${file} ${EGDIR}; \
done
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"
|