updated autoconf, java jna, etc

This commit is contained in:
2023-03-25 12:04:27 +02:00
parent 222ed29b84
commit 9251e2c9bd
30 changed files with 1364 additions and 169 deletions

View File

@@ -669,16 +669,18 @@ MASTER_SITE_GIMP+= \
.if !defined(IGNORE_MASTER_SITE_GNU) .if !defined(IGNORE_MASTER_SITE_GNU)
MASTER_SITE_GNU+= \ MASTER_SITE_GNU+= \
https://ftp.de.gnu.org/%SUBDIR%/ \ https://ftpmirror.gnu.org/%SUBDIR%/ \
https://ftp.gnu.org/gnu/%SUBDIR%/ \
ftp://ftp.gnu.org/gnu/%SUBDIR%/ \
http://www.gtlib.gatech.edu/pub/gnu/gnu/%SUBDIR%/ \
https://mirrors.kernel.org/gnu/%SUBDIR%/ \ https://mirrors.kernel.org/gnu/%SUBDIR%/ \
ftp://ftp.kddlabs.co.jp/GNU/gnu/%SUBDIR%/ \ https://mirror.netcologne.de/gnu/%SUBDIR%/ \
https://www.nic.funet.fi/pub/gnu/gnu/%SUBDIR%/ \
http://mirror.navercorp.com/gnu/%SUBDIR%/ \
http://ftp.halifax.rwth-aachen.de/gnu/%SUBDIR%/ \
http://download.xs4all.nl/gnu/%SUBDIR%/ \
http://ftp.kddilabs.jp/GNU/gnu/%SUBDIR%/ \
ftp://mirrors.rit.edu/gnu/%SUBDIR%/ \
ftp://ftp.fu-berlin.de/unix/gnu/%SUBDIR%/ \
ftp://ftp.mirrorservice.org/sites/ftp.gnu.org/gnu/%SUBDIR%/ \ ftp://ftp.mirrorservice.org/sites/ftp.gnu.org/gnu/%SUBDIR%/ \
ftp://ftp.informatik.hu-berlin.de/pub/gnu/gnu/%SUBDIR%/ \ https://ftp.gnu.org/gnu/%SUBDIR%/
ftp://ftp.informatik.rwth-aachen.de/pub/mirror/ftp.gnu.org/pub/gnu/%SUBDIR%/ \
http://ftp.funet.fi/pub/gnu/prep/%SUBDIR%/
.endif .endif
.if !defined(IGNORE_MASTER_SITE_GNUPG) .if !defined(IGNORE_MASTER_SITE_GNUPG)

View File

@@ -0,0 +1,69 @@
# $FreeBSD: head/devel/jetbrains-goland/Makefile 531401 2020-04-11 06:10:11Z tcberner $
PORTNAME= goland
PORTVERSION= 2022.3.2
CATEGORIES= devel java
MASTER_SITES= https://download-cf.jetbrains.com/go/
PKGNAMEPREFIX= jetbrains-
DIST_SUBDIR= jetbrains
MAINTAINER= dmitry.wagin@ya.ru
COMMENT= JetBrains GoLand IDE
BUILD_DEPENDS= jna>0:java/jna
RUN_DEPENDS= intellij-fsnotifier>0:java/intellij-fsnotifier \
jetbrains-pty4j>=0.12.10:java/jetbrains-pty4j
USES= python:run shebangfix
USE_JAVA= yes
JAVA_VERSION= 11+
SHEBANG_FILES= bin/restart.py
NO_ARCH= yes
NO_BUILD= yes
WRKSRC= ${WRKDIR}/GoLand-${PORTVERSION}
SUB_FILES= goland goland.desktop pkg-message
do-install:
# Linux/Windows/OS X only so remove them
@${RM} -r \
${WRKSRC}/bin/fsnotifier \
${WRKSRC}/bin/fsnotifier-arm \
${WRKSRC}/bin/fsnotifier64 \
${WRKSRC}/bin/remote-dev-server.sh \
${WRKSRC}/bin/repair \
${WRKSRC}/jbr \
${WRKSRC}/jre64 \
${WRKSRC}/lib/pty4j \
${WRKSRC}/plugins/cwm-plugin \
${WRKSRC}/plugins/gateway-plugin/lib/remote-dev-workers \
${WRKSRC}/plugins/go-plugin/lib/dlv \
${WRKSRC}/plugins/go/lib/dlv \
${WRKSRC}/plugins/performanceTesting \
${WRKSRC}/plugins/remote-dev-server
${MKDIR} ${STAGEDIR}${DATADIR}
(cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR} \
"! -name *\.bak ! -name *\.so ! -name *\.dll ! -name *\.dylib ! -name *\.pdb ! -name *\.sh ! -name *\.exe")
@(cd ${WRKSRC} && ${COPYTREE_BIN} . ${STAGEDIR}${DATADIR} "-name *\.sh")
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
${INSTALL_MAN} ${FILESDIR}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/man/man1
${INSTALL_DATA} ${WRKDIR}/${PORTNAME}.desktop ${STAGEDIR}${PREFIX}/share/applications/
# Use fsnotifier replacement provided by java/intellij-fsnotifier
${ECHO} "idea.filewatcher.executable.path=${PREFIX}/intellij/bin/fsnotifier" >> ${STAGEDIR}${DATADIR}/bin/idea.properties
# Install FreeBSD native lib provided by devel/jna
${MKDIR} ${WRKDIR}/jna
cd ${WRKDIR}/jna && ${JAR} xf ${JAVAJARDIR}/jna.jar com/sun/jna/freebsd-x86-64/libjnidispatch.so
${MKDIR} ${STAGEDIR}${DATADIR}/lib/jna/amd64
${INSTALL_LIB} ${WRKDIR}/jna/com/sun/jna/freebsd-x86-64/libjnidispatch.so ${STAGEDIR}${DATADIR}/lib/jna/amd64/
# Use pty4j replacement provided by devel/jetbrains-pty4j
${LN} -sf ../../../lib/pty4j ${STAGEDIR}${DATADIR}/lib/pty4j
do-install-DELVE-on:
${ECHO} "dlv.path=${PREFIX}/bin/dlv" >> ${STAGEDIR}${DATADIR}/bin/idea.properties
.include <bsd.port.mk>

