mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-01 22:05:08 +00:00
41 lines
971 B
Makefile
41 lines
971 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>
|
||
|
#
|
||
|
# $Id$
|
||
|
#
|
||
|
|
||
|
DISTNAME= swing11
|
||
|
PKGNAME= jfc-1.1
|
||
|
CATEGORIES= lang
|
||
|
MASTER_SITES= http://java.sun.com/products/jfc/
|
||
|
EXTRACT_SUFX= .tar.Z
|
||
|
|
||
|
MAINTAINER= kuriyama@FreeBSD.ORG
|
||
|
|
||
|
RUN_DEPENDS= ${PREFIX}/${JAVASUBDIR}/bin/java:${PORTSDIR}/lang/jdk
|
||
|
|
||
|
RESTRICTED= "Cannot distribute without value-added application."
|
||
|
WRKSRC= ${WRKDIR}/swing-1.1
|
||
|
NO_BUILD= YES
|
||
|
PLIST_SUB= JFCSUBDIR=${JFCSUBDIR}
|
||
|
|
||
|
JAVASUBDIR= jdk1.1.7
|
||
|
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>
|