summaryrefslogtreecommitdiff
path: root/comms/pilot-link/Makefile
blob: c79fd1dfe2ddf782f1611068bcd5349ba88cb788 (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
# $NetBSD: Makefile,v 1.15 1999/05/20 20:09:50 tron Exp $
#

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

MAINTAINER=	sommerfeld@alum.mit.edu

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

PERL5_BIN=	${LOCALBASE}/bin/perl

post-build:
	@${ECHO} "===>   Building perl5 library"
	@cd ${WRKSRC}/Perl5 && \
	${PERL5_BIN} Makefile.PL && \
	${SETENV} ${MAKE_ENV} \
	  ${MAKE_PROGRAM} ${MAKE_FLAGS} -f ${MAKEFILE} ${ALL_TARGET}

post-install:
	@${ECHO} "===>   Installing perl5 library"
	@cd ${WRKSRC}/Perl5 && \
	${SETENV} ${MAKE_ENV} \
	  ${MAKE_PROGRAM} ${MAKE_FLAGS} -f ${MAKEFILE} ${INSTALL_TARGET}

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