mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-15 23:50:44 +00:00
65ab34a667
Prompted by PR: 13476, 13477 Submitted by: KATO Tsuguru
41 lines
979 B
Makefile
41 lines
979 B
Makefile
# New ports collection makefile for: Java Foundation Classes with Swing
|
|
# Version required: 1.1
|
|
# Date created: 17 May 1999
|
|
# Whom: Jun Kuriyama <kuriyama@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
DISTNAME= swing11
|
|
PKGNAME= jfc-1.1
|
|
CATEGORIES= java
|
|
MASTER_SITES= http://java.sun.com/products/jfc/
|
|
EXTRACT_SUFX= .tar.Z
|
|
|
|
MAINTAINER= kuriyama@FreeBSD.org
|
|
|
|
RUN_DEPENDS= ${PREFIX}/${JAVASUBDIR}/bin/java:${PORTSDIR}/java/jdk
|
|
|
|
RESTRICTED= "Cannot distribute without value-added application."
|
|
WRKSRC= ${WRKDIR}/swing-1.1
|
|
NO_BUILD= YES
|
|
PLIST_SUB= JFCSUBDIR=${JFCSUBDIR}
|
|
|
|
JAVASUBDIR= jdk1.1.8
|
|
JFCSUBDIR= swing-1.1
|
|
|
|
do-fetch:
|
|
@if [ ! -f ${DISTDIR}/${DISTFILES} ]; then \
|
|
${ECHO} "Please fetch \"${DISTFILES}\" and put it in"; \
|
|
${ECHO} "\"${DISTDIR}\" manually."; \
|
|
exit 1; \
|
|
fi
|
|
|
|
do-install:
|
|
${MKDIR} ${PREFIX}/${JFCSUBDIR}
|
|
(cd ${WRKSRC} && tar -c -f - .) \
|
|
| (cd ${PREFIX}/${JFCSUBDIR} && tar fx -)
|
|
${CHOWN} -R ${SHAREOWN}.${SHAREGRP} ${PREFIX}/${JFCSUBDIR}
|
|
|
|
.include <bsd.port.mk>
|