From 5bc34734dd6d762e600da31f819471e8b999fdea Mon Sep 17 00:00:00 2001 From: phantom Date: Thu, 13 Mar 2003 21:58:48 +0000 Subject: 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) --- java/linux-sun-jdk14/Makefile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'java/linux-sun-jdk14/Makefile') 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 -- cgit