diff options
author | alfred <alfred@FreeBSD.org> | 2004-01-03 03:11:16 +0800 |
---|---|---|
committer | alfred <alfred@FreeBSD.org> | 2004-01-03 03:11:16 +0800 |
commit | 887d2c42aa3d26917284bb510247e48ca0d56821 (patch) | |
tree | 1849f1ee7b69fb6b0dc7b0d3de372d24593cbdd0 | |
parent | 91f5ae5af45b1b80fafe216434e3afae40383600 (diff) | |
download | freebsd-ports-gnome-887d2c42aa3d26917284bb510247e48ca0d56821.tar.gz freebsd-ports-gnome-887d2c42aa3d26917284bb510247e48ca0d56821.tar.zst freebsd-ports-gnome-887d2c42aa3d26917284bb510247e48ca0d56821.zip |
Don't use a leading zero in PORTREVISION, it confuses the pkg* tools and
portupgrade with "missing origin".
Properly detect that the distfile doesn't exist. We can't use
${DISTDIR}/${DISTFILES} because it's not defined until after
bsd.port.post.mk, but after inclusion of bsd.port.post.mk we
can not define IGNORE. To fix use the already known variables
as so: ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}
Reviewed by: maintainer timeout.
PR: ports/60652
-rw-r--r-- | java/j2sdkee13/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/java/j2sdkee13/Makefile b/java/j2sdkee13/Makefile index f17be0b1f492..17919c1b2afe 100644 --- a/java/j2sdkee13/Makefile +++ b/java/j2sdkee13/Makefile @@ -7,13 +7,13 @@ PORTNAME= j2sdkee PORTVERSION= 1.3.1 -PORTREVISION= 02 +PORTREVISION= 3 CATEGORIES= java MASTER_SITES= # http://java.sun.com/j2ee/sdk_1.3/ DISTNAME= ${PORTNAME}-${PORTVERSION:S/./_/g}-linux MAINTAINER= des@freebsd.org -COMMENT= Java 2 SDK, Enterprise Edition +COMMENT= Java 2 SDK Enterprise Edition USE_JAVA= 1.3+ @@ -22,12 +22,12 @@ NO_BUILD= YES RESTRICTED= "Redistribution is not permitted" NO_CDROM= "Redistribution is not permitted" -J2SDKEEVERSION= ${PORTVERSION}_${PORTREVISION} +J2SDKEEVERSION=${PORTVERSION}_02 DOWNLOAD_URL= http://java.sun.com/j2ee/sdk_1.3/ .include <bsd.port.pre.mk> -.if !exists(${DISTDIR}/${DISTFILES}) && !defined(PACKAGE_BUILDING) +.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) && !defined(PACKAGE_BUILDING) IGNORE= You must manually fetch the Java 2 SDK Enterprise Edition\ ${J2SDKEEVERSION} tarball from ${DOWNLOAD_URL}; download\ the \"Linux Install\" into ${DISTDIR} and run ${MAKE} again |