summaryrefslogtreecommitdiff
path: root/comms/p5-pilot-link/Makefile
blob: 61d8ab59f7524dc1574b3fba17a50c238ac1b0b1 (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
# $NetBSD: Makefile,v 1.4 1999/10/07 17:41:47 tron 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:../pilot-link

USE_PERL5=	yes
USE_LIBTOOL=	yes
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--with-perl5=${PERL5_BIN} --without-tcl \
		--without-python --without-java

MAKE_ENV+=	OTHERLDFLAGS="${LDFLAGS}"
PERL5_BIN=	${LOCALBASE}/bin/perl
WRKSRC=		${WRKDIR}/${DISTNAME}/Perl5

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

post-configure:
	cd ${WRKSRC} &&	${PERL5_BIN} Makefile.PL

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