aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-Inline-Java/Makefile
blob: 17dc92fc7280ee69c8bc790d2108e1e8a7150ea8 (plain) (blame)
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
# ex:ts=8
# Ports collection makefile for:    Inline::Java
# Date created:         Aug 15, 2002
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   Inline-Java
PORTVERSION=    0.50.91
CATEGORIES= devel perl5
MASTER_SITES=   ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= ../by-authors/id/P/PA/PATL
PKGNAMEPREFIX=  p5-
DISTNAME=   ${PORTNAME}-0.50_91

MAINTAINER= lbr@FreeBSD.org
COMMENT=    Write Perl subroutines and classes in Java

BUILD_DEPENDS=  p5-Inline>=0.44:${PORTSDIR}/devel/p5-Inline \
        p5-MIME-Base64>=0:${PORTSDIR}/converters/p5-MIME-Base64
RUN_DEPENDS=    ${BUILD_DEPENDS}

USE_JAVA=       yes
JAVA_VERSION=   1.4+
JAVA_OS=        native

PERL_CONFIGURE= yes
CONFIGURE_ARGS= J2SDK=${JAVA_HOME} </dev/null

MAN3=       Inline::Java.3 \
        Inline::Java::Callback.3

post-configure:
    ${MAKE} -C ${WRKSRC} java

.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500801
IGNORE= requires at least Perl 5.8.1. Install lang/perl5.8, and try again
.endif
.include <bsd.port.post.mk>