freebsd-ports/lang/algol68g/Makefile
Alexey Dokuchaev b69270d197 lang/algol68g: update Algol 68 Genie to version 3.2.0
Reported by:	portscout
2023-06-12 12:44:22 +00:00

41 lines
1.1 KiB
Makefile

PORTNAME= algol68g
PORTVERSION= 3.2.0
CATEGORIES= lang
MASTER_SITES= https://jmvdveer.home.xs4all.nl/
MAINTAINER= danfe@FreeBSD.org
COMMENT= Algol 68 Genie compiler
WWW= https://www.xs4all.nl/~jmvdveer/algol.html
LICENSE= GPLv3+
USES= readline
GNU_CONFIGURE= yes
TEST_TARGET= check
OPTIONS_DEFINE= GSL PGSQL PLOTUTILS RMATH
OPTIONS_DEFAULT= GSL PGSQL PLOTUTILS RMATH
GSL_DESC= Bindings for GNU Scientific Library
GSL_LIB_DEPENDS= libgsl.so:math/gsl
GSL_CONFIGURE_ENABLE= gsl
PLOTUTILS_DESC= Plotting support via plotutils
PLOTUTILS_LIB_DEPENDS= libplot.so:graphics/plotutils
PLOTUTILS_CONFIGURE_ENABLE=plotutils
PGSQL_USES= pgsql
PGSQL_CONFIGURE_ENABLE= postgresql
RMATH_DESC= Bindings for GNU R's statistical routines
RMATH_LIB_DEPENDS= libRmath.so:math/libRmath
RMATH_CONFIGURE_ENABLE= mathlib
post-patch:
# Skip broken check, assume our $CC works
@${REINPLACE_CMD} -Ee 's/.*(\*-freebsd)/\1/' \
-e 's|"xgcc"|"x${CC}"|; s/-ldl //' ${WRKSRC}/configure
@${REINPLACE_CMD} -e '/^install-data-am/s/install-docDATA//' \
${WRKSRC}/Makefile.in
.include <bsd.port.mk>