aboutsummaryrefslogtreecommitdiff
path: root/java/linux-sun-jdk12
diff options
context:
space:
mode:
authorGreg Lewis <glewis@FreeBSD.org>2002-06-13 19:25:48 +0000
committerGreg Lewis <glewis@FreeBSD.org>2002-06-13 19:25:48 +0000
commitba8c398f70f09f7937a365966fbd21161e796c4d (patch)
tree53e892897b9a5e24437729e5a7082bbaf6af5323 /java/linux-sun-jdk12
parent1c411ca96d5210baac780f876c0eb5dbd4d2dcb6 (diff)
downloadports-ba8c398f70f09f7937a365966fbd21161e796c4d.tar.gz
ports-ba8c398f70f09f7937a365966fbd21161e796c4d.zip
Notes
Diffstat (limited to 'java/linux-sun-jdk12')
-rw-r--r--java/linux-sun-jdk12/Makefile5
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}