1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/java/jdk/Makefile
Bill Fumerola d626858c8c Use ${TAR} and the right arguments to it.
Submitted by:	billf, des (respectivly)
Approved by:	nate (maintainer)
2000-02-07 20:12:07 +00:00

39 lines
881 B
Makefile

# New ports collection makefile for: jdk
# Version required: 1.1.8
# Date created: Feb, 8, 1998
# Whom: Nate Williams <nate@FreeBSD.org>
#
# $FreeBSD$
#
DISTNAME= jdk-${JDK_VERSION}
CATEGORIES= java devel
MASTER_SITES= ftp://ftp.sc.sri.com/pub/FreeBSD/JDK/ \
http://www.freebsd.org/java/
MAINTAINER= nate@FreeBSD.org
NO_CDROM= "License doesn't allow distribution with fee"
ONLY_FOR_ARCHS= i386
JDK_VERSION= 1.1.8
PLIST_SUB+= JDK_VERSION=${JDK_VERSION}
WRKSRC= ${WRKDIR}/jdk${JDK_VERSION}
NO_BUILD= yes
.include <bsd.port.pre.mk>
.if ${PORTOBJFORMAT} == "aout"
DISTFILES= jdk${JDK_VERSION}_AOUT.V1999-11-9.tar.gz
.else
DISTFILES= jdk${JDK_VERSION}_ELF.V1999-11-9.tar.gz
.endif
do-install:
${MKDIR} ${PREFIX}/jdk${JDK_VERSION}
(cd ${WRKSRC} && ${TAR} -c -f - .) \
| (cd ${PREFIX}/jdk${JDK_VERSION} && ${TAR} --unlink -x -f -)
.include <bsd.port.post.mk>