1999-06-09 13:08:43 +00:00
# New ports collection makefile for: Java Foundation Classes with Swing
# Date created: 17 May 1999
1999-08-31 06:53:31 +00:00
# Whom: Jun Kuriyama <kuriyama@FreeBSD.org>
1999-06-09 13:08:43 +00:00
#
1999-08-25 06:16:32 +00:00
# $FreeBSD$
1999-06-09 13:08:43 +00:00
#
2000-04-12 06:21:15 +00:00
PORTNAME = jfc
PORTVERSION = 1.1.1
1999-06-28 02:24:57 +00:00
CATEGORIES = java
1999-06-09 13:08:43 +00:00
MASTER_SITES = http://java.sun.com/products/jfc/
2000-04-12 06:21:15 +00:00
DISTNAME = swing1_1_1
1999-10-07 04:35:04 +00:00
EXTRACT_SUFX = .zip
1999-06-09 13:08:43 +00:00
1999-08-31 06:53:31 +00:00
MAINTAINER = kuriyama@FreeBSD.org
1999-06-09 13:08:43 +00:00
1999-10-07 04:35:04 +00:00
RUN_DEPENDS = ${ PREFIX } /jdk${ JDK_VERSION } /bin/java:${ PORTSDIR } /java/jdk
1999-06-09 13:08:43 +00:00
1999-10-07 04:35:04 +00:00
USE_ZIP = YES
RESTRICTED = "Can only be distributed with value added application"
WRKSRC = ${ WRKDIR } /swing-1.1.1fcs
1999-06-09 13:08:43 +00:00
NO_BUILD = YES
1999-10-07 04:35:04 +00:00
PLIST_SUB = JFCSUBDIR = ${ PKGNAME }
1999-06-09 13:08:43 +00:00
1999-10-07 04:35:04 +00:00
JDK_VERSION = 1.1.8
1999-06-09 13:08:43 +00:00
1999-10-07 04:35:04 +00:00
. i n c l u d e < b s d . p o r t . p r e . m k >
1999-06-09 13:08:43 +00:00
1999-10-07 04:35:04 +00:00
. i f ! e x i s t s ( $ { D I S T D I R } / $ { D I S T N A M E } $ { E X T R A C T _ S U F X } )
IGNORE = 'You must manually fetch the standard zip format distribution from http://www.javasoft.com/products/jfc/download.html and place it in ${DISTDIR} then run make again.'
. e n d i f
1999-06-09 13:08:43 +00:00
1999-10-07 04:35:04 +00:00
do-install :
@${ MKDIR } ${ PREFIX } /share/java/classes/${ PKGNAME } /
@${ CP } ${ WRKSRC } /*.jar ${ PREFIX } /share/java/classes/${ PKGNAME } /
@${ MKDIR } ${ PREFIX } /share/java/${ PKGNAME } /
@${ CP } ${ WRKSRC } /CHANGES.txt ${ PREFIX } /share/java/${ PKGNAME } /
@${ CP } ${ WRKSRC } /LICENSE.txt ${ PREFIX } /share/java/${ PKGNAME } /
@${ CP } ${ WRKSRC } /README.html ${ PREFIX } /share/java/${ PKGNAME } /
@${ CP } ${ WRKSRC } /README.txt ${ PREFIX } /share/java/${ PKGNAME } /
@${ CP } -R ${ WRKSRC } /doc ${ PREFIX } /share/java/${ PKGNAME } /
@${ CP } -R ${ WRKSRC } /examples ${ PREFIX } /share/java/${ PKGNAME } /
. i n c l u d e < b s d . p o r t . p o s t . m k >