summaryrefslogtreecommitdiff
path: root/comms/p5-pilot-link/Makefile
blob: edea0f348544aa5d01888dcc47e759961f17ae46 (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
# $NetBSD: Makefile,v 1.8 2000/08/29 20:48:08 jlam Exp $

DISTNAME=		pilot-link.0.9.3
PKGNAME=		p5-pilot-link-0.9.3
CATEGORIES=		comms
MASTER_SITES=		ftp://ryeham.ee.ryerson.ca/pub/PalmOS/

MAINTAINER=		packages@netbsd.org

DEPENDS+=		pilot-link-0.9.3:../../comms/pilot-link

USE_PERL5=		# defined
PERL5_PACKLIST=		${PERL5_SITEARCH}/auto/PDA/Pilot/.packlist

USE_LIBTOOL=		# defined
LTCONFIG_OVERRIDE=	${WRKDIR}/${DISTNAME}/scripts/ltconfig

GNU_CONFIGURE=		# defined
CONFIGURE_ARGS=		--with-perl5=${PERL5} --without-tcl \
			--without-python --without-java

MAKE_ENV+=		OTHERLDFLAGS="${LDFLAGS}"
WRKSRC=			${WRKDIR}/${DISTNAME}/Perl5

# Until the source catches up to the current Perl API, we need PERL_POLLUTE
# to look like an older perl.
MAKE_PARAMS=		DEFINE="-DPERL_POLLUTE=1"

pre-configure:
	@cd ${WRKSRC} && \
	${RM} -f configure && \
	${ECHO} >configure '#!/bin/sh' && \
	${ECHO} >>configure 'cd .. && exec ./configure $${1+$$@}' && \
	${CHMOD} ${BINMODE} configure

post-configure:
	@cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL ${MAKE_PARAMS}

.include "../../mk/bsd.pkg.mk"