View File

@@ -0,0 +1,3 @@
TIMESTAMP = 1679731669
SHA256 (jetbrains/goland-2022.3.2.tar.gz) = f130d0e4c2c89dcd291e05cca33484eb08e247e9ec29c13deaf67176afbf6a36
SIZE (jetbrains/goland-2022.3.2.tar.gz) = 673411841

View File

@@ -0,0 +1,16 @@
.\" $OpenBSD: mdoc.template,v 1.10 2007/05/31 22:10:19 jmc Exp $
.Dd $Mdocdate: May 26 2019 $
.Dt goland 1
.Os
.Sh NAME
.Nm goland
.Nd launch JetBrains GoLand Integrated Development Environment
.Sh SYNOPSIS
.Nm
.Op jvm-args
.Sh DESCRIPTION
.Nm
starts up the JetBrains GoLand Integrated Development Environment.
.Sh SEE ALSO
The web site
https://www.jetbrains.com/go/ .

View File

@@ -0,0 +1,12 @@
[Desktop Entry]
Version=1.0
Encoding=UTF-8
Type=Application
Name=GoLand
GenericName=GoLand
Comment=GoLand Integrated Development Environment
Icon=%%DATADIR%%/bin/goland.png
Exec=%%DATADIR%%/bin/goland.sh
Terminal=false
StartupNotify=true
Categories=Application;Development;

View File

@@ -0,0 +1,3 @@
#!/bin/sh
exec "%%DATADIR%%/bin/goland.sh" "$@"

View File

@@ -0,0 +1,12 @@
[
{ type: install
message: <<EOM
There is a native (faster) file watching support backed by kqueue which is
enabled by default. If you encounter problems with watching large
trees, you can disable it by adding the following property via the menu
entry Help -> Edit Custom Properties...
idea.filewatcher.disabled=true
EOM
}
]

View File

@@ -0,0 +1,6 @@
GoLand is cross-platform IDE built specially for Go developers.
While this is trial software, there are commercial and academic licenses
available.
WWW: https://www.jetbrains.com/go/

File diff suppressed because it is too large Load Diff

View File

@@ -2,7 +2,7 @@
# $Id$ # $Id$
# #
PORTNAME= apache-ant PORTNAME= apache-ant
PORTVERSION= 1.9.7 PORTVERSION= 1.10.6
CATEGORIES= devel java CATEGORIES= devel java
MASTER_SITES= APACHE/ant/binaries/:bin LOCAL/hq:man MASTER_SITES= APACHE/ant/binaries/:bin LOCAL/hq:man
DISTFILES= ${ANT_DISTFILE}:bin \ DISTFILES= ${ANT_DISTFILE}:bin \

View File

@@ -1,4 +1,5 @@
SHA256 (apache-ant-1.9.7-bin.tar.bz2) = be2ff3026cc655dc002bbcce100bd6724d448c63f702aa82b6d9899b22db7808 TIMESTAMP = 1679732792
SIZE (apache-ant-1.9.7-bin.tar.bz2) = 4392108 SHA256 (apache-ant-1.10.6-bin.tar.bz2) = 45c93201dcb0b90622d7c712aa828fc2eeea5819f6aad2b52d6850abcd60636a
SIZE (apache-ant-1.10.6-bin.tar.bz2) = 5375076
SHA256 (apache-ant-manpage-20030908.tgz) = 721981f64fae3577c04c527232edab9bfa0755af08319049cec206584dc8830c SHA256 (apache-ant-manpage-20030908.tgz) = 721981f64fae3577c04c527232edab9bfa0755af08319049cec206584dc8830c
SIZE (apache-ant-manpage-20030908.tgz) = 9735 SIZE (apache-ant-manpage-20030908.tgz) = 9735

