mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-03 01:23:49 +00:00
Upgrade to 1.5.0 beta 1.
The port now installs into ${PREFIX} instead of ${PREFIX}/share/java since this is an application, not a library. For a list of changes, see: http://jakarta.apache.org/builds/jakarta-ant/release/v1.5Beta1/
This commit is contained in:
parent
ae0026bb9c
commit
29a33fa120
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=59643
@ -6,15 +6,12 @@
|
||||
#
|
||||
|
||||
PORTNAME= jakarta-ant
|
||||
PORTVERSION= 1.4.1
|
||||
PORTREVISION= 2
|
||||
PORTVERSION= 1.5.0.b1
|
||||
CATEGORIES= devel java
|
||||
MASTER_SITES= http://jakarta.apache.org/builds/${PORTNAME}/release/v${PORTVERSION}/bin/ \
|
||||
MASTER_SITES= http://jakarta.apache.org/builds/${PORTNAME}/release/v${ANT_VERSION}/bin/ \
|
||||
http://www.metaverse.nl/~ernst/
|
||||
DISTFILES= ${DISTNAME}-bin${EXTRACT_SUFX} \
|
||||
${DISTNAME}-optional.jar
|
||||
DISTNAME= ${PORTNAME}-${ANT_VERSION}-bin
|
||||
DIST_SUBDIR= jakarta
|
||||
EXTRACT_ONLY= ${DISTNAME}-bin${EXTRACT_SUFX}
|
||||
|
||||
MAINTAINER= znerd@FreeBSD.org
|
||||
|
||||
@ -23,16 +20,18 @@ RUN_DEPENDS= ${LOCALBASE}/share/java/classes/crimson.jar:${PORTSDIR}/textproc/cr
|
||||
USE_JAVA= 1.2+
|
||||
|
||||
NO_BUILD= YES
|
||||
PORTDESTDIR= ${PREFIX}/share/java/${DISTNAME}
|
||||
PORTDESTDIR= ${PREFIX}/${DISTNAME}
|
||||
PLIST_SUB+= T=${PORTDESTDIR:S/^${PREFIX}\///}
|
||||
|
||||
READMES= LICENSE README WHATSNEW
|
||||
SCRIPTS= bin/ant bin/antRun bin/runant.pl
|
||||
ANT_VERSION= 1.5Beta1
|
||||
|
||||
DATADIRS= lib
|
||||
.if !defined(NOPORTDOCS)
|
||||
DATADIRS+= docs
|
||||
.endif
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${ANT_VERSION}
|
||||
|
||||
post-patch:
|
||||
@${ECHO_CMD} -n ">> Customizing ant shell script..."
|
||||
@ -74,7 +73,6 @@ do-install:
|
||||
.endif
|
||||
|
||||
@${ECHO_CMD} -n ">> Installing additional JAR files..."
|
||||
@${INSTALL_DATA} ${_DISTDIR}/${DISTNAME}-optional.jar ${PORTDESTDIR}/lib/optional.jar
|
||||
@${LN} -sf ../../classes/jaxp.jar ${PORTDESTDIR}/lib
|
||||
@${LN} -sf ../../classes/crimson.jar ${PORTDESTDIR}/lib
|
||||
@${ECHO_CMD} " [ DONE ]"
|
||||
|
@ -1,2 +1 @@
|
||||
MD5 (jakarta/jakarta-ant-1.4.1-bin.tar.gz) = 02dcc2404c33a39b29efe2e7cc5bcb3a
|
||||
MD5 (jakarta/jakarta-ant-1.4.1-optional.jar) = 319583f83c98e7c9db4d73b2d1122d76
|
||||
MD5 (jakarta/jakarta-ant-1.5Beta1-bin.tar.gz) = 0dfc58ef4a7d603df7212ef8ea1e0f1c
|
||||
|
@ -1,12 +1,16 @@
|
||||
--- bin/ant.orig Thu Oct 11 15:57:19 2001
|
||||
+++ bin/ant Sat Apr 13 13:12:06 2002
|
||||
@@ -1,9 +1,16 @@
|
||||
#! /bin/sh
|
||||
--- bin/ant.orig Tue May 21 17:57:59 2002
|
||||
+++ bin/ant Tue May 21 17:58:50 2002
|
||||
@@ -3,6 +3,9 @@
|
||||
# Copyright (c) 2001-2002 The Apache Software Foundation. All rights
|
||||
# reserved.
|
||||
|
||||
+DEFAULT_JAVACMD=%%JAVA%%
|
||||
+DEFAULT_JAVA_HOME=%%JAVA_HOME%%
|
||||
+
|
||||
if [ -f $HOME/.antrc ] ; then
|
||||
# load system-wide ant configuration
|
||||
if [ -f "/etc/ant.conf" ] ; then
|
||||
. /etc/ant.conf
|
||||
@@ -21,6 +24,10 @@
|
||||
. $HOME/.antrc
|
||||
fi
|
||||
|
||||
@ -17,8 +21,8 @@
|
||||
# OS specific support. $var _must_ be set to either true or false.
|
||||
cygwin=false;
|
||||
darwin=false;
|
||||
@@ -59,7 +66,7 @@
|
||||
JAVACMD=$JAVA_HOME/bin/java
|
||||
@@ -88,7 +95,7 @@
|
||||
JAVACMD="$JAVA_HOME/bin/java"
|
||||
fi
|
||||
else
|
||||
- JAVACMD=java
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -6,15 +6,12 @@
|
||||
#
|
||||
|
||||
PORTNAME= jakarta-ant
|
||||
PORTVERSION= 1.4.1
|
||||
PORTREVISION= 2
|
||||
PORTVERSION= 1.5.0.b1
|
||||
CATEGORIES= devel java
|
||||
MASTER_SITES= http://jakarta.apache.org/builds/${PORTNAME}/release/v${PORTVERSION}/bin/ \
|
||||
MASTER_SITES= http://jakarta.apache.org/builds/${PORTNAME}/release/v${ANT_VERSION}/bin/ \
|
||||
http://www.metaverse.nl/~ernst/
|
||||
DISTFILES= ${DISTNAME}-bin${EXTRACT_SUFX} \
|
||||
${DISTNAME}-optional.jar
|
||||
DISTNAME= ${PORTNAME}-${ANT_VERSION}-bin
|
||||
DIST_SUBDIR= jakarta
|
||||
EXTRACT_ONLY= ${DISTNAME}-bin${EXTRACT_SUFX}
|
||||
|
||||
MAINTAINER= znerd@FreeBSD.org
|
||||
|
||||
@ -23,16 +20,18 @@ RUN_DEPENDS= ${LOCALBASE}/share/java/classes/crimson.jar:${PORTSDIR}/textproc/cr
|
||||
USE_JAVA= 1.2+
|
||||
|
||||
NO_BUILD= YES
|
||||
PORTDESTDIR= ${PREFIX}/share/java/${DISTNAME}
|
||||
PORTDESTDIR= ${PREFIX}/${DISTNAME}
|
||||
PLIST_SUB+= T=${PORTDESTDIR:S/^${PREFIX}\///}
|
||||
|
||||
READMES= LICENSE README WHATSNEW
|
||||
SCRIPTS= bin/ant bin/antRun bin/runant.pl
|
||||
ANT_VERSION= 1.5Beta1
|
||||
|
||||
DATADIRS= lib
|
||||
.if !defined(NOPORTDOCS)
|
||||
DATADIRS+= docs
|
||||
.endif
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${ANT_VERSION}
|
||||
|
||||
post-patch:
|
||||
@${ECHO_CMD} -n ">> Customizing ant shell script..."
|
||||
@ -74,7 +73,6 @@ do-install:
|
||||
.endif
|
||||
|
||||
@${ECHO_CMD} -n ">> Installing additional JAR files..."
|
||||
@${INSTALL_DATA} ${_DISTDIR}/${DISTNAME}-optional.jar ${PORTDESTDIR}/lib/optional.jar
|
||||
@${LN} -sf ../../classes/jaxp.jar ${PORTDESTDIR}/lib
|
||||
@${LN} -sf ../../classes/crimson.jar ${PORTDESTDIR}/lib
|
||||
@${ECHO_CMD} " [ DONE ]"
|
||||
|
@ -1,2 +1 @@
|
||||
MD5 (jakarta/jakarta-ant-1.4.1-bin.tar.gz) = 02dcc2404c33a39b29efe2e7cc5bcb3a
|
||||
MD5 (jakarta/jakarta-ant-1.4.1-optional.jar) = 319583f83c98e7c9db4d73b2d1122d76
|
||||
MD5 (jakarta/jakarta-ant-1.5Beta1-bin.tar.gz) = 0dfc58ef4a7d603df7212ef8ea1e0f1c
|
||||
|
@ -1,12 +1,16 @@
|
||||
--- bin/ant.orig Thu Oct 11 15:57:19 2001
|
||||
+++ bin/ant Sat Apr 13 13:12:06 2002
|
||||
@@ -1,9 +1,16 @@
|
||||
#! /bin/sh
|
||||
--- bin/ant.orig Tue May 21 17:57:59 2002
|
||||
+++ bin/ant Tue May 21 17:58:50 2002
|
||||
@@ -3,6 +3,9 @@
|
||||
# Copyright (c) 2001-2002 The Apache Software Foundation. All rights
|
||||
# reserved.
|
||||
|
||||
+DEFAULT_JAVACMD=%%JAVA%%
|
||||
+DEFAULT_JAVA_HOME=%%JAVA_HOME%%
|
||||
+
|
||||
if [ -f $HOME/.antrc ] ; then
|
||||
# load system-wide ant configuration
|
||||
if [ -f "/etc/ant.conf" ] ; then
|
||||
. /etc/ant.conf
|
||||
@@ -21,6 +24,10 @@
|
||||
. $HOME/.antrc
|
||||
fi
|
||||
|
||||
@ -17,8 +21,8 @@
|
||||
# OS specific support. $var _must_ be set to either true or false.
|
||||
cygwin=false;
|
||||
darwin=false;
|
||||
@@ -59,7 +66,7 @@
|
||||
JAVACMD=$JAVA_HOME/bin/java
|
||||
@@ -88,7 +95,7 @@
|
||||
JAVACMD="$JAVA_HOME/bin/java"
|
||||
fi
|
||||
else
|
||||
- JAVACMD=java
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user