diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2001-09-10 12:05:28 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2001-09-10 12:05:28 +0000 |
commit | 3e25b260e516f086e63be667c402265f33691366 (patch) | |
tree | 1313cce63d113c841be69a2048168c3e611e220b /java | |
parent | 54c0162df079afdad1234c437807ee8af18f9a4a (diff) | |
download | ports-3e25b260e516f086e63be667c402265f33691366.tar.gz ports-3e25b260e516f086e63be667c402265f33691366.zip |
Notes
Diffstat (limited to 'java')
-rw-r--r-- | java/linux-jdk13/Makefile | 11 | ||||
-rw-r--r-- | java/linux-sun-jdk13/Makefile | 11 |
2 files changed, 12 insertions, 10 deletions
diff --git a/java/linux-jdk13/Makefile b/java/linux-jdk13/Makefile index e75c669266c3..ea860e5dbef8 100644 --- a/java/linux-jdk13/Makefile +++ b/java/linux-jdk13/Makefile @@ -7,6 +7,7 @@ PORTNAME= jdk PORTVERSION= ${JDK_VERSION}.${JDK_REVISION} +PORTREVISION= 1 CATEGORIES= java devel MASTER_SITES= # PKGNAMEPREFIX= linux- @@ -37,13 +38,13 @@ USE_LINUX= yes JDK_VERSION= 1.3.1 JDK_REVISION= 01 ONLY_FOR_ARCHS= i386 -TARGET_DIR?= ${PREFIX}/${PKGBASE}${PORTVERSION} +TARGET_DIR?= ${PREFIX}/${PKGBASE}${JDK_VERSION} DOWNLOAD_URL?= http://java.sun.com/j2se/1.3/download-linux.html .include <bsd.port.pre.mk> .if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) -IGNORE= You must manually fetch the Java 2 Development Kit ${JDK_VERSION} \ +IGNORE= You must manually fetch the Java 2 Development Kit ${PORTVERSION} \ for Linux archive (${DISTNAME}${EXTRACT_SUFX}) from ${DOWNLOAD_URL}, \ choose the "GUNZIP Tar shell script" one and place it in ${DISTDIR} \ and then run make again @@ -56,8 +57,8 @@ post-patch: @find ${WRKSRC} -name '*.orig' -print | xargs ${RM} -f do-install: - @${MKDIR} ${PREFIX}/${PKGNAMEPREFIX}jdk${PORTVERSION} - @${TAR} -C ${WRKSRC} -cf- . | ${TAR} -C ${PREFIX}/${PKGNAMEPREFIX}jdk${PORTVERSION} -xpf- - @${LOCALBASE}/bin/registervm "${PREFIX}/linux-jdk${PORTVERSION}/bin/java # Linux-JDK${PORTVERSION}" + @${MKDIR} ${PREFIX}/${PKGNAMEPREFIX}jdk${JDK_VERSION} + @${TAR} -C ${WRKSRC} -cf- . | ${TAR} -C ${PREFIX}/${PKGNAMEPREFIX}jdk${JDK_VERSION} -xpf- + @${LOCALBASE}/bin/registervm "${PREFIX}/linux-jdk${JDK_VERSION}/bin/java # Linux-JDK${JDK_VERSION}" .include <bsd.port.post.mk> diff --git a/java/linux-sun-jdk13/Makefile b/java/linux-sun-jdk13/Makefile index e75c669266c3..ea860e5dbef8 100644 --- a/java/linux-sun-jdk13/Makefile +++ b/java/linux-sun-jdk13/Makefile @@ -7,6 +7,7 @@ PORTNAME= jdk PORTVERSION= ${JDK_VERSION}.${JDK_REVISION} +PORTREVISION= 1 CATEGORIES= java devel MASTER_SITES= # PKGNAMEPREFIX= linux- @@ -37,13 +38,13 @@ USE_LINUX= yes JDK_VERSION= 1.3.1 JDK_REVISION= 01 ONLY_FOR_ARCHS= i386 -TARGET_DIR?= ${PREFIX}/${PKGBASE}${PORTVERSION} +TARGET_DIR?= ${PREFIX}/${PKGBASE}${JDK_VERSION} DOWNLOAD_URL?= http://java.sun.com/j2se/1.3/download-linux.html .include <bsd.port.pre.mk> .if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) -IGNORE= You must manually fetch the Java 2 Development Kit ${JDK_VERSION} \ +IGNORE= You must manually fetch the Java 2 Development Kit ${PORTVERSION} \ for Linux archive (${DISTNAME}${EXTRACT_SUFX}) from ${DOWNLOAD_URL}, \ choose the "GUNZIP Tar shell script" one and place it in ${DISTDIR} \ and then run make again @@ -56,8 +57,8 @@ post-patch: @find ${WRKSRC} -name '*.orig' -print | xargs ${RM} -f do-install: - @${MKDIR} ${PREFIX}/${PKGNAMEPREFIX}jdk${PORTVERSION} - @${TAR} -C ${WRKSRC} -cf- . | ${TAR} -C ${PREFIX}/${PKGNAMEPREFIX}jdk${PORTVERSION} -xpf- - @${LOCALBASE}/bin/registervm "${PREFIX}/linux-jdk${PORTVERSION}/bin/java # Linux-JDK${PORTVERSION}" + @${MKDIR} ${PREFIX}/${PKGNAMEPREFIX}jdk${JDK_VERSION} + @${TAR} -C ${WRKSRC} -cf- . | ${TAR} -C ${PREFIX}/${PKGNAMEPREFIX}jdk${JDK_VERSION} -xpf- + @${LOCALBASE}/bin/registervm "${PREFIX}/linux-jdk${JDK_VERSION}/bin/java # Linux-JDK${JDK_VERSION}" .include <bsd.port.post.mk> |