View File

@@ -1,7 +1,10 @@
bin/ant bin/ant
man/man1/ant.1.gz
man/man5/build.xml.5.gz
share/java/apache-ant/bin/antRun share/java/apache-ant/bin/antRun
share/java/apache-ant/etc/ant-bootstrap.jar share/java/apache-ant/etc/ant-bootstrap.jar
share/java/apache-ant/etc/changelog.xsl share/java/apache-ant/etc/changelog.xsl
share/java/apache-ant/etc/checkstyle/checkstyle-frames-sortby-check.xsl
share/java/apache-ant/etc/checkstyle/checkstyle-frames.xsl share/java/apache-ant/etc/checkstyle/checkstyle-frames.xsl
share/java/apache-ant/etc/checkstyle/checkstyle-text.xsl share/java/apache-ant/etc/checkstyle/checkstyle-text.xsl
share/java/apache-ant/etc/checkstyle/checkstyle-xdoc.xsl share/java/apache-ant/etc/checkstyle/checkstyle-xdoc.xsl
@@ -15,7 +18,6 @@ share/java/apache-ant/etc/log.xsl
share/java/apache-ant/etc/maudit-frames.xsl share/java/apache-ant/etc/maudit-frames.xsl
share/java/apache-ant/etc/mmetrics-frames.xsl share/java/apache-ant/etc/mmetrics-frames.xsl
share/java/apache-ant/etc/tagdiff.xsl share/java/apache-ant/etc/tagdiff.xsl
share/java/apache-ant/lib/README
share/java/apache-ant/lib/ant-antlr.jar share/java/apache-ant/lib/ant-antlr.jar
share/java/apache-ant/lib/ant-antlr.pom share/java/apache-ant/lib/ant-antlr.pom
share/java/apache-ant/lib/ant-apache-bcel.jar share/java/apache-ant/lib/ant-apache-bcel.jar
@@ -36,6 +38,8 @@ share/java/apache-ant/lib/ant-commons-logging.jar
share/java/apache-ant/lib/ant-commons-logging.pom share/java/apache-ant/lib/ant-commons-logging.pom
share/java/apache-ant/lib/ant-commons-net.jar share/java/apache-ant/lib/ant-commons-net.jar
share/java/apache-ant/lib/ant-commons-net.pom share/java/apache-ant/lib/ant-commons-net.pom
share/java/apache-ant/lib/ant-imageio.jar
share/java/apache-ant/lib/ant-imageio.pom
share/java/apache-ant/lib/ant-jai.jar share/java/apache-ant/lib/ant-jai.jar
share/java/apache-ant/lib/ant-jai.pom share/java/apache-ant/lib/ant-jai.pom
share/java/apache-ant/lib/ant-javamail.jar share/java/apache-ant/lib/ant-javamail.jar
@@ -50,6 +54,8 @@ share/java/apache-ant/lib/ant-junit.jar
share/java/apache-ant/lib/ant-junit.pom share/java/apache-ant/lib/ant-junit.pom
share/java/apache-ant/lib/ant-junit4.jar share/java/apache-ant/lib/ant-junit4.jar
share/java/apache-ant/lib/ant-junit4.pom share/java/apache-ant/lib/ant-junit4.pom
share/java/apache-ant/lib/ant-junitlauncher.jar
share/java/apache-ant/lib/ant-junitlauncher.pom
share/java/apache-ant/lib/ant-launcher.jar share/java/apache-ant/lib/ant-launcher.jar
share/java/apache-ant/lib/ant-launcher.pom share/java/apache-ant/lib/ant-launcher.pom
share/java/apache-ant/lib/ant-netrexx.jar share/java/apache-ant/lib/ant-netrexx.jar
@@ -59,11 +65,12 @@ share/java/apache-ant/lib/ant-swing.jar
share/java/apache-ant/lib/ant-swing.pom share/java/apache-ant/lib/ant-swing.pom
share/java/apache-ant/lib/ant-testutil.jar share/java/apache-ant/lib/ant-testutil.jar
share/java/apache-ant/lib/ant-testutil.pom share/java/apache-ant/lib/ant-testutil.pom
share/java/apache-ant/lib/ant-xz.jar
share/java/apache-ant/lib/ant-xz.pom
share/java/apache-ant/lib/ant.jar share/java/apache-ant/lib/ant.jar
share/java/apache-ant/lib/ant.pom share/java/apache-ant/lib/ant.pom
share/java/apache-ant/lib/libraries.properties share/java/apache-ant/lib/libraries.properties
man/man1/ant.1.gz share/java/apache-ant/lib/README
man/man5/build.xml.5.gz
@dir share/java/apache-ant/bin @dir share/java/apache-ant/bin
@dir share/java/apache-ant/etc/checkstyle @dir share/java/apache-ant/etc/checkstyle
@dir share/java/apache-ant/etc @dir share/java/apache-ant/etc

