pkgsrc/comms/p5-pilot-link/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

59 lines
1.5 KiB
Makefile

# $NetBSD: Makefile,v 1.45 2010/08/21 16:32:48 seb Exp $
#
PKG_DESTDIR_SUPPORT= user-destdir
.include "../../comms/pilot-link/Makefile.common"
PKGNAME= p5-${DISTNAME}
PKGREVISION= 2
COMMENT= Perl bindings for pilot-link
MAKE_JOBS_SAFE= no
BUILDLINK_API_DEPENDS.pilot-link-libs= pilot-link-libs>=${PILOT_LINK_VERS}
USE_TOOLS+= gmake
CONFIGURE_ARGS+= --enable-conduits
CONFIGURE_ARGS+= --with-perl=${PERL5:Q}
PERL5_CONFIGURE= NO
PERL5_PACKLIST= auto/PDA/Pilot/.packlist
PERL5_LDFLAGS= -lpisock
REPLACE_PERL+= bindings/Perl/h2xs-pilot-link src/pilot-ietf2datebook.pl
INSTALL_DIRS= bindings
INSTALLATION_DIRS= bin
BUILD_DIRS+= src
BUILD_DIRS+= ${INSTALL_DIRS}
SUBST_CLASSES+= progs
SUBST_STAGE.progs= post-patch
SUBST_MESSAGE.progs= Trim programs to build
SUBST_FILES.progs= src/Makefile.in
SUBST_SED.progs= -e s:@ENABLE_CONDUITS_TRUE@bin_PROGRAMS:@ENABLE_CONDUITS_TRUE@bin_PROGRAMSX:
post-extract:
rm -f ${WRKSRC}/bindings/Perl/pm_to_blib
#post-patch:
# cd ${WRKSRC} && \
# for mf in src/Makefile.in src/*/Makefile.in ; do \
# ${CP} $$mf $$mf.old && \
# ${SED} -e 's|..top_builddir./lib[^/]*/\(lib[^\.]*\.la\)|${PREFIX}/lib/\1|g' \
# < $$mf.old > $$mf ; \
# done
post-install:
.for bin in pilot-ietf2datebook pilot-undelete pilot-sync-plan
cd ${WRKSRC}/src && \
${INSTALL_SCRIPT} ${bin} ${DESTDIR}${PREFIX}/bin
.endfor
.include "../../comms/pilot-link-libs/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"