1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-16 07:58:04 +00:00
freebsd-ports/science/libctl/Makefile
Gerald Pfeifer a9f015d155 Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.

PR:		231590
2018-12-12 01:35:33 +00:00

40 lines
967 B
Makefile

# Created by: ijliao
# $FreeBSD$
PORTNAME= libctl
PORTVERSION= 3.2.2
PORTREVISION= 6
CATEGORIES= science math
MASTER_SITES= http://ab-initio.mit.edu/libctl/
MAINTAINER= devel@stasyan.com
COMMENT= Control Language Library
LICENSE= GPLv2
LIB_DEPENDS= libguile-2.0.so:lang/guile2
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-shared
USES= fortran libtool pkgconfig
USE_LDCONFIG= yes
LDFLAGS+= -L${LOCALBASE}/lib -lm
BROKEN_sparc64= does not build
OPTIONS_DEFINE= NLOPT DOCS EXAMPLES
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.5.0.2
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libctlgeom.so.5.0.2
@${STRIP_CMD} ${STAGEDIR}${EXAMPLESDIR}/.libs/example
.include <bsd.port.mk>