diff options
author | Alexey Zelkin <phantom@FreeBSD.org> | 2003-03-13 21:58:48 +0000 |
---|---|---|
committer | Alexey Zelkin <phantom@FreeBSD.org> | 2003-03-13 21:58:48 +0000 |
commit | 5349781c479a538b411cb0c75fddbf1b48765765 (patch) | |
tree | 1334745a0068bc9341192da21f4a8a908f12fcb7 /java/linux-sun-jdk14 | |
parent | ccb8609092d7508cdd0e0000f5b4bb429e927f35 (diff) | |
download | ports-5349781c479a538b411cb0c75fddbf1b48765765.tar.gz ports-5349781c479a538b411cb0c75fddbf1b48765765.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)
Notes
Notes:
svn path=/head/; revision=77123
Diffstat (limited to 'java/linux-sun-jdk14')
-rw-r--r-- | java/linux-sun-jdk14/Makefile | 12 |
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 |