pkgsrc/misc/p5-ControlX10-CM17/Makefile
he b021813da0 Bump the PKGREVISION for all packages which depend directly on perl,
to trigger/signal a rebuild for the transition 5.8.8 -> 5.10.0.

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=...").
2008-10-19 19:17:40 +00:00

35 lines
1 KiB
Makefile

# $NetBSD: Makefile,v 1.13 2008/10/19 19:18:22 he Exp $
DISTNAME= ControlX10-CM17-0.07
PKGNAME= p5-${DISTNAME}
PKGREVISION= 3
SVR4_PKGNAME= p5cx7
CATEGORIES= misc perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=ControlX10/}
MAINTAINER= damon@brodiefamily.org
HOMEPAGE= http://members.aol.com/Bbirthisel/x10.d/index.html
COMMENT= Perl5 module for controlling the X10 CM17A controller
PKG_DESTDIR_SUPPORT= user-destdir
DEPENDS+= p5-Device-SerialPort>=0.07:../../comms/p5-Device-SerialPort
PERL5_PACKLIST= auto/ControlX10/CM17/.packlist
# We don't actually install the example perl script, but we patch it
# to be useful, just the same.
#
post-patch:
cd ${WRKSRC}; for file in eg/eg_cm17.plx; do \
${SED} -e "s|/usr/bin/perl|${PERL5}|g" \
-e "s|/dev/ttyS0|${DEFAULT_SERIAL_DEVICE}|g" \
$${file} > $${file}.fixed; \
if [ -x $${file} ]; then \
${CHMOD} +x $${file}.fixed; \
fi; \
${MV} -f $${file}.fixed $${file}; \
done
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"