diff options
Diffstat (limited to 'java')
-rw-r--r-- | java/linux-sun-jdk12/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/java/linux-sun-jdk12/Makefile b/java/linux-sun-jdk12/Makefile index 50824f06d350..710177128085 100644 --- a/java/linux-sun-jdk12/Makefile +++ b/java/linux-sun-jdk12/Makefile @@ -33,7 +33,7 @@ RESTRICTED= "Redistribution of repackaged binaries not permitted" IGNORE= "You can not legally distribute binaries" .endif -APP_HOME= ${PREFIX}/${PKGNAME} +APP_HOME= ${PREFIX}/${PKGNAMEPREFIX}jdk1.2.2 DOWNLOAD_URL= http://java.sun.com/Download5?config-file=${PORTNAME}-${JDK_VERSION:S/./_/g}.config&platform=linux-${ARCH} .include <bsd.port.pre.mk> @@ -42,6 +42,9 @@ DOWNLOAD_URL= http://java.sun.com/Download5?config-file=${PORTNAME}-${JDK_VERSIO IGNORE=You must manually fetch the Sun Java 2 Standard Edition SDK ${JDK_VERSION} for Linux archive (${DISTNAME}${EXTRACT_SUFX}) from ${DOWNLOAD_URL}, place it in ${DISTDIR} and then run make again. .endif +post-patch: + @${FIND} ${WRKSRC} -name '*.orig' -print | xargs ${RM} -f + do-install: @${ECHO} -n "Creating destination directory ${APP_HOME}..." @${MKDIR} ${APP_HOME} |