1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-20 08:27:15 +00:00
freebsd-ports/astro/astrometry/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

71 lines
2.1 KiB
Makefile

# Created by: Sébastien Santoro <dereckson@gmail.com>
PORTNAME= astrometry
PORTVERSION= 0.85
PORTREVISION= 1
CATEGORIES= astro
MASTER_SITES= http://astrometry.net/downloads/
DISTNAME= ${PORTNAME}.net-${PORTVERSION}
MAINTAINER= rhurlin@FreeBSD.org
COMMENT= Astronomic calibration service
LICENSE= GPLv2
BROKEN_armv6= fails to link: os-features-test.c:10: undefined symbol 'canonicalize_file_name'
BROKEN_armv7= fails to link: os-features-test.c:10: undefined symbol 'canonicalize_file_name'
BUILD_DEPENDS= ${PYNUMPY}
LIB_DEPENDS= libcairo.so:graphics/cairo \
libcfitsio.so:astro/cfitsio \
libgsl.so:math/gsl \
libpng.so:graphics/png \
libnetpbm.so:graphics/netpbm \
libwcs.so:astro/wcslib
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}astropy>0:astro/py-astropy@${PY_FLAVOR} \
${PYNUMPY}
USES= gmake jpeg localbase pkgconfig python shebangfix
USE_LDCONFIG= yes
SHEBANG_FILES= bin/* sdss/*.py solver/*.py util/[!c]*.py
MAKE_ARGS= NETPBM_INC="-I${LOCALBASE}/include/netpbm" \
NETPBM_LIB="-L${LOCALBASE}/lib -lnetpbm" \
SYSTEM_GSL=yes
MAKE_ENV= INSTALL_DIR=${STAGEDIR}${PREFIX} \
DOC_INSTALL_DIR=${STAGEDIR}${DOCSDIR} \
EXAMPLE_INSTALL_DIR=${STAGEDIR}${EXAMPLESDIR} \
MAN1_INSTALL_DIR=${STAGEDIR}${PREFIX}/man/man1 \
PYTHON=${PYTHON_CMD} PYTHON_SCRIPT=${PYTHON_CMD}
MAKE_JOBS_UNSAFE= yes
ALL_TARGET= all extra
LDFLAGS+= -lz
# Need this to get gzipped man pages
MANDIRS= ${MANPREFIX}/man/man1
SUB_FILES= pkg-message
PORTDOCS= *
PORTEXAMPLES= *
OPTIONS_DEFINE= DOCS EXAMPLES
OPTIONS_DEFAULT= EXAMPLES
# Changes search path in astrometry-engine
DATA_INSTALL_DIR= ${STAGEDIR}${DATADIR}
# DATA_INSTALL_DIR does not work globally :(
post-install:
@${REINPLACE_CMD} -i '' \
-e 's|${STAGEDIR}/usr/local/data|${DATADIR}|' \
${STAGEDIR}${PREFIX}/etc/${PORTNAME}.cfg
@${RMDIR} ${STAGEDIR}${PREFIX}/data
@${MKDIR} ${STAGEDIR}${DATADIR}/sdss
@${MKDIR} ${STAGEDIR}${DATADIR}/solver
@${MKDIR} ${STAGEDIR}${DATADIR}/catalogs
${INSTALL_DATA} ${WRKSRC}/sdss/testdata/*.fit* ${STAGEDIR}${DATADIR}/sdss
${INSTALL_DATA} ${WRKSRC}/solver/index-9918.fits ${STAGEDIR}${DATADIR}/solver
${INSTALL_DATA} ${WRKSRC}/catalogs/*.fit* ${STAGEDIR}${DATADIR}/catalogs
.include <bsd.port.mk>