| Server IP : 82.208.35.60 / Your IP : 216.73.216.89 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/math/asl/ |
Upload File : |
PORTNAME= asl
DISTVERSIONPREFIX= releases/
DISTVERSION= 2.0.0
CATEGORIES= math
MASTER_SITES= https://coin-or-tools.github.io/ThirdParty-ASL/:solvers
PKGNAMEPREFIX= coin-or-
DISTFILES= solvers-64919f75f.tgz:solvers
MAINTAINER= yuri@FreeBSD.org
COMMENT= COIN-OR autotools harness to build AMPL Solver Library
WWW= https://github.com/coin-or-tools/ThirdParty-ASL
LICENSE= EPL
USES= gmake libtool pkgconfig
USE_LDCONFIG= yes
USE_GITHUB= yes
GH_ACCOUNT= coin-or-tools
GH_PROJECT= ThirdParty-ASL
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
BINARY_ALIAS= make=${GMAKE}
.include <bsd.port.options.mk>
.if ${ARCH:Mpowerpc*} || ${ARCH} == riscv64
CFLAGS+= -DASL_NO_FP_INIT
.endif
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>