blob: 92300c96d8590938740283d5b3f39b342a2eb417 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# $NetBSD: Makefile,v 1.32 2006/04/17 13:46:19 wiz Exp $
#
.include "../../comms/pilot-link/Makefile.common"
PKGNAME= p5-${DISTNAME}
PKGREVISION= 6
COMMENT= Perl bindings for pilot-link
BUILDLINK_API_DEPENDS.pilot-link-libs= pilot-link-libs>=${PILOT_LINK_VERS}
USE_TOOLS+= gmake
CONFIGURE_ARGS+= --with-perl=${PERL5:Q}
PERL5_CONFIGURE= NO
PERL5_PACKLIST= 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 "../../mk/x11.buildlink3.mk"
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"
|