diff options
author | sobomax <sobomax@FreeBSD.org> | 2001-05-29 20:33:01 +0800 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2001-05-29 20:33:01 +0800 |
commit | f248611e126f206b54248a5b9f17ab1833a20acf (patch) | |
tree | 111e7441038f43525339839b6289fd6ccee58c0c | |
parent | 8d72cc39b93dcb9425f5ec2e539c3f1f0fa1eac1 (diff) | |
download | freebsd-ports-gnome-f248611e126f206b54248a5b9f17ab1833a20acf.tar.gz freebsd-ports-gnome-f248611e126f206b54248a5b9f17ab1833a20acf.tar.zst freebsd-ports-gnome-f248611e126f206b54248a5b9f17ab1833a20acf.zip |
- Properly define DISTFILES, so the port doesn't fail miserably if it is not
present;
- deregister VM on uninstall.
PR: 27718
Submitted by: Andreas Schulz <ats@first.gmd.de>
Reviewed by: maintainer
Approved by: maintainer
-rw-r--r-- | java/linux-jdk14/Makefile | 7 | ||||
-rw-r--r-- | java/linux-jdk14/pkg-plist | 1 | ||||
-rw-r--r-- | java/linux-sun-jdk14/Makefile | 7 | ||||
-rw-r--r-- | java/linux-sun-jdk14/pkg-plist | 1 |
4 files changed, 8 insertions, 8 deletions
diff --git a/java/linux-jdk14/Makefile b/java/linux-jdk14/Makefile index 51721394137a..410517ef23d0 100644 --- a/java/linux-jdk14/Makefile +++ b/java/linux-jdk14/Makefile @@ -10,8 +10,7 @@ PORTVERSION= ${JDK_VERSION:S/-//g} CATEGORIES= java devel MASTER_SITES= # PKGNAMEPREFIX= linux- -DISTNAME= j2sdk-${JDK_VERSION:S/./_/g}-linux-i386 -EXTRACT_SUFX= .bin +DISTFILES= j2sdk-${JDK_VERSION:S/./_/g}-linux-i386.bin MAINTAINER= ernst@jollem.com @@ -21,7 +20,7 @@ NO_CDROM= "License doesn\'t allow distribution with fee" RESTRICTED= "Redistribution of repackaged binaries not permitted" .if defined(BATCH) || defined(PACKAGE_BUILDING) -IGNORE= "You can not legally distribute binaries" +IGNORE="You can not legally distribute binaries" .endif EXTRACT_CMD= # empty @@ -41,7 +40,7 @@ TARGET_PREFIX?= ${PREFIX}/${PKGBASE}${PORTVERSION} .for file in ${DISTFILES} .if !exists(${DISTDIR}/${file}) -IGNORE=You must manually fetch the Java 2 Development Kit ${JDK_VERSION} for Linux archive (${DISTFILES}) from http://java.sun.com/j2se/1.3/download-linux.html, place it in ${DISTDIR} and then run make again. +IGNORE=You must manually fetch the Java 2 Development Kit ${JDK_VERSION} for Linux archive (${DISTFILES}) from http://java.sun.com/j2se/1.3/download-linux.html, place it in ${DISTDIR} and then run make again .endif .endfor diff --git a/java/linux-jdk14/pkg-plist b/java/linux-jdk14/pkg-plist index defd5d256401..b701c032e57a 100644 --- a/java/linux-jdk14/pkg-plist +++ b/java/linux-jdk14/pkg-plist @@ -1165,3 +1165,4 @@ @dirrm %%TARGET_PREFIX%%/man/ja_JP.eucJP @dirrm %%TARGET_PREFIX%%/man @dirrm %%TARGET_PREFIX%% +@unexec %%LOCALBASE%%/bin/unregistervm "%D/%%TARGET_PREFIX%%/bin/java" diff --git a/java/linux-sun-jdk14/Makefile b/java/linux-sun-jdk14/Makefile index 51721394137a..410517ef23d0 100644 --- a/java/linux-sun-jdk14/Makefile +++ b/java/linux-sun-jdk14/Makefile @@ -10,8 +10,7 @@ PORTVERSION= ${JDK_VERSION:S/-//g} CATEGORIES= java devel MASTER_SITES= # PKGNAMEPREFIX= linux- -DISTNAME= j2sdk-${JDK_VERSION:S/./_/g}-linux-i386 -EXTRACT_SUFX= .bin +DISTFILES= j2sdk-${JDK_VERSION:S/./_/g}-linux-i386.bin MAINTAINER= ernst@jollem.com @@ -21,7 +20,7 @@ NO_CDROM= "License doesn\'t allow distribution with fee" RESTRICTED= "Redistribution of repackaged binaries not permitted" .if defined(BATCH) || defined(PACKAGE_BUILDING) -IGNORE= "You can not legally distribute binaries" +IGNORE="You can not legally distribute binaries" .endif EXTRACT_CMD= # empty @@ -41,7 +40,7 @@ TARGET_PREFIX?= ${PREFIX}/${PKGBASE}${PORTVERSION} .for file in ${DISTFILES} .if !exists(${DISTDIR}/${file}) -IGNORE=You must manually fetch the Java 2 Development Kit ${JDK_VERSION} for Linux archive (${DISTFILES}) from http://java.sun.com/j2se/1.3/download-linux.html, place it in ${DISTDIR} and then run make again. +IGNORE=You must manually fetch the Java 2 Development Kit ${JDK_VERSION} for Linux archive (${DISTFILES}) from http://java.sun.com/j2se/1.3/download-linux.html, place it in ${DISTDIR} and then run make again .endif .endfor diff --git a/java/linux-sun-jdk14/pkg-plist b/java/linux-sun-jdk14/pkg-plist index defd5d256401..b701c032e57a 100644 --- a/java/linux-sun-jdk14/pkg-plist +++ b/java/linux-sun-jdk14/pkg-plist @@ -1165,3 +1165,4 @@ @dirrm %%TARGET_PREFIX%%/man/ja_JP.eucJP @dirrm %%TARGET_PREFIX%%/man @dirrm %%TARGET_PREFIX%% +@unexec %%LOCALBASE%%/bin/unregistervm "%D/%%TARGET_PREFIX%%/bin/java" |