SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

42
devel/apache-ant/Makefile Normal file
View file

@ -0,0 +1,42 @@
COMMENT= build tool for java applications
DISTNAME= apache-ant-1.10.13
CATEGORIES= devel
HOMEPAGE= https://ant.apache.org/
# Apache Software License 2.0 &
# W3C Consortium License (August 14 1998)
PERMIT_PACKAGE= Yes
MASTER_SITES= ${MASTER_SITE_APACHE:=ant/binaries/} \
https://archive.apache.org/dist/ant/binaries/
EXTRACT_SUFX= -bin.tar.bz2
MODULES= java
MODJAVA_VER= 1.8+
RUN_DEPENDS= java/javaPathHelper
NO_BUILD= Yes
NO_TEST= Yes
ANTHOME= ${PREFIX}/ant
ANTDOCS= ${PREFIX}/share/doc/java/ant
TXT= LICENSE NOTICE README WHATSNEW
do-install:
${INSTALL_DATA_DIR} ${ANTHOME}/bin
.for i in ant antRun runant.pl
${INSTALL_SCRIPT} ${WRKDIST}/bin/$i ${ANTHOME}/bin
ln -s ${TRUEPREFIX}/ant/bin/$i ${PREFIX}/bin/$i
.endfor
${INSTALL_DATA_DIR} ${ANTDOCS}
cp -Rp ${WRKDIST}/manual/* ${ANTDOCS}
chown -R ${SHAREOWN}:${SHAREGRP} ${ANTDOCS}
cd ${WRKDIST} && ${INSTALL_DATA} ${TXT} ${ANTDOCS}
${INSTALL_DATA_DIR} ${ANTHOME}/lib
cd ${WRKDIST}/lib && ${INSTALL_DATA} *.jar ${ANTHOME}/lib
.include <bsd.port.mk>

View file

@ -0,0 +1,2 @@
SHA256 (apache-ant-1.10.13-bin.tar.bz2) = fOH1yFc54OaQ61TfE98rkZOIpHNwkkISYicXsrhAYME=
SIZE (apache-ant-1.10.13-bin.tar.bz2) = 5182677

View file

@ -0,0 +1,12 @@
Index: bin/ant
--- bin/ant.orig
+++ bin/ant
@@ -174,6 +174,8 @@ fi
# set ANT_LIB location
ANT_LIB="${ANT_HOME}/lib"
+JAVACMD=$(javaPathHelper -c apache-ant)
+
if [ -z "$JAVACMD" ]; then
if [ -n "$JAVA_HOME" ]; then
# IBM's JDK on AIX uses strange locations for the executables

View file

@ -0,0 +1,12 @@
Index: bin/runant.pl
--- bin/runant.pl.orig
+++ bin/runant.pl
@@ -74,7 +74,7 @@ if (($^O eq "MSWin32") || ($^O eq "dos") || $oncygwin
}
#build up standard classpath
-my $localpath = "$HOME/lib/ant-launcher.jar";
+my $localpath = "_antlibs_/ant-launcher.jar";
#set JVM options and Ant arguments, if any
my @ANT_OPTS = split(" ", $ENV{ANT_OPTS});
my @ANT_ARGS = split(" ", $ENV{ANT_ARGS});

View file

@ -0,0 +1,5 @@
Apache Ant is a Java library and command-line tool whose mission is to
drive processes described in build files as targets and extension points
dependent upon each other. The main known usage of Ant is the build of
Java applications. Ant supplies a number of built-in tasks allowing to
compile, assemble, test and run Java applications.

1702
devel/apache-ant/pkg/PLIST Normal file

File diff suppressed because it is too large Load diff