summaryrefslogtreecommitdiff
path: root/java/collections/Makefile
blob: 6e74a937aee186aaad77b7f874c73bcac8d1abd3 (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
# New ports collection makefile for:    JDK1.1 Collections package
# Date created:		1999/08/08
# Whom:			Jose Marques
#
# $FreeBSD$
#

PORTNAME=	collections
PORTVERSION=	1.1
CATEGORIES=	java
DISTNAME=	collections1_1
EXTRACT_SUFX=	.zip

MAINTAINER=	noway@nohow.demon.co.uk
COMMENT=	JDK1.2 Collections' API for JDK1.1 environments

RUN_DEPENDS=	${LOCALBASE}/jdk${JDK_VERSION}/bin/java:${PORTSDIR}/java/jdk11

USE_ZIP=	YES

WRKSRC=		${WRKDIR}/1.1collections
JDK_VERSION=	1.1.8
NO_BUILD=	yes
NO_CDROM=	"See the license"

.include <bsd.port.pre.mk>
.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
IGNORE=	"You must manually fetch the distribution from http://java.sun.com/products/javabeans/infobus/index.html and place it in ${DISTDIR} then run make again"
.endif

do-install:
	@${MKDIR} ${PREFIX}/share/java/classes/
	@${CP} ${WRKSRC}/lib/*.jar ${PREFIX}/share/java/classes/
	@${MKDIR} ${PREFIX}/share/java/${PKGNAME}/
	@${CP} -R ${WRKSRC}/doc/* ${PREFIX}/share/java/${PKGNAME}/

.include <bsd.port.post.mk>