summaryrefslogtreecommitdiff
path: root/java/tya/Makefile
blob: c31d4cef13753435d2b30b83e8e63aaec9be7525 (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
# New ports collection makefile for:	tya
# Date created:		16 May 1999
# Whom:			jburkhol@home.com
#
# $FreeBSD$
#

PORTNAME=	tya
PORTVERSION=	1.7.2
CATEGORIES=	java
MASTER_SITES=	http://sax.sax.de/~adlibit/
DISTNAME=	tya17v2
EXTRACT_SUFX=	.tgz

MAINTAINER=	jburkhol@home.com

BUILD_DEPENDS=	${LOCALBASE}/${JAVADIR}/bin/java:${PORTSDIR}/java/jdk

WRKSRC=		${WRKDIR}/${DISTNAME:S/a1/a1./}

ONLY_FOR_ARCHS=	i386

HAS_CONFIGURE=	yes
CONFIGURE_ARGS+=	--with-jdk=${LOCALBASE}/${JAVADIR}

JAVADIR=	jdk1.1.8
JAVALIBDIR=	${PREFIX}/${JAVADIR}/lib/i386/green_threads/

PLIST_SUB=	JAVADIR=${JAVADIR}

do-install:
	@${INSTALL_PROGRAM} ${WRKSRC}/libtya.so ${JAVALIBDIR}

post-install:
	@${MKDIR} ${PREFIX}/${JAVADIR}/tya
	@${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/${JAVADIR}/tya
	@${ECHO_MSG} ""
	@${ECHO_MSG} "See ${PREFIX}/${JAVADIR}/tya/README for usage instructions."
	@${ECHO_MSG} ""

.include <bsd.port.mk>