diff --git a/astro/astrometry/Makefile b/astro/astrometry/Makefile index 25ee166e1cae..0696922a69d7 100644 --- a/astro/astrometry/Makefile +++ b/astro/astrometry/Makefile @@ -1,73 +1,82 @@ # Created by: Sébastien Santoro PORTNAME= astrometry PORTVERSION= 0.89 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= astro MASTER_SITES= http://astrometry.net/downloads/ DISTNAME= ${PORTNAME}.net-${PORTVERSION} MAINTAINER= rhurlin@FreeBSD.org COMMENT= Astronomic calibration service LICENSE= GPLv3+ 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 -CONFLICTS_INSTALL= afni p5-Text-RecordParser # bin/imstat bin/tabmerge - 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} \ + DATA_INSTALL_DIR=${STAGEDIR}${DATADIR} \ DOC_INSTALL_DIR=${STAGEDIR}${DOCSDIR} \ EXAMPLE_INSTALL_DIR=${STAGEDIR}${EXAMPLESDIR} \ MAN1_INSTALL_DIR=${STAGEDIR}${PREFIX}/man/man1 \ + PY_BASE_INSTALL_DIR=${STAGEDIR}${PYTHON_LIBDIR}/astrometry \ PYTHON=${PYTHON_CMD} PYTHON_SCRIPT=${PYTHON_CMD} MAKE_JOBS_UNSAFE= yes ALL_TARGET= all extra LDFLAGS+= -lz -# Need this to get gzipped man pages +CONFLICTS_INSTALL= afni p5-Text-RecordParser # bin/imstat bin/tabmerge + 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} +FILES= an-fitstopnm an-pnmtofits astrometry-engine \ + build-astrometry-index downsample-fits fit-wcs \ + fits-column-merge fits-flip-endian fits-guess-scale \ + fitscopy fitsgetext fitsverify get-healpix get-wcs \ + hpsplit image2xy imarith imcopy imstat listhead liststruc \ + modhead new-wcs pad-file plot-constellations \ + plotquad plotxy query-starkd solve-field startree \ + subtable tablist tabmerge tabsort wcs-grab wcs-match \ + wcs-pv2sip wcs-rd2xy wcs-resample wcs-to-tan wcs-xy2rd \ + wcsinfo -# DATA_INSTALL_DIR does not work globally :( post-install: +.for file in ${FILES} + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${file} +.endfor + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libastrometry.so @${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 diff --git a/astro/astrometry/pkg-plist b/astro/astrometry/pkg-plist index f0a1c6e9e243..0a35fca7d59d 100644 --- a/astro/astrometry/pkg-plist +++ b/astro/astrometry/pkg-plist @@ -1,298 +1,320 @@ bin/an-fitstopnm bin/an-pnmtofits bin/astrometry-engine bin/build-astrometry-index bin/degtohms bin/downsample-fits bin/fit-wcs bin/fits-column-merge bin/fits-flip-endian bin/fits-guess-scale bin/fitscopy bin/fitsgetext bin/fitsverify bin/get-healpix bin/get-wcs bin/hmstodeg bin/hpsplit bin/image2pnm bin/image2xy bin/imarith bin/imcopy bin/imstat bin/listhead bin/liststruc bin/merge-columns bin/modhead bin/new-wcs bin/pad-file bin/plot-constellations bin/plotquad bin/plotxy bin/query-starkd bin/removelines bin/solve-field bin/startree bin/subtable bin/tablist bin/tabmerge bin/tabsort bin/text2fits bin/uniformize bin/votabletofits bin/wcs-grab bin/wcs-match bin/wcs-pv2sip bin/wcs-rd2xy bin/wcs-resample bin/wcs-to-tan bin/wcs-xy2rd bin/wcsinfo etc/astrometry.cfg include/astrometry/2mass-fits.h include/astrometry/2mass.h include/astrometry/allquads.h include/astrometry/an-bool.h include/astrometry/an-endian.h include/astrometry/an-opts.h include/astrometry/an-thread-pthreads.h include/astrometry/an-thread.h include/astrometry/anqfits.h include/astrometry/anwcs.h include/astrometry/augment-xylist.h include/astrometry/axyfile.h include/astrometry/bl-nl.h include/astrometry/bl-nl.inc include/astrometry/bl-nl.ph include/astrometry/bl-sort.h include/astrometry/bl.h include/astrometry/bl.inc include/astrometry/bl.ph include/astrometry/brightstars.h include/astrometry/bt.h include/astrometry/build-index.h include/astrometry/cairoutils.h include/astrometry/catalog.h include/astrometry/coadd.h include/astrometry/codefile.h include/astrometry/codekd.h include/astrometry/codetree.h include/astrometry/constellation-boundaries.h include/astrometry/constellations.h include/astrometry/convolve-image.h include/astrometry/ctmf.h include/astrometry/dimage.h include/astrometry/dualtree.h include/astrometry/dualtree_nearestneighbour.h include/astrometry/dualtree_rangesearch.h include/astrometry/engine.h include/astrometry/errors.h include/astrometry/fileutils.h include/astrometry/fit-wcs.h include/astrometry/fits-guess-scale.h include/astrometry/fitsbin.h include/astrometry/fitsfile.h include/astrometry/fitsioutils.h include/astrometry/fitstable.h include/astrometry/gslutils.h include/astrometry/hd.h include/astrometry/healpix-utils.h include/astrometry/healpix.h include/astrometry/hpquads.h include/astrometry/image2xy-files.h include/astrometry/image2xy.h include/astrometry/index.h include/astrometry/intmap.h include/astrometry/ioutils.h include/astrometry/kdtree.h include/astrometry/kdtree_fits_io.h include/astrometry/keywords.h include/astrometry/log.h include/astrometry/matchfile.h include/astrometry/matchobj.h include/astrometry/mathutil.h include/astrometry/merge-index.h include/astrometry/multiindex.h include/astrometry/new-wcs.h include/astrometry/nomad-fits.h include/astrometry/nomad.h include/astrometry/onefield.h include/astrometry/openngc.h include/astrometry/os-features-config.h include/astrometry/os-features.h include/astrometry/permutedsort.h include/astrometry/plotannotations.h include/astrometry/plotfill.h include/astrometry/plotgrid.h include/astrometry/plotimage.h include/astrometry/plotoutline.h include/astrometry/plotstuff.h include/astrometry/plotxy.h include/astrometry/qfits_byteswap.h include/astrometry/qfits_card.h include/astrometry/qfits_convert.h include/astrometry/qfits_error.h include/astrometry/qfits_float.h include/astrometry/qfits_header.h include/astrometry/qfits_image.h include/astrometry/qfits_keywords.h include/astrometry/qfits_md5.h include/astrometry/qfits_memory.h include/astrometry/qfits_rw.h include/astrometry/qfits_std.h include/astrometry/qfits_table.h include/astrometry/qfits_time.h include/astrometry/qfits_tools.h include/astrometry/qidxfile.h include/astrometry/quad-builder.h include/astrometry/quad-utils.h include/astrometry/quadfile.h include/astrometry/rdlist.h include/astrometry/resample.h include/astrometry/resort-xylist.h include/astrometry/scamp-catalog.h include/astrometry/scamp.h include/astrometry/simplexy-common.h include/astrometry/simplexy.h include/astrometry/sip-utils.h include/astrometry/sip.h include/astrometry/sip_qfits.h include/astrometry/solvedfile.h include/astrometry/solver.h include/astrometry/solverutils.h include/astrometry/starkd.h include/astrometry/starutil.h include/astrometry/starutil.inc include/astrometry/starxy.h include/astrometry/tabsort.h include/astrometry/tic.h include/astrometry/tweak.h include/astrometry/tweak2.h include/astrometry/tycho2-fits.h include/astrometry/tycho2.h include/astrometry/ucac3.h include/astrometry/ucac4.h include/astrometry/ucac5.h include/astrometry/uniformize-catalog.h include/astrometry/unpermute-quads.h include/astrometry/unpermute-stars.h include/astrometry/usnob-fits.h include/astrometry/usnob.h include/astrometry/verify.h include/astrometry/wcs-pv2sip.h include/astrometry/wcs-rd2xy.h include/astrometry/wcs-xy2rd.h include/astrometry/xylist.h lib/libanbase.a lib/libanfiles.a lib/libanutils.a lib/libastrometry.a lib/libastrometry.so lib/libcatalogs.a lib/libkd.a lib/libqfits.a -lib/python/astrometry/__init__.py -lib/python/astrometry/catalogs/__init__.py -lib/python/astrometry/libkd/__init__.py -lib/python/astrometry/libkd/spherematch.py -lib/python/astrometry/libkd/spherematch_c%%PYTHON_EXT_SUFFIX%%.so -lib/python/astrometry/net/client/client.py -lib/python/astrometry/plot/_plotstuff_c%%PYTHON_EXT_SUFFIX%%.so -lib/python/astrometry/plot/plotstuff.py -lib/python/astrometry/plot/plotstuff_c.py -lib/python/astrometry/sdss/__init__.py -lib/python/astrometry/sdss/_cutils%%PYTHON_EXT_SUFFIX%%.so -lib/python/astrometry/sdss/casjobs.py -lib/python/astrometry/sdss/common.py -lib/python/astrometry/sdss/cutils.py -lib/python/astrometry/sdss/cutout.py -lib/python/astrometry/sdss/dr10.py -lib/python/astrometry/sdss/dr7.py -lib/python/astrometry/sdss/dr8.py -lib/python/astrometry/sdss/dr9.py -lib/python/astrometry/sdss/fields.py -lib/python/astrometry/sdss/runList-dr10.par -lib/python/astrometry/sdss/runList-dr8.par -lib/python/astrometry/sdss/runList-dr9.par -lib/python/astrometry/sdss/sdss_das.py -lib/python/astrometry/sdss/sdss_name.py -lib/python/astrometry/sdss/yanny.py -lib/python/astrometry/solver/__init__.py -lib/python/astrometry/util/EXIF.py -lib/python/astrometry/util/__init__.py -lib/python/astrometry/util/_util%%PYTHON_EXT_SUFFIX%%.so -lib/python/astrometry/util/addpath.py -lib/python/astrometry/util/file.py -lib/python/astrometry/util/filetype.py -lib/python/astrometry/util/find_data_file.py -lib/python/astrometry/util/fits.py -lib/python/astrometry/util/fix_sdss_idr.py -lib/python/astrometry/util/horizons.py -lib/python/astrometry/util/image2pnm.py -lib/python/astrometry/util/imageutils.py -lib/python/astrometry/util/miscutils.py -lib/python/astrometry/util/multiproc.py -lib/python/astrometry/util/plotshift.py -lib/python/astrometry/util/plotutils.py -lib/python/astrometry/util/removelines.py -lib/python/astrometry/util/resample.py -lib/python/astrometry/util/run_command.py -lib/python/astrometry/util/shell.py -lib/python/astrometry/util/siap.py -lib/python/astrometry/util/stages.py -lib/python/astrometry/util/starutil.py -lib/python/astrometry/util/starutil_numpy.py -lib/python/astrometry/util/timingpool.py -lib/python/astrometry/util/ttime.py -lib/python/astrometry/util/uniformize.py -lib/python/astrometry/util/usnob_catalog.py -lib/python/astrometry/util/usnob_get_image.py -lib/python/astrometry/util/usnob_get_region.py -lib/python/astrometry/util/util.py +%%PYTHON_LIBDIR%%/astrometry/__init__.py +%%PYTHON_LIBDIR%%/astrometry/catalogs/__init__.py +%%PYTHON_LIBDIR%%/astrometry/libkd/__init__.py +%%PYTHON_LIBDIR%%/astrometry/libkd/spherematch.py +%%PYTHON_LIBDIR%%/astrometry/libkd/spherematch_c%%PYTHON_EXT_SUFFIX%%.so +%%PYTHON_LIBDIR%%/astrometry/net/client/client.py +%%PYTHON_LIBDIR%%/astrometry/plot/_plotstuff_c%%PYTHON_EXT_SUFFIX%%.so +%%PYTHON_LIBDIR%%/astrometry/plot/plotstuff.py +%%PYTHON_LIBDIR%%/astrometry/plot/plotstuff_c.py +%%PYTHON_LIBDIR%%/astrometry/sdss/__init__.py +%%PYTHON_LIBDIR%%/astrometry/sdss/_cutils%%PYTHON_EXT_SUFFIX%%.so +%%PYTHON_LIBDIR%%/astrometry/sdss/casjobs.py +%%PYTHON_LIBDIR%%/astrometry/sdss/common.py +%%PYTHON_LIBDIR%%/astrometry/sdss/cutils.py +%%PYTHON_LIBDIR%%/astrometry/sdss/cutout.py +%%PYTHON_LIBDIR%%/astrometry/sdss/dr10.py +%%PYTHON_LIBDIR%%/astrometry/sdss/dr7.py +%%PYTHON_LIBDIR%%/astrometry/sdss/dr8.py +%%PYTHON_LIBDIR%%/astrometry/sdss/dr9.py +%%PYTHON_LIBDIR%%/astrometry/sdss/fields.py +%%PYTHON_LIBDIR%%/astrometry/sdss/runList-dr10.par +%%PYTHON_LIBDIR%%/astrometry/sdss/runList-dr8.par +%%PYTHON_LIBDIR%%/astrometry/sdss/runList-dr9.par +%%PYTHON_LIBDIR%%/astrometry/sdss/sdss_das.py +%%PYTHON_LIBDIR%%/astrometry/sdss/sdss_name.py +%%PYTHON_LIBDIR%%/astrometry/sdss/yanny.py +%%PYTHON_LIBDIR%%/astrometry/solver/__init__.py +%%PYTHON_LIBDIR%%/astrometry/util/EXIF.py +%%PYTHON_LIBDIR%%/astrometry/util/__init__.py +%%PYTHON_LIBDIR%%/astrometry/util/_util%%PYTHON_EXT_SUFFIX%%.so +%%PYTHON_LIBDIR%%/astrometry/util/addpath.py +%%PYTHON_LIBDIR%%/astrometry/util/file.py +%%PYTHON_LIBDIR%%/astrometry/util/filetype.py +%%PYTHON_LIBDIR%%/astrometry/util/find_data_file.py +%%PYTHON_LIBDIR%%/astrometry/util/fits.py +%%PYTHON_LIBDIR%%/astrometry/util/fix_sdss_idr.py +%%PYTHON_LIBDIR%%/astrometry/util/horizons.py +%%PYTHON_LIBDIR%%/astrometry/util/image2pnm.py +%%PYTHON_LIBDIR%%/astrometry/util/imageutils.py +%%PYTHON_LIBDIR%%/astrometry/util/miscutils.py +%%PYTHON_LIBDIR%%/astrometry/util/multiproc.py +%%PYTHON_LIBDIR%%/astrometry/util/plotshift.py +%%PYTHON_LIBDIR%%/astrometry/util/plotutils.py +%%PYTHON_LIBDIR%%/astrometry/util/removelines.py +%%PYTHON_LIBDIR%%/astrometry/util/resample.py +%%PYTHON_LIBDIR%%/astrometry/util/run_command.py +%%PYTHON_LIBDIR%%/astrometry/util/shell.py +%%PYTHON_LIBDIR%%/astrometry/util/siap.py +%%PYTHON_LIBDIR%%/astrometry/util/stages.py +%%PYTHON_LIBDIR%%/astrometry/util/starutil.py +%%PYTHON_LIBDIR%%/astrometry/util/starutil_numpy.py +%%PYTHON_LIBDIR%%/astrometry/util/timingpool.py +%%PYTHON_LIBDIR%%/astrometry/util/ttime.py +%%PYTHON_LIBDIR%%/astrometry/util/uniformize.py +%%PYTHON_LIBDIR%%/astrometry/util/usnob_catalog.py +%%PYTHON_LIBDIR%%/astrometry/util/usnob_get_image.py +%%PYTHON_LIBDIR%%/astrometry/util/usnob_get_region.py +%%PYTHON_LIBDIR%%/astrometry/util/util.py man/man1/an-fitstopnm.1.gz man/man1/an-pnmtofits.1.gz man/man1/astrometry-engine.1.gz man/man1/build-astrometry-index.1.gz man/man1/coadd.1.gz man/man1/downsample-fits.1.gz man/man1/fit-wcs.1.gz man/man1/fits-flip-endian.1.gz man/man1/fits-guess-scale.1.gz man/man1/fitsgetext.1.gz man/man1/get-healpix.1.gz man/man1/get-wcs.1.gz man/man1/hpsplit.1.gz man/man1/image2xy.1.gz man/man1/new-wcs.1.gz man/man1/pad-file.1.gz man/man1/plot-constellations.1.gz man/man1/plotquad.1.gz man/man1/plotxy.1.gz man/man1/query-starkd.1.gz man/man1/solve-field.1.gz man/man1/subtable.1.gz man/man1/tabsort.1.gz man/man1/wcs-grab.1.gz man/man1/wcs-match.1.gz man/man1/wcs-pv2sip.1.gz man/man1/wcs-rd2xy.1.gz man/man1/wcs-resample.1.gz man/man1/wcs-to-tan.1.gz man/man1/wcs-xy2rd.1.gz man/man1/wcsinfo.1.gz %%DATADIR%%/catalogs/abell-all.fits %%DATADIR%%/catalogs/brightstars.fits %%DATADIR%%/catalogs/openngc-ic.fits %%DATADIR%%/catalogs/openngc-names.fits %%DATADIR%%/catalogs/openngc-ngc.fits %%DATADIR%%/catalogs/ugc.fits %%DATADIR%%/catalogs/uzc2000.fits %%DATADIR%%/sdss/cut-tsObj-002830-6-0-0398.fit %%DATADIR%%/sdss/psf.fits %%DATADIR%%/sdss/psf00.fits %%DATADIR%%/sdss/psf01k.fits %%DATADIR%%/sdss/psf02k.fits %%DATADIR%%/sdss/psf1k0.fits %%DATADIR%%/sdss/psf2k0.fits %%DATADIR%%/sdss/tsField-002830-6-0398.fit %%DATADIR%%/solver/index-9918.fits +%%PORTDOCS%%%%DOCSDIR%%/CREDITS +%%PORTDOCS%%%%DOCSDIR%%/LICENSE +%%PORTDOCS%%%%DOCSDIR%%/README.md +%%PORTDOCS%%%%DOCSDIR%%/report.txt +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/CREDITS +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/apod1.jpg +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/apod1.xyls +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/apod2.jpg +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/apod2.xyls +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/apod3.jpg +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/apod3.xyls +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/apod4.jpg +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/apod4.xyls +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/apod5.jpg +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/apod5.xyls +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/cfg +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/index-4119.fits +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/m44-1910-04-01.jpg +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/m44-1975-01-18.jpg +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sdss.jpg +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sdss.xyls +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tycho2-mag6.fits