forked from Lainports/freebsd-ports
- Remove all references to defunct ARCH arm - Remove all references to defunct ARCH sparc64 - Remove x11-drivers/xf86-video-sunffb which requires defunct sparc64 ARCH - Remove sysutils/afbinit requires defunct sparc64 ARCH - Remove all references to bktr driver - Remove all references to defunct FreeBSD_12 - Remove all references to OSVERSION/OSREL corresponding to 12 - Remove conditionals in Mk/Uses/cabal.mk - Remove sparc reference from Mk/Uses/qt-dist.mk - Remove BROKEN_sparc64/NOT_FOR_ARCH=sparc64 - Remove BROKEN_FreeBSD_12* from: - Remove OpenSSL patches from: - Remove conditional flags for OSVERSION >= 1300000 to fixed flags. Also move conditional flags for non sparc64/arm ARCH to fixed flags. Reviewed by: brooks, jbeich, rene, salvadore Differential Revision: https://reviews.freebsd.org/D42068
34 lines
978 B
Makefile
34 lines
978 B
Makefile
PORTNAME= libctl
|
|
DISTVERSION= 4.5.0
|
|
PORTREVISION= 2
|
|
CATEGORIES= science math
|
|
MASTER_SITES= https://github.com/NanoComp/libctl/releases/download/v${DISTVERSION}/
|
|
|
|
MAINTAINER= devel@stasyan.com
|
|
COMMENT= Control Language Library
|
|
WWW= https://libctl.readthedocs.io/en/latest/
|
|
|
|
LICENSE= GPLv2
|
|
|
|
USES= fortran guile:2.2 libtool pkgconfig
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --enable-shared
|
|
USE_LDCONFIG= yes
|
|
LDFLAGS+= -L${LOCALBASE}/lib -lm
|
|
|
|
OPTIONS_DEFINE= NLOPT DOCS EXAMPLES
|
|
OPTIONS_DEFAULT= NLOPT
|
|
NLOPT_DESC= Use NLopt, an external NonLinear OPTimizer
|
|
|
|
NLOPT_LIB_DEPENDS= libnlopt.so:math/nlopt
|
|
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${CP} -R ${WRKSRC}/doc/ ${STAGEDIR}${DOCSDIR}
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
${CP} -R ${WRKSRC}/examples/ ${STAGEDIR}${EXAMPLESDIR}
|
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libctl.so.7.3.0
|
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libctlgeom.so.7.3.0
|
|
@${STRIP_CMD} ${STAGEDIR}${EXAMPLESDIR}/.libs/example
|
|
|
|
.include <bsd.port.mk>
|