aboutsummaryrefslogtreecommitdiffstats
path: root/java/linux-blackdown-jdk12/Makefile
blob: a52c2e5818208aa256d77cc0b60247886e99b1b6 (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
# New ports collection makefile for:    linux jdk 1.2.2
# Date created:     Nov 3 1999
# Whom:         Jose Marques
#
# $FreeBSD$
#

PORTNAME=   jdk
PORTVERSION=    1.2.2
CATEGORIES= java devel
MASTER_SITES=   ftp://ftp.uk.linux.org/pub/linux/java/JDK-1.2.2/i386/rc4/ \
        ftp://ftp.tux.org/pub/java/JDK-1.2.2/i386/rc4/
PKGNAMEPREFIX=  linux-
DISTNAME=   jdk-1.2.2-RC4-linux-i386-glibc-2.1.2

MAINTAINER= K.J.Koster@kpn.com

RUN_DEPENDS=    /compat/linux/usr/i486-linux-libc5/lib/libc.so.5:${PORTSDIR}/emulators/linux_base

NO_CDROM=   "License doesn't allow distribution with fee"
NO_PACKAGE= "License doesn't allow binary distributions"

ONLY_FOR_ARCHS= i386

USE_BZIP2=  YES
WRKSRC=     ${WRKDIR}/jdk1.2.2
NO_BUILD=       yes

do-install:
    ${MKDIR} ${PREFIX}/linux-jdk1.2.2
    (cd ${WRKSRC} && tar -c -f - .) \
        | (cd ${PREFIX}/linux-jdk1.2.2 && tar fx -)
    ${RM} ${PREFIX}/linux-jdk1.2.2/bin/.java_wrapper.orig
    ${RM} ${PREFIX}/linux-jdk1.2.2/jre/bin/.java_wrapper.orig

.include <bsd.port.mk>