Add a port of GNU APL, free interpreter for the APL programming language.

WWW: https://www.gnu.org/software/apl/
This commit is contained in:
Alexey Dokuchaev 2019-06-25 15:55:22 +00:00
parent 7a4d81ea18
commit 69081593b3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=505095
5 changed files with 123 additions and 0 deletions

View File

@ -125,6 +125,7 @@
SUBDIR += gnatdroid-sysroot
SUBDIR += gnatdroid-sysroot-x86
SUBDIR += gnatdroid-x86
SUBDIR += gnu-apl
SUBDIR += gnu-cobol
SUBDIR += gnustep-base
SUBDIR += go

49
lang/gnu-apl/Makefile Normal file
View File

@ -0,0 +1,49 @@
# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
# $FreeBSD$
PORTNAME= apl
PORTVERSION= 1.8
CATEGORIES= lang
MASTER_SITES= GNU
PKGNAMEPREFIX= gnu-
MAINTAINER= danfe@FreeBSD.org
COMMENT= Free interpreter for APL programming language
LICENSE= GPLv3+
LIB_DEPENDS= libfftw3.so:math/fftw3
USES= gmake libtool localbase
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
INSTALL_TARGET= install-strip
INFO= apl libapl
PORTDOCS= *
OPTIONS_DEFINE= DOCS GTK3 LIBAPL PCRE SQLITE
OPTIONS_SUB= yes
LIBAPL_DESC= Build libapl.so instead of executable
GTK3_USES= pkgconfig gnome
GTK3_USE= GNOME=gtk30
GTK3_CONFIGURE_WITH= gtk3
PCRE_LIB_DEPENDS= libpcre2-8.so:devel/pcre2
PCRE_CONFIGURE_WITH= pcre=${LOCALBASE}
SQLITE_LIB_DEPENDS= libsqlite3.so:databases/sqlite3
SQLITE_CONFIGURE_WITH= sqlite3=${LOCALBASE}
post-patch:
@${REINPLACE_CMD} -e '25s,^,#include <sys/socket.h>,' \
${WRKSRC}/src/Common.hh
@${REINPLACE_CMD} -e 's,bind(,::&,' \
${WRKSRC}/src/emacs_mode/TcpListener.cc \
${WRKSRC}/src/emacs_mode/UnixSocketListener.cc
@${REINPLACE_CMD} -e 's,POLLRDHUP,POLLHUP,' \
${WRKSRC}/src/Quad_GTK.cc
.include <bsd.port.mk>

3
lang/gnu-apl/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1561298598
SHA256 (apl-1.8.tar.gz) = 144f4c858a0d430ce8f28be90a35920dd8e0951e56976cb80b55053fa0d8bbcb
SIZE (apl-1.8.tar.gz) = 3565018

14
lang/gnu-apl/pkg-descr Normal file
View File

@ -0,0 +1,14 @@
GNU APL is a free interpreter for the programming language APL.
The APL interpreter is an (almost) complete implementation of ISO
standard 13751 aka Programming Language APL, Extended.
The APL interpreter has implemented:
- nested arrays and related functions
- complex numbers, and
- a shared variable interface
In addition, GNU APL can be scripted.
WWW: https://www.gnu.org/software/apl/

56
lang/gnu-apl/pkg-plist Normal file
View File

@ -0,0 +1,56 @@
bin/AP100
bin/AP210
bin/APserver
%%NO_LIBAPL%%bin/apl
%%GTK3%%bin/Gtk_server
etc/gnu-apl.d/keyboard1.txt
etc/gnu-apl.d/parallel_thresholds
etc/gnu-apl.d/preferences
%%LIBAPL%%include/apl/libapl.h
%%LIBAPL%%lib/apl/libapl.a
%%LIBAPL%%lib/apl/libapl.so
lib/apl/lib_file_io.a
lib/apl/lib_file_io.so
lib/apl/lib_sql.a
lib/apl/lib_sql.so
lib/apl/lib_sql.so.0
lib/apl/lib_sql.so.0.0.0
lib/apl/lib_template_F0.a
lib/apl/lib_template_F0.so
lib/apl/lib_template_F12.a
lib/apl/lib_template_F12.so
lib/apl/lib_template_OP1.a
lib/apl/lib_template_OP1.so
lib/apl/lib_template_OP2.a
lib/apl/lib_template_OP2.so
lib/apl/libemacs.a
lib/apl/libemacs.so
lib/apl/libemacs.so.0
lib/apl/libemacs.so.0.0.0
lib/apl/workspaces/APL_CGI.apl
lib/apl/workspaces/RUBIK.apl
lib/apl/workspaces/SCRIPT.apl
lib/apl/workspaces/ScalarBenchmark.apl
lib/apl/workspaces/gnuplot.apl
lib/apl/wslib3/meta.apl
lib/apl/wslib4/dummy.apl
lib/apl/wslib5/APLComponentFiles/AUTHORS
lib/apl/wslib5/APLComponentFiles/CF_README.txt
lib/apl/wslib5/APLComponentFiles/ComponentFiles.apl
lib/apl/wslib5/APLComponentFiles/LAST_GIT_PULL
lib/apl/wslib5/APLComponentFiles/LICENSE
lib/apl/wslib5/APLComponentFiles/README.md
lib/apl/wslib5/APLComponentFiles/README_FIRST.txt
lib/apl/wslib5/APLComponentFiles/SQL_README.txt
lib/apl/wslib5/FILE_IO.apl
lib/apl/wslib5/HTML.apl
lib/apl/wslib5/SQL.apl
lib/apl/wslib5/iso-apl-cf/AUTHORS
lib/apl/wslib5/iso-apl-cf/LAST_GIT_PULL
lib/apl/wslib5/iso-apl-cf/README.md
lib/apl/wslib5/iso-apl-cf/_control_.apl
lib/apl/wslib5/iso-apl-cf/_metadata_
lib/apl/wslib5/iso-apl-cf/iso_cf.apl
lib/apl/wslib5/iso-apl-cf/perf.apl
lib/apl/wslib5/iso-apl-cf/test.apl
man/man1/apl.1.gz