1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/java/jfc/Makefile

45 lines
1.4 KiB
Makefile
Raw Normal View History

1999-06-09 13:08:43 +00:00
# New ports collection makefile for: Java Foundation Classes with Swing
# Date created: 17 May 1999
# 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
#
PORTNAME= jfc
PORTVERSION= 1.1.1
CATEGORIES= java
1999-06-09 13:08:43 +00:00
MASTER_SITES= http://java.sun.com/products/jfc/
DISTNAME= swing1_1_1
EXTRACT_SUFX= .zip
1999-06-09 13:08:43 +00:00
MAINTAINER= kuriyama@FreeBSD.org
1999-06-09 13:08:43 +00:00
RUN_DEPENDS= ${PREFIX}/jdk${JDK_VERSION}/bin/java:${PORTSDIR}/java/jdk
1999-06-09 13:08:43 +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
PLIST_SUB= JFCSUBDIR=${PKGNAME}
1999-06-09 13:08:43 +00:00
JDK_VERSION= 1.1.8
1999-06-09 13:08:43 +00:00
.include <bsd.port.pre.mk>
1999-06-09 13:08:43 +00:00
.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
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.'
.endif
1999-06-09 13:08:43 +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}/
.include <bsd.port.post.mk>