Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Sep 2000 22:37:51 -0400 (EDT)
From:      leo@florida.sarang.net
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/21435: New port java/jakarta-ant
Message-ID:  <200009210237.e8L2bpm25327@jaguar.jaydaniel.com>

next in thread | raw e-mail | index | archive | help

>Number:         21435
>Category:       ports
>Synopsis:       New port Jakarta Ant (A Java based build tool)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 20 19:40:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Leo Kim
>Release:        FreeBSD 4.1-STABLE i386
>Organization:
JDC
>Environment:

	FreeBSD 4.1-STABLE i386

>Description:

Ant is a Java based build tool. In theory it is kind of like "make" 
without makes wrinkles and with the full portability of pure java code.

>How-To-Repeat:

N/A

>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	jakarta-ant
#	jakarta-ant/files
#	jakarta-ant/files/ant
#	jakarta-ant/files/md5
#	jakarta-ant/pkg
#	jakarta-ant/pkg/COMMENT
#	jakarta-ant/pkg/DESCR
#	jakarta-ant/pkg/PLIST
#	jakarta-ant/Makefile
#
echo c - jakarta-ant
mkdir -p jakarta-ant > /dev/null 2>&1
echo c - jakarta-ant/files
mkdir -p jakarta-ant/files > /dev/null 2>&1
echo x - jakarta-ant/files/ant
sed 's/^X//' >jakarta-ant/files/ant << 'END-of-jakarta-ant/files/ant'
X#! /bin/sh
X
Xif [ -f $HOME/.antrc ] ; then 
X  . $HOME/.antrc
Xfi
X
Xif [ "$ANT_HOME" = "" ] ; then
X  # try to find ANT
X  if [ -d /usr/local/share/java/classes ] ; then 
X    ANT_HOME=/usr/local/share/java/classes
X  fi
X
X  if [ -d ${HOME}/opt/ant ] ; then 
X    ANT_HOME=${HOME}/opt/ant
X  fi
Xfi
X
X# Allow .antrc to specifiy flags to java cmd
Xif [ "$JAVACMD" = "" ] ; then 
X  JAVACMD=java
Xfi
X
XLOCALCLASSPATH=`echo $ANT_HOME/*.jar | tr ' ' ':'`
X
Xif [ "$CLASSPATH" != "" ] ; then
X  LOCALCLASSPATH=$CLASSPATH:$LOCALCLASSPATH
Xfi
X
Xif [ "$JAVA_HOME" != "" ] ; then
X  if test -f $JAVA_HOME/lib/tools.jar ; then
X    LOCALCLASSPATH=$LOCALCLASSPATH:$JAVA_HOME/lib/tools.jar
X  fi
X
X  if test -f $JAVA_HOME/lib/classes.zip ; then
X    LOCALCLASSPATH=$LOCALCLASSPATH:$JAVA_HOME/lib/classes.zip
X  fi
Xfi
X
Xexec ${JAVACMD} -classpath ${LOCALCLASSPATH} -Dant.home=${ANT_HOME} ${ANT_OPTS} org.apache.tools.ant.Main $@
X
END-of-jakarta-ant/files/ant
echo x - jakarta-ant/files/md5
sed 's/^X//' >jakarta-ant/files/md5 << 'END-of-jakarta-ant/files/md5'
XMD5 (jakarta-ant.tar.gz) = 90592dd9f487486f4ace983725efa307
END-of-jakarta-ant/files/md5
echo c - jakarta-ant/pkg
mkdir -p jakarta-ant/pkg > /dev/null 2>&1
echo x - jakarta-ant/pkg/COMMENT
sed 's/^X//' >jakarta-ant/pkg/COMMENT << 'END-of-jakarta-ant/pkg/COMMENT'
XAnt is a Java based build tool
END-of-jakarta-ant/pkg/COMMENT
echo x - jakarta-ant/pkg/DESCR
sed 's/^X//' >jakarta-ant/pkg/DESCR << 'END-of-jakarta-ant/pkg/DESCR'
XAnt is a Java based build tool. In theory it is kind of like "make" 
Xwithout makes wrinkles and with the full portability of pure java code.
X
XWWW: http://jakarta.apache.org/ant/
X
X- Leo Kim
Xleo@florida.sarang.net
END-of-jakarta-ant/pkg/DESCR
echo x - jakarta-ant/pkg/PLIST
sed 's/^X//' >jakarta-ant/pkg/PLIST << 'END-of-jakarta-ant/pkg/PLIST'
Xbin/ant
Xshare/java/classes/ant.jar
Xshare/java/classes/jaxp.jar
Xshare/java/classes/parser.jar
Xshare/java/jakarta/ant/LICENSE
Xshare/java/jakarta/ant/README
Xshare/java/jakarta/ant/TODO
Xshare/java/jakarta/ant/docs/api/allclasses-frame.html
Xshare/java/jakarta/ant/docs/api/com/oreilly/servlet/MailMessage.html
Xshare/java/jakarta/ant/docs/api/com/oreilly/servlet/package-frame.html
Xshare/java/jakarta/ant/docs/api/com/oreilly/servlet/package-summary.html
Xshare/java/jakarta/ant/docs/api/com/oreilly/servlet/package-tree.html
Xshare/java/jakarta/ant/docs/api/deprecated-list.html
Xshare/java/jakarta/ant/docs/api/help-doc.html
Xshare/java/jakarta/ant/docs/api/index-all.html
Xshare/java/jakarta/ant/docs/api/index.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/ant/BuildEvent.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/ant/BuildException.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/ant/BuildListener.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/ant/DefaultLogger.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/ant/DesirableFilter.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/ant/DirectoryScanner.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/ant/EnumeratedAttribute.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/ant/IntrospectionHelper.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/ant/Location.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/ant/Main.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/ant/Map.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/ant/Path.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/ant/PathTokenizer.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/ant/Project.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/ant/ProjectHelper.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/ant/Target.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/ant/Task.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/ant/TaskAdapter.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/ant/XmlLogger.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/ant/package-frame.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/ant/package-summary.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/ant/package-tree.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/ant/taskdefs/Ant.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/ant/taskdefs/AntStructure.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/ant/taskdefs/Available.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/ant/taskdefs/Chmod.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/ant/taskdefs/CompileTask.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/ant/taskdefs/Copydir.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/ant/taskdefs/Copyfile.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/ant/taskdefs/Cvs.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/ant/taskdefs/Delete.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/ant/taskdefs/Deltree.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/ant/taskdefs/Echo.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/ant/taskdefs/Exec.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/ant/taskdefs/Expand.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/ant/taskdefs/Filter.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/ant/taskdefs/FixCRLF.AddAsisRemove.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/ant/taskdefs/FixCRLF.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/ant/taskdefs/GUnzip.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/ant/taskdefs/GZip.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/ant/taskdefs/Get.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/ant/taskdefs/Jar.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/ant/taskdefs/Java.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/ant/taskdefs/Javac.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/ant/taskdefs/Javadoc.DocletInfo.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/ant/taskdefs/Javadoc.DocletParam.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/ant/taskdefs/Javadoc.GroupArgument.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/ant/taskdefs/Javadoc.LinkArgument.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/ant/taskdefs/Javadoc.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/ant/taskdefs/Jikes.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/ant/taskdefs/JikesOutputParser.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/ant/taskdefs/KeySubst.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/ant/taskdefs/MatchingTask.NameEntry.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/ant/taskdefs/MatchingTask.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/ant/taskdefs/Mkdir.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/ant/taskdefs/Patch.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/ant/taskdefs/Property.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/ant/taskdefs/Rename.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/ant/taskdefs/Replace.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/ant/taskdefs/Rmic.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/ant/taskdefs/SignJar.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/ant/taskdefs/Tar.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/ant/taskdefs/TaskOutputStream.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/ant/taskdefs/Taskdef.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/ant/taskdefs/Touch.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/ant/taskdefs/Tstamp.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/ant/taskdefs/Untar.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/ant/taskdefs/XSLTLiaison.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/ant/taskdefs/XSLTProcess.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/ant/taskdefs/Zip.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/ant/taskdefs/optional/NetRexxC.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/ant/taskdefs/optional/RenameExtensions.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/ant/taskdefs/optional/Script.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/ant/taskdefs/optional/XalanLiaison.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/ant/taskdefs/optional/XslpLiaison.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/ant/taskdefs/optional/ejb/DDCreator.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/ant/taskdefs/optional/ejb/DDCreatorHelper.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/ant/taskdefs/optional/ejb/EjbJar.DescriptorHandler.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/ant/taskdefs/optional/ejb/EjbJar.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/ant/taskdefs/optional/ejb/Ejbc.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/ant/taskdefs/optional/ejb/EjbcHelper.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/ant/taskdefs/optional/ejb/WLRun.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/ant/taskdefs/optional/ejb/WLStop.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/ant/taskdefs/optional/ejb/package-frame.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/ant/taskdefs/optional/ejb/package-summary.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/ant/taskdefs/optional/ejb/package-tree.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/ant/taskdefs/optional/package-frame.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/ant/taskdefs/optional/package-summary.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/ant/taskdefs/optional/package-tree.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/ant/taskdefs/optional/vss/MSVSS.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/ant/taskdefs/optional/vss/MSVSSGET.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/ant/taskdefs/optional/vss/package-frame.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/ant/taskdefs/optional/vss/package-summary.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/ant/taskdefs/optional/vss/package-tree.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/ant/taskdefs/package-frame.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/ant/taskdefs/package-summary.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/ant/taskdefs/package-tree.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/tar/TarBuffer.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/tar/TarConstants.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/tar/TarEntry.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/tar/TarInputStream.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/tar/TarOutputStream.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/tar/TarUtils.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/tar/package-frame.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/tar/package-summary.html
Xshare/java/jakarta/ant/docs/api/org/apache/tools/tar/package-tree.html
Xshare/java/jakarta/ant/docs/api/overview-frame.html
Xshare/java/jakarta/ant/docs/api/overview-summary.html
Xshare/java/jakarta/ant/docs/api/overview-tree.html
Xshare/java/jakarta/ant/docs/api/package-list
Xshare/java/jakarta/ant/docs/api/packages.html
Xshare/java/jakarta/ant/docs/api/serialized-form.html
Xshare/java/jakarta/ant/docs/api/stylesheet.css
Xshare/java/jakarta/ant/docs/index.html
X@dirrm share/java/jakarta/ant/docs/api/org/apache/tools/tar
X@dirrm share/java/jakarta/ant/docs/api/org/apache/tools/ant/taskdefs/optional/vss
X@dirrm share/java/jakarta/ant/docs/api/org/apache/tools/ant/taskdefs/optional/ejb
X@dirrm share/java/jakarta/ant/docs/api/org/apache/tools/ant/taskdefs/optional
X@dirrm share/java/jakarta/ant/docs/api/org/apache/tools/ant/taskdefs
X@dirrm share/java/jakarta/ant/docs/api/org/apache/tools/ant
X@dirrm share/java/jakarta/ant/docs/api/org/apache/tools
X@dirrm share/java/jakarta/ant/docs/api/org/apache
X@dirrm share/java/jakarta/ant/docs/api/org
X@dirrm share/java/jakarta/ant/docs/api/com/oreilly/servlet
X@dirrm share/java/jakarta/ant/docs/api/com/oreilly
X@dirrm share/java/jakarta/ant/docs/api/com
X@dirrm share/java/jakarta/ant/docs/api
X@dirrm share/java/jakarta/ant/docs
X@dirrm share/java/jakarta/ant
X@dirrm share/java/jakarta
END-of-jakarta-ant/pkg/PLIST
echo x - jakarta-ant/Makefile
sed 's/^X//' >jakarta-ant/Makefile << 'END-of-jakarta-ant/Makefile'
X# New ports collection makefile for:	jakarta-ant
X# Date created:		20 September 2000
X# Whom:			Leo Kim <leo@florida.sarang.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	ant
XPORTVERSION= 	1.1
XCATEGORIES=	java
XMASTER_SITES=	http://jakarta.apache.org/builds/ant/release/v1.1/bin/
XPKGNAMEPREFIX=	jakarta-
XDISTNAME=	jakarta-ant
X
XMAINTAINER=	leo@florida.sarang.net
X
XRUN_DEPENDS=	${LOCALBASE}/jdk${JDK_VERSION}/bin/javac:${PORTSDIR}/java/jdk
X
XNO_BUILD=	yes
X
XJDK_VERSION=	1.1.8
XWRKSRC=		${WRKDIR}/${DISTNAME}
X
XJAKARTADIR=	`echo ${PKGNAMEPREFIX} | sed 's,-,,g'`
X
Xdo-install:
X	@${MKDIR} ${PREFIX}/share/java/classes
X	@${MKDIR} ${PREFIX}/share/java/${JAKARTADIR}/${PORTNAME}
X	@${MKDIR} ${PREFIX}/share/java/${JAKARTADIR}/${PORTNAME}/docs
X	@(cd ${WRKSRC} && \
X	  ${INSTALL_DATA} lib/*.jar ${PREFIX}/share/java/classes; \
X	  ${CP} [LRT]* ${PREFIX}/share/java/${JAKARTADIR}/${PORTNAME}; \
X	  ${CP} -R docs/* ${PREFIX}/share/java/${JAKARTADIR}/${PORTNAME}/docs; \
X	)
X
Xpost-install:
X	@${INSTALL_DATA} -m 755 -o root -g wheel ${FILESDIR}/ant ${PREFIX}/bin
X
X.include <bsd.port.mk>
END-of-jakarta-ant/Makefile
exit


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200009210237.e8L2bpm25327>