Files
ports/math/oleo/Makefile
Tobias C. Berner 63e653adaa math/gsl: update to 2.7
From [1]

* What is new in gsl-2.7:
	* fixed doc bug for gsl_histogram_min_bin (lhcsky at 163.com)
	* fixed bug #60335 (spmatrix test failure, J. Lamb)
	* fixed bug #36577
	* clarified documentation on interpolation accelerators (V. Krishnan)
	* fixed bug #45521 (erroneous GSL_ERROR_NULL in ode-initval2, thanks to M. Sitte)
	* fixed doc bug #59758
	* fixed bug #58202 (rstat median for n=5)
	* added support for native C complex number types in gsl_complex
	   when using a C11 compiler
	* upgraded to autoconf 2.71, automake 1.16.3, libtool 2.4.6
	* updated exponential fitting example for nonlinear least squares
	* added banded LU decomposition and solver (gsl_linalg_LU_band)
	* New functions added to the library:
	      - gsl_matrix_norm1
	      - gsl_spmatrix_norm1
	      - gsl_matrix_complex_conjtrans_memcpy
	      - gsl_linalg_QL: decomp, unpack
	      - gsl_linalg_complex_QR_* (thanks to Christian Krueger)
	      - gsl_vector_sum
	      - gsl_matrix_scale_rows
	      - gsl_matrix_scale_columns
	      - gsl_multilarge_linear_matrix_ptr
	      - gsl_multilarge_linear_rhs_ptr
	      - gsl_spmatrix_dense_add (renamed from gsl_spmatrix_add_to_dense)
	      - gsl_spmatrix_dense_sub
	      - gsl_linalg_cholesky_band: solvem, svxm, scale, scale_apply
	      - gsl_linalg_QR_UD: decomp, lssolve
	      - gsl_linalg_QR_UU: decomp, lssolve, QTvec
	      - gsl_linalg_QR_UZ: decomp
	      - gsl_multifit_linear_lcurvature
	      - gsl_spline2d_eval_extrap
	* bug fix in checking vector lengths in gsl_vector_memcpy (dieggsy@pm.me)
	* made gsl_sf_legendre_array_index() inline and documented
	      - gsl_sf_legendre_nlm()

[1] http://git.savannah.gnu.org/cgit/gsl.git/tree/NEWS

PR:		256423
Exp-run by:	antoine
2021-06-16 21:31:27 +02:00

63 lines
1.6 KiB
Makefile

# Created by: mr
PORTNAME= oleo
PORTVERSION= 1.99.16
PORTREVISION= 14
CATEGORIES= math
MASTER_SITES= GNU
MAINTAINER= ports@FreeBSD.org
COMMENT= GNU spreadsheet for X11 and terminals
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libgsl.so:math/gsl
USES= bison:alias localbase ncurses perl5
USE_PERL5= build
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --without-xlt --without-sciplot
# With -O2 configure hangs at "checking for working mktime..."
CONFIGURE_ENV= CFLAGS="${CFLAGS:C/-O2//} -fwrapv"
MAKE_ARGS+= DESTDIR="${STAGEDIR}"
BINARY_ALIAS= makeinfo=false # disable detecting local makeinfo
INFO= oleo
OPTIONS_DEFINE= CUPS MOTIF NLS
OPTIONS_SUB= yes
CUPS_LIB_DEPENDS= libcups.so:print/cups
MOTIF_LIB_DEPENDS= libplot.so:graphics/plotutils \
libXbae.so:x11-toolkits/xbae \
libXmHTML.so:x11-toolkits/xmhtml \
libpng.so:graphics/png \
libXft.so:x11-fonts/libXft \
libfontconfig.so:x11-fonts/fontconfig
MOTIF_USES= jpeg motif xorg
MOTIF_USE= XORG=ice,sm,x11,xext,xpm,xt
MOTIF_CONFIGURE_WITH= motif x
MOTIF_LIBS= -lXft -lfontconfig
NLS_USES= gettext
NLS_LIBS= -lintl
NLS_CONFIGURE_ENABLE= nls
NLS_USES_OFF= gettext-tools
pre-configure:
@${GREP} -lR "malloc\.h" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \
's|malloc\.h|stdlib.h|g'
.for pof in en fr nl
@${REINPLACE_CMD} -e "s|CHARSET|ISO-8859-1|;s|ENCODING|8bit|" \
${WRKSRC}/po/${pof}.po
.endfor
@${REINPLACE_CMD} -e "s|am: install-docDATA|am:|" ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e "s|install-info-am install-htmlDATA|install-info-am|" \
${WRKSRC}/doc/Makefile.in
${REINPLACE_CMD} -e "s|gslblas|gslcblas|" ${WRKSRC}/configure
.include <bsd.port.mk>