pkgsrc/databases/p5-AddressBook/Makefile
seb c3f1e700ad Bump the PKGREVISION for all packages which depend directly on perl,
to trigger/signal a rebuild for the transition 5.10.1 -> 5.12.1.

The list of packages is computed by finding all packages which end
up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl,
or PERL5_PACKLIST defined in their make setup (tested via
"make show-vars VARNAMES=..."), minus the packages updated after
the perl package update.

sno@ was right after all, obache@ kindly asked and he@ led the
way. Thanks!
2010-08-21 16:32:42 +00:00

37 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.19 2010/08/21 16:32:52 seb Exp $
DISTNAME= AddressBook-0.16
PKGNAME= p5-${DISTNAME}
PKGREVISION= 7
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
LICENSE= artistic
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
PKG_DESTDIR_SUPPORT= user-destdir
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}
INSTALLATION_DIRS= ${EGDIR}
post-install:
for file in ${REPLACE_PERL} examples/ldap-abook.conf; do \
${INSTALL_DATA} ${WRKSRC}/$${file} ${DESTDIR}${EGDIR}; \
done
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"