View File

@@ -3,7 +3,7 @@
# $URL: file:///usr2/svn/ports5/devel/autoconf/Makefile $ # $URL: file:///usr2/svn/ports5/devel/autoconf/Makefile $
# #
PORTNAME= autoconf PORTNAME= autoconf
PORTVERSION= 2.69 PORTVERSION= 2.71
CATEGORIES= devel CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU} MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= ${PORTNAME} MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -17,7 +17,7 @@ BUILD_DEPENDS+= ${RUN_DEPENDS}
BUILD_DEPENDS+= help2man:devel/help2man BUILD_DEPENDS+= help2man:devel/help2man
USES+= tar:xz perl5 USES+= tar:xz perl5 gmake
GNU_CONFIGURE= yes GNU_CONFIGURE= yes
USE_GMAKE= yes USE_GMAKE= yes
@@ -25,20 +25,10 @@ CONFIGURE_ENV+= CONFIG_SHELL=${SH}
CONFIGURE_ENV+= M4=${LOCALBASE}/bin/gm4 CONFIGURE_ENV+= M4=${LOCALBASE}/bin/gm4
CONFIGURE_ARGS+= --infodir=${PREFIX}/info CONFIGURE_ARGS+= --infodir=${PREFIX}/info
CONFIGURE_ARGS+= --mandir=${PREFIX}/man CONFIGURE_ARGS+= --mandir=${PREFIX}/man
#CONFIGURE_ARGS+= --without-lispdir CONFIGURE_ARGS+= --without-lispdir
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-ziggi-freebsd${OSREL} CONFIGURE_TARGET= --build=${MACHINE_ARCH}-ziggi-freebsd${OSREL}
INFO+= autoconf INFO+= autoconf
MAN1+= autoconf.1
MAN1+= autoheader.1
MAN1+= autom4te.1
MAN1+= autoreconf.1
MAN1+= autoscan.1
MAN1+= autoupdate.1
MAN1+= config.guess.1
MAN1+= config.sub.1
MAN1+= ifnames.1
.include <bsd.port.mk> .include <bsd.port.mk>
#EOF #EOF

View File

@@ -1,2 +1,3 @@
SHA256 (gnu/autoconf-2.69.tar.xz) = 64ebcec9f8ac5b2487125a86a7760d2591ac9e1d3dbd59489633f9de62a57684 TIMESTAMP = 1679733236
SIZE (gnu/autoconf-2.69.tar.xz) = 1214744 SHA256 (gnu/autoconf-2.71.tar.xz) = f14c83cfebcc9427f2c3cea7258bd90df972d92eb26752da4ddad81c87a0faa4
SIZE (gnu/autoconf-2.71.tar.xz) = 1292296

View File

@@ -0,0 +1,11 @@
--- Makefile.in.orig 2021-01-28 21:06:02 UTC
+++ Makefile.in
@@ -311,7 +311,7 @@ am__dirstamp = $(am__leading_dot)dirstamp
am__v_texidevnull_0 = > /dev/null
am__v_texidevnull_1 =
am__dirstamp = $(am__leading_dot)dirstamp
-INFO_DEPS = $(srcdir)/doc/autoconf.info $(srcdir)/doc/standards.info
+INFO_DEPS = $(srcdir)/doc/autoconf.info
am__TEXINFO_TEX_DIR = $(srcdir)/build-aux
DVIS = doc/autoconf.dvi doc/standards.dvi
PDFS = doc/autoconf.pdf doc/standards.pdf

View File

@@ -1,11 +0,0 @@
--- bin/autoscan.in.orig 2012-04-25 02:37:26 UTC
+++ bin/autoscan.in
@@ -358,7 +358,7 @@ sub scan_sh_file ($)
{
# Strip out comments and variable references.
s/#.*//;
- s/\${[^\}]*}//g;
+ s/\$\{[^\}]*}//g;
s/@[^@]*@//g;
# Tokens in the code.

View File

