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
46 lines
916 B
Makefile
46 lines
916 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= bsd-plotutils
|
|
DISTVERSION= 1.4.2
|
|
PORTREVISION= 2
|
|
CATEGORIES= graphics
|
|
|
|
MAINTAINER= toranktto@gmail.com
|
|
COMMENT= Traditional plotting utilities
|
|
|
|
LICENSE= BSD4CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
OPTIONS_DEFINE= FORTRAN PYTHON
|
|
OPTIONS_SUB= yes
|
|
FORTRAN_DESC= FORTRAN 77 support
|
|
PYTHON_DESC= Python 2.7 support
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MPYTHON}
|
|
USES+= python:2.7
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MFORTRAN}
|
|
USES+= fortran
|
|
.endif
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= Toranktto
|
|
GH_PROJECT= bsd-plotutils
|
|
|
|
CONFLICTS_INSTALL= plotutils
|
|
USE_LDCONFIG= yes
|
|
|
|
post-patch:
|
|
.if !${PORT_OPTIONS:MPYTHON}
|
|
@${REINPLACE_CMD} -e "s/py27plot//g" ${WRKSRC}/libplot/bindings/Makefile
|
|
.endif
|
|
@${REINPLACE_CMD} -e '/#pragma GCC diagnostic/d' ${WRKSRC}/graph/graph.c
|
|
|
|
.if !${PORT_OPTIONS:MFORTRAN}
|
|
@${REINPLACE_CMD} -e "s/f77plot//g" ${WRKSRC}/libplot/bindings/Makefile
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|