git: 8d90630db62d - main - New port: math/asl: COIN-OR autotools harness to build AMPL Solver Library
Yuri Victorovich
yuri at FreeBSD.org
Mon May 3 19:30:21 UTC 2021
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=8d90630db62de687b68f042d5bab78f23ea5b062
commit 8d90630db62de687b68f042d5bab78f23ea5b062
Author: Yuri Victorovich <yuri at FreeBSD.org>
AuthorDate: 2021-05-03 19:24:37 +0000
Commit: Yuri Victorovich <yuri at FreeBSD.org>
CommitDate: 2021-05-03 19:30:18 +0000
New port: math/asl: COIN-OR autotools harness to build AMPL Solver Library
---
math/Makefile | 1 +
math/asl/Makefile | 33 +++++++++++++++++++++++++++++++++
math/asl/distinfo | 5 +++++
math/asl/pkg-descr | 4 ++++
math/asl/pkg-plist | 16 ++++++++++++++++
5 files changed, 59 insertions(+)
diff --git a/math/Makefile b/math/Makefile
index c8a77c380365..1ad2d0db85e0 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -150,6 +150,7 @@
SUBDIR += arpack++
SUBDIR += arpack-ng
SUBDIR += ascent
+ SUBDIR += asl
SUBDIR += aspcud
SUBDIR += asymptote
SUBDIR += atlas
diff --git a/math/asl/Makefile b/math/asl/Makefile
new file mode 100644
index 000000000000..21fc5597d253
--- /dev/null
+++ b/math/asl/Makefile
@@ -0,0 +1,33 @@
+PORTNAME= asl
+DISTVERSIONPREFIX= releases/
+DISTVERSION= 1.4.3
+CATEGORIES= math
+MASTER_SITES= https://coin-or-tools.github.io/ThirdParty-ASL/:solvers
+PKGNAMEPREFIX= coin-or-
+DISTFILES= solvers-64919f75f.tgz:solvers
+
+MAINTAINER= yuri at FreeBSD.org
+COMMENT= COIN-OR autotools harness to build AMPL Solver Library
+
+LICENSE= EPL
+
+USES= gmake libtool pkgconfig
+USE_LDCONFIG= yes
+
+USE_GITHUB= yes
+GH_ACCOUNT= coin-or-tools
+GH_PROJECT= ThirdParty-ASL
+
+GNU_CONFIGURE= yes
+
+BINARY_ALIAS= make=${GMAKE}
+
+post-extract:
+ @cd ${WRKSRC} && ${LN} -s ../solvers .
+
+post-patch: # patch the side project
+ @cd ${WRKSRC} && \
+ (${ECHO} "#include <sys/stat.h>" && cat solvers/funcadd1.c) > solvers/funcadd1.c.new && \
+ ${MV} solvers/funcadd1.c.new solvers/funcadd1.c
+
+.include <bsd.port.mk>
diff --git a/math/asl/distinfo b/math/asl/distinfo
new file mode 100644
index 000000000000..5abe1edf1624
--- /dev/null
+++ b/math/asl/distinfo
@@ -0,0 +1,5 @@
+TIMESTAMP = 1620069173
+SHA256 (solvers-64919f75f.tgz) = e212926d1d797701adc901ef18eaab6b15edd13f9281dd8c9266e3cdaf8c2dd3
+SIZE (solvers-64919f75f.tgz) = 360043
+SHA256 (coin-or-tools-ThirdParty-ASL-releases-1.4.3_GH0.tar.gz) = 0a4cfa7c6c5df72d8e1c4c3ce74633421f807115a679e85cb5569c41df9a9aaf
+SIZE (coin-or-tools-ThirdParty-ASL-releases-1.4.3_GH0.tar.gz) = 254263
diff --git a/math/asl/pkg-descr b/math/asl/pkg-descr
new file mode 100644
index 000000000000..a233aa1012dc
--- /dev/null
+++ b/math/asl/pkg-descr
@@ -0,0 +1,4 @@
+This is an autotools-based build system to build and install the Ampl Solver
+Library (ASL) as it is used by some COIN-OR projects.
+
+WWW: https://github.com/coin-or-tools/ThirdParty-ASL
diff --git a/math/asl/pkg-plist b/math/asl/pkg-plist
new file mode 100644
index 000000000000..132ba137124d
--- /dev/null
+++ b/math/asl/pkg-plist
@@ -0,0 +1,16 @@
+include/coin/ThirdParty/arith.h
+include/coin/ThirdParty/asl.h
+include/coin/ThirdParty/asl_pfg.h
+include/coin/ThirdParty/asl_pfgh.h
+include/coin/ThirdParty/funcadd.h
+include/coin/ThirdParty/getstub.h
+include/coin/ThirdParty/nlp.h
+include/coin/ThirdParty/nlp2.h
+include/coin/ThirdParty/opcode.hd
+include/coin/ThirdParty/psinfo.h
+include/coin/ThirdParty/r_opn.hd
+include/coin/ThirdParty/stdio1.h
+lib/libcoinasl.so
+lib/libcoinasl.so.1
+lib/libcoinasl.so.1.4.3
+libdata/pkgconfig/coinasl.pc
More information about the dev-commits-ports-all
mailing list