[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / comms / p5-pilot-link

File: [cvs.NetBSD.org] / pkgsrc / comms / p5-pilot-link / Makefile (download)

Revision 1.22, Sun Oct 3 00:13:16 2004 UTC (15 years, 6 months ago) by tv
Branch: MAIN
CVS Tags: pkgsrc-2005Q1-base, pkgsrc-2005Q1, pkgsrc-2004Q4-base, pkgsrc-2004Q4
Changes since 1.21: +2 -2 lines

Libtool fix for PR pkg/26633, and other issues.  Update libtool to 1.5.10
in the process.  (More information on tech-pkg.)

Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.

# $NetBSD: Makefile,v 1.22 2004/10/03 00:13:16 tv Exp $
#

.include "../../comms/pilot-link/Makefile.common"

PKGNAME=                p5-${DISTNAME}
PKGREVISION=		2

COMMENT=		Perl bindings for pilot-link

BUILDLINK_DEPENDS.pilot-link-libs=	pilot-link-libs>=${PILOT_LINK_VERS}

USE_X11=		YES
USE_GNU_TOOLS+=		make
USE_BUILDLINK3=		YES

CONFIGURE_ARGS+=	--with-perl=${PERL5}
PERL5_CONFIGURE=	NO
PERL5_PACKLIST=         ${PERL5_SITEARCH}/auto/PDA/Pilot/.packlist

INSTALL_DIRS=		${WRKSRC}/bindings
BUILD_DIRS+=		${WRKSRC}/src
BUILD_DIRS+=		${INSTALL_DIRS}

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 ietf2datebook pilot-undelete sync-plan
	cd ${WRKSRC}/src &&						\
	${INSTALL_SCRIPT} ${bin} ${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"