aboutsummaryrefslogtreecommitdiffstats
path: root/java/tya/Makefile
blob: 59df8a9176ebe2f762eddebf9820a2dc494e1b47 (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
# New ports collection makefile for:    tya
# Version required: 1.3v2
# Date created:     16 May 1999
# Whom:         jake@checker.org
#
# $Id: Makefile,v 1.1.1.1 1999/06/09 00:59:02 steve Exp $
#

DISTNAME=   tya13v2
PKGNAME=    tya-1.3v2
CATEGORIES= lang
MASTER_SITES=   ftp://gonzalez.cyberus.ca/pub/Linux/java/
EXTRACT_SUFX=   .tgz

MAINTAINER= jake@checker.org

BUILD_DEPENDS=  ${PREFIX}/jdk1.1.8/bin/java:${PORTSDIR}/lang/jdk:install

WRKSRC=     ${WRKDIR}/tya1.3v2

ONLY_FOR_ARCHS= i386

HAS_CONFIGURE=  yes

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>