science/libctl: update to 3.2.2
- use lang/guile2 instead of lang/guile - add pkgconfig to USES - add option to use lang/nlopt - strip libraries PR: 196175 Submitted by: Rainer Hurling Approved by: maintainer timeout (devel@stasyan.com, 14 days)
This commit is contained in:
parent
bb6bb7e7b7
commit
c818bdfc82
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=376221
@ -2,29 +2,37 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= libctl
|
||||
PORTVERSION= 3.2.1
|
||||
PORTREVISION= 5
|
||||
PORTVERSION= 3.2.2
|
||||
CATEGORIES= science math
|
||||
MASTER_SITES= http://ab-initio.mit.edu/libctl/
|
||||
|
||||
MAINTAINER= devel@stasyan.com
|
||||
COMMENT= Control Language Library
|
||||
|
||||
LIB_DEPENDS= libguile.so:${PORTSDIR}/lang/guile
|
||||
LICENSE= GPLv2
|
||||
|
||||
LIB_DEPENDS= libguile-2.0.so:${PORTSDIR}/lang/guile2
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --enable-shared
|
||||
USES= fortran libtool
|
||||
USES= fortran libtool pkgconfig
|
||||
USE_LDCONFIG= yes
|
||||
LDFLAGS+= -L${LOCALBASE}/lib -lm
|
||||
|
||||
BROKEN_sparc64= does not build
|
||||
|
||||
OPTIONS_DEFINE= DOCS EXAMPLES
|
||||
OPTIONS_DEFINE= NLOPT DOCS EXAMPLES
|
||||
NLOPT_DESC= Use NLopt, an external NonLinear OPTimizer
|
||||
|
||||
NLOPT_LIB_DEPENDS= libnlopt.so:${PORTSDIR}/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.5.0.2
|
||||
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libctlgeom.so.5.0.2
|
||||
@${STRIP_CMD} ${STAGEDIR}${EXAMPLESDIR}/.libs/example
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (libctl-3.2.1.tar.gz) = c83f73eb1a99b783499859ffba4ed7b13c1ff65dfdda5cdb29c3cec3e307ad44
|
||||
SIZE (libctl-3.2.1.tar.gz) = 485825
|
||||
SHA256 (libctl-3.2.2.tar.gz) = 8abd8b58bc60e84e16d25b56f71020e0cb24d75b28bc5db86d50028197c7efbc
|
||||
SIZE (libctl-3.2.2.tar.gz) = 505796
|
||||
|
@ -5,11 +5,11 @@ include/ctlgeom.h
|
||||
lib/libctl.a
|
||||
lib/libctl.so
|
||||
lib/libctl.so.5
|
||||
lib/libctl.so.5.0.1
|
||||
lib/libctl.so.5.0.2
|
||||
lib/libctlgeom.a
|
||||
lib/libctlgeom.so
|
||||
lib/libctlgeom.so.5
|
||||
lib/libctlgeom.so.5.0.1
|
||||
lib/libctlgeom.so.5.0.2
|
||||
man/man1/gen-ctl-io.1.gz
|
||||
%%PORTDOCS%%%%DOCSDIR%%/advanced-user.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/basic-user.html
|
||||
|
Loading…
Reference in New Issue
Block a user