@@ -0,0 +1,10 @@
--- bin/autoreconf.in.orig 2012-04-24 22:00:28 UTC
+++ bin/autoreconf.in
@@ -692,6 +692,7 @@ parse_args;
# Autoreconf all the given configure.ac. Unless `--no-recursive' is passed,
# AC_CONFIG_SUBDIRS will be traversed in &autoreconf_current_directory.
+$ENV{'AUTOCONF'} = $autoconf;
$ENV{'AUTOM4TE'} = $autom4te;
for my $directory (@ARGV)
{

View File

@@ -1,53 +0,0 @@
From 42761668c0300afa7f8bf5ba736458a818cd5d15 Mon Sep 17 00:00:00 2001
From: Akim Demaille <akim@lrde.epita.fr>
Date: Tue, 19 Mar 2013 11:19:17 -0700
Subject: AC_PROG_YACC: don't force Bison to warn against its own features
When invoked with -y/--yacc, Bison warns when its extensions over
POSIX Yacc are used. Yet many packages requiring GNU Bison use
Autoconf/Automake's Yacc support, which passes -y to Bison. It
turns out that passing '-o y.tab.c' has exactly the desired
effect: generating not only y.tab.c but also y.tab.h with -d and
y.output with -v. See:
http://lists.gnu.org/archive/html/bison-patches/2013-02/msg00100.html
* lib/autoconf/programs.m4 (AC_PROG_YACC): Use bison -o y.tab.c.
* NEWS, doc/autoconf.texi: Document this change.
---
NEWS | 4 ++++
doc/autoconf.texi | 2 +-
lib/autoconf/programs.m4 | 4 ++--
3 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/doc/autoconf.texi b/doc/autoconf.texi
index c54c5b3..f895e47 100644
--- doc/autoconf.texi
+++ doc/autoconf.texi
@@ -4222,7 +4222,7 @@ and is cached in the @code{ac_cv_path_SED} variable.
@ovindex YACC
@caindex prog_YACC
If @code{bison} is found, set output variable @code{YACC} to @samp{bison
--y}. Otherwise, if @code{byacc} is found, set @code{YACC} to
+-o y.tab.c}. Otherwise, if @code{byacc} is found, set @code{YACC} to
@samp{byacc}. Otherwise set @code{YACC} to @samp{yacc}.
The result of this test can be influenced by setting the variable
@code{YACC} or the cache variable @code{ac_cv_prog_YACC}.
diff --git a/lib/autoconf/programs.m4 b/lib/autoconf/programs.m4
index f7af8b5..2057e78 100644
--- lib/autoconf/programs.m4
+++ lib/autoconf/programs.m4
@@ -892,10 +892,10 @@ AN_PROGRAM([yacc], [AC_PROG_YACC])
AN_PROGRAM([byacc], [AC_PROG_YACC])
AN_PROGRAM([bison], [AC_PROG_YACC])
AC_DEFUN([AC_PROG_YACC],
-[AC_CHECK_PROGS(YACC, 'bison -y' byacc, yacc)dnl
+[AC_CHECK_PROGS(YACC, 'bison -o y.tab.c' byacc, yacc)dnl
AC_ARG_VAR(YACC,
[The `Yet Another Compiler Compiler' implementation to use. Defaults to
-the first program found out of: `bison -y', `byacc', `yacc'.])dnl
+the first program found out of: `bison -o y.tab.c', `byacc', `yacc'.])dnl
AC_ARG_VAR(YFLAGS,
[The list of arguments that will be passed by default to $YACC. This script
will default YFLAGS to the empty string to avoid a default value of `-d' given
--
cgit v1.0-41-gc330

View File

@@ -1,18 +0,0 @@
--- doc/Makefile.in.orig 2012-04-25 02:40:26 UTC
+++ doc/Makefile.in
@@ -65,13 +65,13 @@ CONFIG_CLEAN_FILES =
CONFIG_CLEAN_VPATH_FILES =
SOURCES =
DIST_SOURCES =
-INFO_DEPS = $(srcdir)/autoconf.info $(srcdir)/standards.info
+INFO_DEPS = $(srcdir)/autoconf.info
am__TEXINFO_TEX_DIR = $(srcdir)/../build-aux
DVIS = autoconf.dvi standards.dvi
PDFS = autoconf.pdf standards.pdf
PSS = autoconf.ps standards.ps
HTMLS = autoconf.html standards.html
-TEXINFOS = autoconf.texi standards.texi
+TEXINFOS = autoconf.texi
TEXI2DVI = texi2dvi
TEXI2PDF = $(TEXI2DVI) --pdf --batch
MAKEINFOHTML = $(MAKEINFO) --html

View File

@@ -1,53 +0,0 @@
--- doc/autoconf.texi.orig 2012-04-25 02:14:19 UTC
+++ doc/autoconf.texi
@@ -15,7 +15,7 @@
@c The ARG is an optional argument. To be used for macro arguments in
@c their documentation (@defmac).
@macro ovar{varname}
-@r{[}@var{\varname\}@r{]}@c
+@r{[}@var{\varname\}@r{]}
@end macro
@c @dvar(ARG, DEFAULT)
@@ -23,7 +23,7 @@
@c The ARG is an optional argument, defaulting to DEFAULT. To be used
@c for macro arguments in their documentation (@defmac).
@macro dvar{varname, default}
-@r{[}@var{\varname\} = @samp{\default\}@r{]}@c
+@r{[}@var{\varname\} = @samp{\default\}@r{]}
@end macro
@c Handling the indexes with Texinfo yields several different problems.
@@ -217,31 +217,11 @@ entitled ``GNU Free Documentation Licens
-@dircategory Software development
+@dircategory Programming & development tools
@direntry
* Autoconf: (autoconf). Create source code configuration scripts.
@end direntry
-@dircategory Individual utilities
-@direntry
-* autoscan: (autoconf)autoscan Invocation.
- Semi-automatic @file{configure.ac} writing
-* ifnames: (autoconf)ifnames Invocation. Listing conditionals in source.
-* autoconf-invocation: (autoconf)autoconf Invocation.
- How to create configuration scripts
-* autoreconf: (autoconf)autoreconf Invocation.
- Remaking multiple @command{configure} scripts
-* autoheader: (autoconf)autoheader Invocation.
- How to create configuration templates
-* autom4te: (autoconf)autom4te Invocation.
- The Autoconf executables backbone
-* configure: (autoconf)configure Invocation. Configuring a package.
-* autoupdate: (autoconf)autoupdate Invocation.
- Automatic update of @file{configure.ac}
-* config.status: (autoconf)config.status Invocation. Recreating configurations.
-* testsuite: (autoconf)testsuite Invocation. Running an Autotest test suite.
-@end direntry
-
@titlepage
@title Autoconf
@subtitle Creating Automatic Configuration Scripts

View File

@@ -11,8 +11,6 @@ man/man1/autom4te.1.gz
man/man1/autoreconf.1.gz man/man1/autoreconf.1.gz
man/man1/autoscan.1.gz man/man1/autoscan.1.gz
man/man1/autoupdate.1.gz man/man1/autoupdate.1.gz
man/man1/config.guess.1.gz
man/man1/config.sub.1.gz
man/man1/ifnames.1.gz man/man1/ifnames.1.gz
share/autoconf/autoconf/autoconf.m4 share/autoconf/autoconf/autoconf.m4
share/autoconf/autoconf/autoconf.m4f share/autoconf/autoconf/autoconf.m4f
@@ -33,11 +31,13 @@ share/autoconf/autoconf/oldnames.m4
share/autoconf/autoconf/programs.m4 share/autoconf/autoconf/programs.m4
share/autoconf/autoconf/specific.m4 share/autoconf/autoconf/specific.m4
share/autoconf/autoconf/status.m4 share/autoconf/autoconf/status.m4
share/autoconf/autoconf/trailer.m4
share/autoconf/autoconf/types.m4 share/autoconf/autoconf/types.m4
share/autoconf/autom4te.cfg share/autoconf/autom4te.cfg
share/autoconf/Autom4te/C4che.pm share/autoconf/Autom4te/C4che.pm
share/autoconf/Autom4te/ChannelDefs.pm share/autoconf/Autom4te/ChannelDefs.pm
share/autoconf/Autom4te/Channels.pm share/autoconf/Autom4te/Channels.pm
share/autoconf/Autom4te/Config.pm
share/autoconf/Autom4te/Configure_ac.pm share/autoconf/Autom4te/Configure_ac.pm
share/autoconf/Autom4te/FileUtils.pm share/autoconf/Autom4te/FileUtils.pm
share/autoconf/Autom4te/General.pm share/autoconf/Autom4te/General.pm
@@ -49,6 +49,9 @@ share/autoconf/autotest/autotest.m4
share/autoconf/autotest/autotest.m4f share/autoconf/autotest/autotest.m4f
share/autoconf/autotest/general.m4 share/autoconf/autotest/general.m4
share/autoconf/autotest/specific.m4 share/autoconf/autotest/specific.m4
share/autoconf/build-aux/config.guess
share/autoconf/build-aux/config.sub
share/autoconf/build-aux/install-sh
share/autoconf/INSTALL share/autoconf/INSTALL
share/autoconf/m4sugar/foreach.m4 share/autoconf/m4sugar/foreach.m4
share/autoconf/m4sugar/m4sh.m4 share/autoconf/m4sugar/m4sh.m4
@@ -56,11 +59,12 @@ share/autoconf/m4sugar/m4sh.m4f
share/autoconf/m4sugar/m4sugar.m4 share/autoconf/m4sugar/m4sugar.m4
share/autoconf/m4sugar/m4sugar.m4f share/autoconf/m4sugar/m4sugar.m4f
share/autoconf/m4sugar/version.m4 share/autoconf/m4sugar/version.m4
share/info/autoconf.info
share/info/dir
@dir share/autoconf/autoconf @dir share/autoconf/autoconf
@dir share/autoconf/Autom4te @dir share/autoconf/Autom4te
@dir share/autoconf/autoscan @dir share/autoconf/autoscan
@dir share/autoconf/autotest @dir share/autoconf/autotest
@dir share/autoconf/build-aux
@dir share/autoconf/m4sugar @dir share/autoconf/m4sugar
@dir share/autoconf @dir share/autoconf
@dir share/emacs/site-lisp
@dir share/emacs

View File

@@ -0,0 +1,50 @@
PORTNAME= pty4j
PORTVERSION= 0.12.10
CATEGORIES= devel java
PKGNAMEPREFIX= jetbrains-
DIST_SUBDIR= jetbrains
MAINTAINER= dmitry.wagin@ya.ru
COMMENT= Pty4J's native library
WWW= https://github.com/JetBrains/pty4j
USES= gmake
USE_GITHUB= yes
GH_ACCOUNT= JetBrains
GH_PROJECT= pty4j
GH_TAGNAME= aa7f15307744d5d33a44bd72b42513327c879fd3
.include <bsd.port.options.mk>
# The directory we need to install Pty4J's native library in depends
# on the install target's architecture. We rebuild libpty.so instead
# of using one of the bundled ones which are FreeBSD 10.x only.
.if ${ARCH} == "amd64"
PTY4J_ARCH= x86-64
.elif ${ARCH} == "i386"
PTY4J_ARCH= x86
.else
PTY4J_ARCH=
.endif
.if ${PTY4J_ARCH} != ""
# Despite what the name might suggest using the linux_x86_64 target
# will always build libpty.so for the native platform.
BUILD_WRKSRC= ${WRKSRC}/native
MAKEFILE= Makefile_freebsd
ALL_TARGET= linux_x86_64
PLIST_FILES+= lib/pty4j/freebsd/${PTY4J_ARCH}/libpty.so
.else
# If native Pty4J support is missing.
NO_BUILD= yes
.endif
do-install:
.if ${PTY4J_ARCH} != ""
${MKDIR} ${STAGEDIR}${PREFIX}/lib/pty4j/freebsd/${PTY4J_ARCH}
# See above why we always use freebsd/x86-64/ here
${INSTALL_LIB} ${WRKSRC}/os/freebsd/x86-64/libpty.so ${STAGEDIR}${PREFIX}/lib/pty4j/freebsd/${PTY4J_ARCH}/
.endif
.include <bsd.port.mk>

View File

@@ -0,0 +1,3 @@
TIMESTAMP = 1670074422
SHA256 (jetbrains/JetBrains-pty4j-0.12.10-aa7f15307744d5d33a44bd72b42513327c879fd3_GH0.tar.gz) = 386a5057f4d5b33139f83bd8ed57a703714fa71c649ab750f8a9839b5133c306
SIZE (jetbrains/JetBrains-pty4j-0.12.10-aa7f15307744d5d33a44bd72b42513327c879fd3_GH0.tar.gz) = 1586412

View File

@@ -0,0 +1 @@
Pty4J - Pseudo terminal(PTY) implementation in Java.

41
java/jna/Makefile Normal file
View File

@@ -0,0 +1,41 @@
PORTNAME= jna
PORTVERSION= 5.13.0
CATEGORIES= devel java
MAINTAINER= ports@markdixon.name
COMMENT= Java access to native shared libraries
WWW= https://github.com/twall/jna
BROKEN_armv6= fails to compile: build.xml: compilation failed
BROKEN_armv7= fails to compile: build.xml: compilation failed
BUILD_DEPENDS= makeinfo:system/texinfo
USES= autoreconf:build gmake libtool
USE_ANT= yes
USE_JAVA= yes
JAVA_VERSION= 11+
MAKE_ARGS= -DCC="${CC}" -DLD="${LD}"
MAKE_ENV= ANT_OPTS=-Drelease -DARCH=${ANT_ARCH}
USE_GITHUB= yes
GH_ACCOUNT= java-native-access
PORTDOCS= javadoc platform-${PORTVERSION}-javadoc.jar
PLIST_FILES= %%JAVAJARDIR%%/jna-platform.jar %%JAVAJARDIR%%/jna.jar
ALL_TARGET= native jar
ANT_ARCH= ${ARCH:S/amd64/x86-64/:S/i386/x86/:S/powerpc64/ppc64/}
post-patch:
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \
${WRKSRC}/native/Makefile
do-install:
${INSTALL_DATA} ${WRKSRC}/build/freebsd-${ANT_ARCH}.jar \
${STAGEDIR}${JAVAJARDIR}/jna-platform.jar
${INSTALL_DATA} ${WRKSRC}/build/jna.jar \
${STAGEDIR}${JAVAJARDIR}/jna.jar
.include <bsd.port.mk>

3
java/jna/distinfo Normal file
View File

@@ -0,0 +1,3 @@
TIMESTAMP = 1679732608
SHA256 (java-native-access-jna-5.13.0_GH0.tar.gz) = 526bff8ffcbc2067a7403f55b01ad8d7a781c098abca79c4ea6c9e80198bb5fd
SIZE (java-native-access-jna-5.13.0_GH0.tar.gz) = 116027625

View File

@@ -0,0 +1,19 @@
--- build.xml.orig 2016-03-16 14:37:28 UTC
+++ build.xml
@@ -99,7 +99,7 @@
<condition property="test.compatibility" value="1.5" else="${compatibility}">
<equals arg1="${compatibility}" arg2="1.4"/>
</condition>
- <condition property="tests.exclude-patterns" value="**/VarArgsTest.java,**/AnnotatedLibraryTest.java,**/WebStartTest.java,**/PointerBufferTest.java,**/HeadlessLoadLibraryTest.java,**/StructureBufferFieldTest.java,**/PerformanceTest.java,**/*BufferArgumentsMarshalTest.java" else="**/wince/*.java,**/WebStartTest.java">
+ <condition property="tests.exclude-patterns" value="**/VarArgsTest.java,**/AnnotatedLibraryTest.java,**/WebStartTest.java,**/PointerBufferTest.java,**/HeadlessLoadLibraryTest.java,**/StructureBufferFieldTest.java,**/PerformanceTest.java,**/*BufferArgumentsMarshalTest.java" else="**/wince/*.java,**/WebStartTest.java,**/LibraryLoadTest.java">
<equals arg1="${os.prefix}" arg2="w32ce-arm"/>
</condition>
<property name="dist-jar" value="${dist}/${jar}"/>
@@ -1084,7 +1084,6 @@ osname=macosx;processor=x86;processor=x8
<doctitle>JNA API Documentation</doctitle>
<header>${header}</header>
<bottom>${footer}</bottom>
- <link href="http://download.oracle.com/javase/${compatibility}/docs/api/"/>
<packageset dir="${src}" defaultexcludes="yes">
<patternset>

View File

@@ -0,0 +1,38 @@
--- native/Makefile.orig 2021-02-08 18:49:25.000000000 +0000
+++ native/Makefile 2021-03-06 13:25:34.083392000 +0000
@@ -39,6 +39,8 @@
# protection simply by defining HAVE_PROTECTION. This option has been only
# been enabled for those platforms on which it has been tested successfully.
+unexport LDFLAGS
+
OS=$(shell uname | sed -e 's/CYGWIN.*/win32/g' \
-e 's/MINGW32.*/win32/g' \
-e 's/SunOS.*/solaris/g' \
@@ -291,8 +293,11 @@
ifneq (,$(findstring bsd,$(OS)))
ARCH=$(shell uname -m | sed 's/i.86/i386/g')
PCFLAGS+=-fPIC
-CINCLUDES+=-I/usr/X11R6/include
+CINCLUDES+=-I%%LOCALBASE%%/include
LDFLAGS=-o $@ -shared
+ifeq ($(ARCH),i386)
+LDFLAGS+=-Wl,-z,notext
+endif
CDEFINES+=-DHAVE_PROTECTION -DFFI_MMAP_EXEC_WRIT -DUSE_DEAFULT_LIBNAME_ENCODING
endif
@@ -356,11 +361,11 @@
GCC_MAJOR_VERSION = $(shell gcc -dumpversion | cut -f 1 -d '.')
ifneq ($(GCC_MAJOR_VERSION),4)
ifneq ($(GCC_MAJOR_VERSION),3)
- LOC_CC_OPTS=-Wno-unknown-warning-option -Werror -Wno-clobbered -Wno-unused-variable -Wno-alloca-larger-than
+ LOC_CC_OPTS=-Wno-unused-variable
endif
endif
else
- LOC_CC_OPTS=-Wno-unknown-warning-option -Werror -Wno-clobbered -Wno-unused-variable
+ LOC_CC_OPTS=-Wno-unused-variable
endif
# Enable 64-bit builds if the arch demands it

10
java/jna/pkg-descr Normal file
View File

@@ -0,0 +1,10 @@
JNA provides Java programs easy access to native shared libraries
without writing anything but Java code - no JNI or native code is
required. This functionality is comparable to Windows' Platform/Invoke
and Python's ctypes. Access is dynamic at runtime without code
generation.
JNA allows you to call directly into native functions using natural
Java method invocation. The Java call looks just like it does in
native code. Most calls require no special handling or configuration;
no boilerplate or generated code is required.

View File

@@ -9,7 +9,6 @@ MASTER_SITES+= https://github.com/dmgk/go-bootstrap/releases/download/${BOOTSTRA
MASTER_SITES+= LOCAL/dmgk:bootstrap MASTER_SITES+= LOCAL/dmgk:bootstrap
DISTFILES= go${PORTVERSION}.src.tar.gz DISTFILES= go${PORTVERSION}.src.tar.gz
DISTFILES+= go-${OPSYS:tl}-${GOARCH}${GOARM}-${BOOTSTRAP_TAG}.tar.xz:bootstrap DISTFILES+= go-${OPSYS:tl}-${GOARCH}${GOARM}-${BOOTSTRAP_TAG}.tar.xz:bootstrap
PKGNAMESUFFIX= 120
.include <bsd.port.pre.mk> .include <bsd.port.pre.mk>