blob: 0e29d44c269739c308edcd68ad5a1d9de03b62cf (
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
|
# $NetBSD: Makefile,v 1.10 2001/06/27 18:11:37 jlam Exp $
DISTNAME= pilot-link.0.9.5
PKGNAME= p5-pilot-link-0.1
CATEGORIES= comms perl5
MASTER_SITES= http://www.gnu-designs.com/pilot-link/source/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.gnu-designs.com/pilot-link/
COMMENT= perl interface to pilot-link library
USE_PERL5= # defined
PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/PDA/Pilot/.packlist
EXTRACT_ELEMENTS= ${DISTNAME}/tools/Perl5
WRKSRC= ${WRKDIR}/${EXTRACT_ELEMENTS}
# Force this to come at the end of the "make all" command to override
# OTHERLDFLAGS setting in perl-generated Makefile.
#
ALL_TARGET+= OTHERLDFLAGS="${LDFLAGS}"
pre-configure:
@cd ${WRKSRC}; \
${SED} -e "s|@prefix@|${PREFIX}|g" \
-e "s|@exec_prefix@|${PREFIX}|g" \
-e "s|@libdir@|${PREFIX}/lib|g" \
Makefile.PL.in > Makefile.PL
do-configure:
@cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL ${MAKE_PARAMS}
.include "../../comms/pilot-link-libs/buildlink.mk"
.include "../../mk/bsd.pkg.mk"
|