pkgsrc/comms/p5-pilot-link/Makefile

70 lines
2 KiB
Makefile
Raw Normal View History

2020-08-31 20:06:29 +02:00
# $NetBSD: Makefile,v 1.61 2020/08/31 18:06:45 wiz Exp $
#
.include "../../comms/pilot-link/Makefile.common"
PKGNAME= p5-${DISTNAME}
2020-08-31 20:06:29 +02:00
PKGREVISION= 15
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
Update pilot-link-libs, pilot-link, p5-pilot-link to 0.12.1 pilot-link v0.12.1 There isn't much "new" in this release, just some rapid-fire bug fixes reported from users and a lot of code has been cleaned up in the tree to remove unnecessary includes. * Code cleanup in libpisock, libpisync, src and include * Fixed the installation faux pas with udev rules, oops! pilot-link v0.12.0 pilot-link 0.12.0 "Trois ans" ("Three Years") is now official. There have been so many changes in this release and I can't remember them all, but here's the short list: * Many of the userland binaries now have new names, to avoid some potential namespace collisions (dlpsh is now pilot-dlpsh for example, memos is now pilot-memos). If you use scripts which call these applications, you may have to make minor changes to accomodate the new naming scheme. * Documentation is now in DocBook XML, and manpages are dynamically generated from that source. Other docs are much more detailed, and there are quite a few README files that have been added to help. * Direct libusb support! This is one of the most monumental features in 0.12.0, and should help those who have trouble using the kernel's visor driver in Linux with their device. Now you can get a healthy 300% to 600% speedup in sync times, depending on your Palm's processor speed. See doc/README.libusb for details. Thanks go to Zephania Hull for working out how to get native libusb working with pilot-link. * Native support for Mac OS X. You can now just download the tarball and build it directly on Mac OS X machines, and it will just run. Thanks go to Florent Pillet for his tireless work in getting this all working efficiently and for squashing countless bugs in the libraries along the way. * So many other fixes, additions, features and new things to count.
2007-01-26 02:26:46 +01:00
PERL5_LDFLAGS= -lpisock
REPLACE_PERL+= bindings/Perl/h2xs-pilot-link
REPLACE_PERL+= bindings/Perl/dump.pl
REPLACE_PERL+= bindings/Perl/blib/lib/PDA/dump.pl
# Cannot use REPLACE_PERL for this because the substitution needs to be
# done either after build (on src/pilot-ietf2datebook, which is a build
# product) or not on the first line (on src/pilot-ietf2datebook.pl, which
# generates the installed script).
SUBST_CLASSES+= moreperl
SUBST_STAGE.moreperl= post-build
SUBST_MESSAGE.moreperl= Fixing Perl interpreter in build products.
SUBST_FILES.moreperl= src/pilot-ietf2datebook
SUBST_SED.moreperl= -e 1s,/usr/bin/env.perl,${PERL5:Q},
INSTALL_DIRS= bindings
2007-03-24 20:21:18 +01:00
INSTALLATION_DIRS= bin
BUILD_DIRS+= src
BUILD_DIRS+= ${INSTALL_DIRS}
Update pilot-link-libs, pilot-link, p5-pilot-link to 0.12.1 pilot-link v0.12.1 There isn't much "new" in this release, just some rapid-fire bug fixes reported from users and a lot of code has been cleaned up in the tree to remove unnecessary includes. * Code cleanup in libpisock, libpisync, src and include * Fixed the installation faux pas with udev rules, oops! pilot-link v0.12.0 pilot-link 0.12.0 "Trois ans" ("Three Years") is now official. There have been so many changes in this release and I can't remember them all, but here's the short list: * Many of the userland binaries now have new names, to avoid some potential namespace collisions (dlpsh is now pilot-dlpsh for example, memos is now pilot-memos). If you use scripts which call these applications, you may have to make minor changes to accomodate the new naming scheme. * Documentation is now in DocBook XML, and manpages are dynamically generated from that source. Other docs are much more detailed, and there are quite a few README files that have been added to help. * Direct libusb support! This is one of the most monumental features in 0.12.0, and should help those who have trouble using the kernel's visor driver in Linux with their device. Now you can get a healthy 300% to 600% speedup in sync times, depending on your Palm's processor speed. See doc/README.libusb for details. Thanks go to Zephania Hull for working out how to get native libusb working with pilot-link. * Native support for Mac OS X. You can now just download the tarball and build it directly on Mac OS X machines, and it will just run. Thanks go to Florent Pillet for his tireless work in getting this all working efficiently and for squashing countless bugs in the libraries along the way. * So many other fixes, additions, features and new things to count.
2007-01-26 02:26:46 +01:00
SUBST_CLASSES+= progs
SUBST_STAGE.progs= pre-configure
Update pilot-link-libs, pilot-link, p5-pilot-link to 0.12.1 pilot-link v0.12.1 There isn't much "new" in this release, just some rapid-fire bug fixes reported from users and a lot of code has been cleaned up in the tree to remove unnecessary includes. * Code cleanup in libpisock, libpisync, src and include * Fixed the installation faux pas with udev rules, oops! pilot-link v0.12.0 pilot-link 0.12.0 "Trois ans" ("Three Years") is now official. There have been so many changes in this release and I can't remember them all, but here's the short list: * Many of the userland binaries now have new names, to avoid some potential namespace collisions (dlpsh is now pilot-dlpsh for example, memos is now pilot-memos). If you use scripts which call these applications, you may have to make minor changes to accomodate the new naming scheme. * Documentation is now in DocBook XML, and manpages are dynamically generated from that source. Other docs are much more detailed, and there are quite a few README files that have been added to help. * Direct libusb support! This is one of the most monumental features in 0.12.0, and should help those who have trouble using the kernel's visor driver in Linux with their device. Now you can get a healthy 300% to 600% speedup in sync times, depending on your Palm's processor speed. See doc/README.libusb for details. Thanks go to Zephania Hull for working out how to get native libusb working with pilot-link. * Native support for Mac OS X. You can now just download the tarball and build it directly on Mac OS X machines, and it will just run. Thanks go to Florent Pillet for his tireless work in getting this all working efficiently and for squashing countless bugs in the libraries along the way. * So many other fixes, additions, features and new things to count.
2007-01-26 02:26:46 +01:00
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
Update pilot-link-libs, pilot-link, p5-pilot-link to 0.12.1 pilot-link v0.12.1 There isn't much "new" in this release, just some rapid-fire bug fixes reported from users and a lot of code has been cleaned up in the tree to remove unnecessary includes. * Code cleanup in libpisock, libpisync, src and include * Fixed the installation faux pas with udev rules, oops! pilot-link v0.12.0 pilot-link 0.12.0 "Trois ans" ("Three Years") is now official. There have been so many changes in this release and I can't remember them all, but here's the short list: * Many of the userland binaries now have new names, to avoid some potential namespace collisions (dlpsh is now pilot-dlpsh for example, memos is now pilot-memos). If you use scripts which call these applications, you may have to make minor changes to accomodate the new naming scheme. * Documentation is now in DocBook XML, and manpages are dynamically generated from that source. Other docs are much more detailed, and there are quite a few README files that have been added to help. * Direct libusb support! This is one of the most monumental features in 0.12.0, and should help those who have trouble using the kernel's visor driver in Linux with their device. Now you can get a healthy 300% to 600% speedup in sync times, depending on your Palm's processor speed. See doc/README.libusb for details. Thanks go to Zephania Hull for working out how to get native libusb working with pilot-link. * Native support for Mac OS X. You can now just download the tarball and build it directly on Mac OS X machines, and it will just run. Thanks go to Florent Pillet for his tireless work in getting this all working efficiently and for squashing countless bugs in the libraries along the way. * So many other fixes, additions, features and new things to count.
2007-01-26 02:26:46 +01:00
#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 && \
2008-06-12 04:14:13 +02:00
${INSTALL_SCRIPT} ${bin} ${DESTDIR}${PREFIX}/bin
.endfor
2004-04-11 08:59:06 +02:00
.include "../../comms/pilot-link-libs/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"