From owner-freebsd-ports Thu Dec 7 17:10:11 2000 From owner-freebsd-ports@FreeBSD.ORG Thu Dec 7 17:10:05 2000 Return-Path: Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 46EFA37B401 for ; Thu, 7 Dec 2000 17:10:05 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id eB81A5t30896; Thu, 7 Dec 2000 17:10:05 -0800 (PST) (envelope-from gnats) Resent-Date: Thu, 7 Dec 2000 17:10:05 -0800 (PST) Resent-Message-Id: <200012080110.eB81A5t30896@freefall.freebsd.org> Resent-From: gnats-admin@FreeBSD.org (GNATS Management) Resent-To: freebsd-ports@FreeBSD.org Resent-Reply-To: gnats-admin@FreeBSD.org, Dave Glowacki Received: from hyde.ssec.wisc.edu (hyde.ssec.wisc.edu [144.92.108.217]) by hub.freebsd.org (Postfix) with ESMTP id 306A137B400 for ; Thu, 7 Dec 2000 17:08:45 -0800 (PST) Received: from hyde.ssec.wisc.edu (dglo@localhost [127.0.0.1]) by hyde.ssec.wisc.edu (8.9.3/8.9.3) with ESMTP id TAA00914 for ; Thu, 7 Dec 2000 19:08:42 -0600 (CST) Message-Id: <200012080108.TAA00914@hyde.ssec.wisc.edu> Date: Thu, 07 Dec 2000 19:08:39 -0600 From: Dave Glowacki Sender: dglo@hyde.ssec.wisc.edu To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/23368: New port: java/ant Resent-Sender: gnats@FreeBSD.org Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 23368 >Category: ports >Synopsis: New port: java/ant >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Dec 07 17:10:00 PST 2000 >Closed-Date: >Last-Modified: >Originator: Dave Glowacki >Release: FreeBSD 4.2-STABLE i386 >Organization: >Environment: >Description: # 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: # # ant # ant/Makefile # ant/distinfo # ant/files # ant/pkg-comment # ant/pkg-descr # ant/pkg-plist # ant/files/patch-antsrc # ant/files/patch-build.xml # echo c - ant mkdir -p ant > /dev/null 2>&1 echo x - ant/Makefile sed 's/^X//' >ant/Makefile << 'END-of-ant/Makefile' X# Ports collection makefile for: Jakarta Ant X# Date created: 2000/12/01 X# Whom: Dave Glowacki X# X# $FreeBSD$ X# X XPORTNAME= ant XPORTVERSION= 1.2 XCATEGORIES= java XMASTER_SITES= http://jakarta.apache.org/builds/ant/release/v${PORTVERSION}/src/ XDISTNAME= jakarta-ant-src X XMAINTAINER= dglo@SSEC.WISC.EDU X XJAVA_HOME?= ${LOCALBASE}/jdk1.2.2 XBUILD_DEPENDS= ${JAVA_HOME}/bin/javac:${PORTSDIR}/java/jdk12-beta XRUN_DEPENDS= ${JAVA_HOME}/bin/java:${PORTSDIR}/java/jdk12-beta X XNO_WRKSUBDIR= true X Xdo-build: X @if [ ! -d ${WRKDIR}/build ]; then ${MKDIR} ${WRKDIR}/build; fi X @if [ ! -d ${WRKDIR}/dist ]; then ${MKDIR} ${WRKDIR}/dist; fi X cd ${WRKSRC} && PATH=$$PATH:${JAVA_HOME}/bin JAVA_HOME=${JAVA_HOME} ${SH} build.sh dist X Xdo-install: X @${MKDIR} ${PREFIX}/share/java/classes X @${INSTALL_SCRIPT} ${WRKSRC}/dist/ant/bin/ant ${PREFIX}/bin X @${INSTALL_SCRIPT} ${WRKSRC}/dist/ant/bin/antRun ${PREFIX}/bin X @${INSTALL_DATA} ${WRKSRC}/dist/ant/lib/ant.jar ${LOCALBASE}/share/java/classes/ant.jar X Xpost-install: X.if !defined(NOPORTDOCS) X @${MKDIR} ${PREFIX}/share/doc/ant X @(cd ${WRKSRC}/dist/ant/docs && ${TAR} -c -f - .) \ X | (cd ${PREFIX}/share/doc/ant && ${TAR} --unlink -x -f -) X @(cd ${PREFIX} \ X && find share/doc/ant -type f -print >> ${TMPPLIST}) X.endif X X.include END-of-ant/Makefile echo x - ant/distinfo sed 's/^X//' >ant/distinfo << 'END-of-ant/distinfo' XMD5 (jakarta-ant-src.tar.gz) = d0a71b75ae9e4e08251e6bdfcb7d700d END-of-ant/distinfo echo c - ant/files mkdir -p ant/files > /dev/null 2>&1 echo x - ant/pkg-comment sed 's/^X//' >ant/pkg-comment << 'END-of-ant/pkg-comment' XJava-based build tool END-of-ant/pkg-comment echo x - ant/pkg-descr sed 's/^X//' >ant/pkg-descr << 'END-of-ant/pkg-descr' XAn XML-based build tool implemented in Java. X XWWW: http://jakarta.apache.org/ant/ END-of-ant/pkg-descr echo x - ant/pkg-plist sed 's/^X//' >ant/pkg-plist << 'END-of-ant/pkg-plist' Xbin/ant Xbin/antRun Xshare/java/classes/ant.jar END-of-ant/pkg-plist echo x - ant/files/patch-antsrc sed 's/^X//' >ant/files/patch-antsrc << 'END-of-ant/files/patch-antsrc' X--- src/bin/ant.orig Tue Oct 24 07:50:51 2000 X+++ src/bin/ant Thu Dec 7 11:01:54 2000 X@@ -37,7 +37,7 @@ X JAVACMD=java X fi X X-LOCALCLASSPATH=`echo $ANT_HOME/lib/*.jar | tr ' ' ':'` X+LOCALCLASSPATH=`echo $ANT_HOME/lib/*jar /usr/local/share/java/classes/*.jar | tr ' ' ':'` X X if [ "$CLASSPATH" != "" ] ; then X LOCALCLASSPATH=$CLASSPATH:$LOCALCLASSPATH END-of-ant/files/patch-antsrc echo x - ant/files/patch-build.xml sed 's/^X//' >ant/files/patch-build.xml << 'END-of-ant/files/patch-build.xml' X--- build.xml.orig Tue Oct 24 07:50:52 2000 X+++ build.xml Thu Dec 7 10:26:15 2000 X@@ -20,13 +20,13 @@ X X X X- X+ X X X X X X- X+ X X X X@@ -375,7 +375,7 @@ X X X X- X+ X X X X@@ -404,13 +404,13 @@ X X X X- X X X X X+ value="${ant.srcdist.dir}/jakarta-ant-src.tar" /> X X X X@@ -419,7 +419,7 @@ X X X- X+ X X X X@@ -502,13 +502,13 @@ X X X X- X X X X X+ value="${ant.bindist.dir}/jakarta-ant-bin.tar" /> X X X X@@ -517,8 +517,8 @@ X X X- X- X+ X+ X X END-of-ant/files/patch-build.xml exit >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: 'ant' is a portable build tool based on XML. It's used to build most of the open source projects at jakarta.apache.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message