aboutsummaryrefslogtreecommitdiff
path: root/java/jdk11/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'java/jdk11/Makefile')
-rw-r--r--java/jdk11/Makefile13
1 files changed, 10 insertions, 3 deletions
diff --git a/java/jdk11/Makefile b/java/jdk11/Makefile
index b5d7c167aef5..f80c6256eaa9 100644
--- a/java/jdk11/Makefile
+++ b/java/jdk11/Makefile
@@ -3,7 +3,7 @@
# Date created: Feb, 8, 1998
# Whom: Nate Williams <nate@FreeBSD.org>
#
-# $Id: Makefile,v 1.20 1999/06/08 16:15:19 nate Exp $
+# $Id: Makefile,v 1.21 1999/06/08 21:57:38 steve Exp $
#
DISTNAME= jdk-${JDK_VERSION}
@@ -24,9 +24,13 @@ NO_BUILD= yes
.include <bsd.port.pre.mk>
.if ${PORTOBJFORMAT} == "aout"
-DISTFILES= jdk${JDK_VERSION}_AOUT.V99-6-3.tar.gz
+NETPATCH= AOUT.netpatch.tar.gz
+DISTFILES= jdk${JDK_VERSION}_AOUT.V99-6-3.tar.gz ${NETPATCH}
+EXTRACT_ONLY= jdk${JDK_VERSION}_AOUT.V99-6-3.tar.gz
.else
-DISTFILES= jdk${JDK_VERSION}_ELF.V99-6-3.tar.gz
+NETPATCH= ELF.netpatch.tar.gz
+DISTFILES= jdk${JDK_VERSION}_ELF.V99-6-3.tar.gz ${NETPATCH}
+EXTRACT_ONLY= jdk${JDK_VERSION}_ELF.V99-6-3.tar.gz
.endif
do-install:
@@ -34,4 +38,7 @@ do-install:
(cd ${WRKSRC} && tar -c -f - .) \
| (cd ${PREFIX}/jdk${JDK_VERSION} && tar fx -)
+post-install:
+ tar xzf ${DISTDIR}/${NETPATCH} -C ${PREFIX}
+
.include <bsd.port.post.mk>