summaryrefslogtreecommitdiffstats
path: root/java/linux-blackdown-jdk13/Makefile
diff options
context:
space:
mode:
authorznerd <znerd@FreeBSD.org>2002-12-04 07:33:36 +0000
committerznerd <znerd@FreeBSD.org>2002-12-04 07:33:36 +0000
commit2587ca2698eb7221f7b7235b64955ac4bf59bf51 (patch)
tree8795fd5cc60df8d79b998505476a4dc7a6978637 /java/linux-blackdown-jdk13/Makefile
parent2b554c2290cf7ce3d91c11f21a92eaf1a4d62092 (diff)
downloadFreeBSD-ports-2587ca2698eb7221f7b7235b64955ac4bf59bf51.zip
FreeBSD-ports-2587ca2698eb7221f7b7235b64955ac4bf59bf51.tar.gz
Now extracts non-interactive. Bumped PORTREVISION.
Reviewed by: glewis, kris Approved by: kris
Diffstat (limited to 'java/linux-blackdown-jdk13/Makefile')
-rw-r--r--java/linux-blackdown-jdk13/Makefile14
1 files changed, 8 insertions, 6 deletions
diff --git a/java/linux-blackdown-jdk13/Makefile b/java/linux-blackdown-jdk13/Makefile
index 7949b8d..cef676e6 100644
--- a/java/linux-blackdown-jdk13/Makefile
+++ b/java/linux-blackdown-jdk13/Makefile
@@ -7,6 +7,7 @@
PORTNAME= jdk
PORTVERSION= ${JDK_VERSION}
+PORTREVISION= 1
CATEGORIES= java
MASTER_SITES= ftp://ftp.nluug.nl/pub/os/Linux/java/jdk/${DOWNLOAD_DIR}/ \
ftp://metalab.unc.edu/pub/linux/devel/lang/java/blackdown.org/${DOWNLOAD_DIR}/ \
@@ -20,10 +21,6 @@ MAINTAINER= znerd@FreeBSD.org
BUILD_DEPENDS= ${LOCALBASE}/bin/javavm:${PORTSDIR}/java/javavmwrapper
RUN_DEPENDS= ${LOCALBASE}/bin/javavm:${PORTSDIR}/java/javavmwrapper
-EXTRACT_CMD= # empty
-EXTRACT_BEFORE_ARGS= # empty
-EXTRACT_AFTER_ARGS= # empty
-
WRKSRC= ${WRKDIR}/j2sdk${PORTVERSION}
PLIST_SUB+= T=${APP_HOME:S/^${PREFIX}\///}
@@ -41,8 +38,9 @@ APP_HOME= ${PREFIX}/${PKGNAMEPREFIX}${PORTNAME}${JDK_VERSION}
.include <bsd.port.pre.mk>
-post-fetch:
- @${CHMOD} +x ${DISTDIR}/${DISTFILES}
+do-extract:
+ @${MKDIR} ${WRKDIR}
+ @cd ${WRKDIR} && ${TAIL} +400 ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} | ${BZIP2_CMD} -dc | ${TAR} xf -
post-patch:
@${ECHO} -n ">> Removing unneeded files..."
@@ -62,4 +60,8 @@ do-install:
@${LOCALBASE}/bin/registervm "${APP_HOME}/bin/java # Linux-Blackdown-JDK${PORTVERSION}_${PORTREVISION}"
@${ECHO} " [ DONE ]"
+post-install:
+ @${ECHO} "Please read the license carefully before using this software."
+ @${ECHO} "See: ${APP_HOME}/LICENSE"
+
.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud