freebsd-ports/math/gfanlib/Makefile
Gerald Pfeifer ea8c8ec7da Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.

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, everything INDEX-11 shows with a dependency on lang/gcc9 now.

PR:		238330
2019-07-26 20:46:53 +00:00

41 lines
1.1 KiB
Makefile

# Created by: Lorenzo Salvadore
# $FreeBSD$
PORTNAME= gfanlib
DISTVERSION= 0.6.2
PORTREVISION= 1
CATEGORIES= math
MASTER_SITES= http://home.math.au.dk/jensen/software/gfan/
DISTNAME= gfan${DISTVERSION}
MAINTAINER= phascolarctos@protonmail.ch
COMMENT= Static library for computing Groebner fans and tropical varieties
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= ${LOCALBASE}/include/cdd/cdd.h:math/cddlib
LIB_DEPENDS= libgmp.so:math/gmp
USES= compiler:c++11-lang gmake localbase
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include/cdd
CONFIGURE_WRKSRC= ${WRKSRC}/gfanlib
BUILD_WRKSRC= ${WRKSRC}/gfanlib
pre-configure:
for x in ${WRKSRC}/src/gfanlib*; do ${MV} $$x ${WRKSRC}/gfanlib; done
# this is not supported yet, see ${WRKSRC}/Makefile: gfanlib_tableau.h
# is commented in GFANLIBFILES' declaration
${RM} ${WRKSRC}/gfanlib/gfanlib_tableau.h
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/include/gfanlib
${INSTALL_DATA} ${WRKSRC}/gfanlib/gfanlib*.h \
${STAGEDIR}${PREFIX}/include/gfanlib
${INSTALL_DATA} ${WRKSRC}/gfanlib/libgfan.a \
${STAGEDIR}${PREFIX}/lib/libgfan.a
.include <bsd.port.mk>