aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorphantom <phantom@FreeBSD.org>2003-03-14 05:58:48 +0800
committerphantom <phantom@FreeBSD.org>2003-03-14 05:58:48 +0800
commit5bc34734dd6d762e600da31f819471e8b999fdea (patch)
treeeef2f4cbd34ae5f346be12c45a5dde008bd375f0
parent8f14a517d1c2d2b19131352b5b95f503f7ade337 (diff)
downloadfreebsd-ports-gnome-5bc34734dd6d762e600da31f819471e8b999fdea.tar.gz
freebsd-ports-gnome-5bc34734dd6d762e600da31f819471e8b999fdea.tar.zst
freebsd-ports-gnome-5bc34734dd6d762e600da31f819471e8b999fdea.zip
Make this port non-interactive. I.e. extract distfile unconditionally.
This is pre-requisite of native jdk14 port build on bento. Requested by: kris Approved by: portmgr No response from: znerd (maintainer)
-rw-r--r--java/linux-sun-jdk14/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/java/linux-sun-jdk14/Makefile b/java/linux-sun-jdk14/Makefile
index 89ac8a95277e..66519cb88870 100644
--- a/java/linux-sun-jdk14/Makefile
+++ b/java/linux-sun-jdk14/Makefile
@@ -23,10 +23,6 @@ RUN_DEPENDS= javavm:${PORTSDIR}/java/javavmwrapper
NO_CDROM= "License does not allow distribution with fee"
RESTRICTED= "Redistribution of repackaged binaries not permitted"
-EXTRACT_CMD= # empty
-EXTRACT_BEFORE_ARGS= # empty
-EXTRACT_AFTER_ARGS= # empty
-
WRKSRC= ${WRKDIR}/j2sdk${DL_JDK_VERSION}
PLIST_SUB+= T=${APP_HOME:S/^${PREFIX}\///} PORTVERSION=${PORTVERSION}
@@ -49,8 +45,12 @@ IGNORE=You must manually fetch the J2SE v1.4 SDK Linux GNUZIP Tar shell script (
pre-everything::
@${CAT} ${PKGMESSAGE}
-post-fetch:
- @${CHMOD} +x ${DISTDIR}/${DISTFILES}
+do-extract:
+ @${MKDIR} ${WRKDIR}
+ @cd ${WRKDIR} \
+ && ${TAIL} +430 ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} > ${WRKDIR}/install.sfx \
+ && ${CHMOD} +x ${WRKDIR}/install.sfx \
+ && ${WRKDIR}/install.sfx > /dev/null
post-patch:
${FIND} ${WRKSRC} -name '*.orig' -print | xargs ${RM} -f