aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2009-07-18 01:13:13 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2009-07-18 01:13:13 +0800
commit16064bd68441b62dc56a16a0c06ef94c5f8b5a2c (patch)
tree710b89bca928bb5ed51c636b603f767340012ecb
parenta4b421dbe443794f2c13b461468e54da013f263e (diff)
downloadfreebsd-ports-gnome-16064bd68441b62dc56a16a0c06ef94c5f8b5a2c.tar.gz
freebsd-ports-gnome-16064bd68441b62dc56a16a0c06ef94c5f8b5a2c.tar.zst
freebsd-ports-gnome-16064bd68441b62dc56a16a0c06ef94c5f8b5a2c.zip
If you have astronomical imaging of the sky with celestial coordinates you do
not know or do not trust then is for you. Input an image and we'll give you back astrometric calibration meta-data, plus lists of known objects falling inside the field of view.Astrometry.net We have built this astrometric calibration service to create correct, standards-compliant astrometric meta-data for every useful astronomical image ever taken, past and future, in any state of archival disarray. We hope this will help organize, annotate and make searchable all the world's astronomical information. WWW: http://www.astrometry.net/ PR: 136594 Submitted by: Dereckson <dereckson@gmail.com>
-rw-r--r--astro/Makefile1
-rw-r--r--astro/astrometry/Makefile38
-rw-r--r--astro/astrometry/distinfo3
-rw-r--r--astro/astrometry/files/gnu-specific-config.h4
-rw-r--r--astro/astrometry/files/pkg-message.in9
-rw-r--r--astro/astrometry/pkg-descr12
-rw-r--r--astro/astrometry/pkg-plist109
7 files changed, 176 insertions, 0 deletions
diff --git a/astro/Makefile b/astro/Makefile
index 2abda6c7c8fe..81120597fa23 100644
--- a/astro/Makefile
+++ b/astro/Makefile
@@ -5,6 +5,7 @@
SUBDIR += aa
SUBDIR += accrete
+ SUBDIR += astrometry
SUBDIR += boinc-einsteinathome
SUBDIR += boinc-milkyway
SUBDIR += boinc-setiathome-enhanced
diff --git a/astro/astrometry/Makefile b/astro/astrometry/Makefile
new file mode 100644
index 000000000000..16527552da1a
--- /dev/null
+++ b/astro/astrometry/Makefile
@@ -0,0 +1,38 @@
+
+# New ports collection makefile for: astrometry
+# Date created: 7 July 2009
+# Whom: Dereckson <dereckson@gmail.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= astrometry
+PORTVERSION= 0.25
+CATEGORIES= astro
+MASTER_SITES= http://www.astrometry.net/downloads/
+DISTNAME= astrometry.net-${PORTVERSION}
+
+MAINTAINER= dereckson@gmail.com
+COMMENT= Describes an astronomical image
+
+LIB_DEPENDS= cairo.2:${PORTSDIR}/graphics/cairo \
+ jpeg.9:${PORTSDIR}/graphics/jpeg \
+ png.5:${PORTSDIR}/graphics/png \
+ netpbm.1:${PORTSDIR}/graphics/netpbm
+BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/numpy:${PORTSDIR}/math/py-numpy
+RUN_DEPENDS= ${PYTHON_SITELIBDIR}/numpy:${PORTSDIR}/math/py-numpy
+
+USE_PYTHON= 2.4+
+USE_GMAKE= yes
+ALL_TARGET= all extra
+MAKE_ENV= INSTALL_DIR=${PREFIX}/astrometry
+MAKE_JOBS_UNSAFE= yes
+SUB_FILES= pkg-message
+
+post-extract:
+ ${CP} ${FILESDIR}/gnu-specific-config.h ${WRKSRC}/util/
+
+post-install:
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/astro/astrometry/distinfo b/astro/astrometry/distinfo
new file mode 100644
index 000000000000..82b5f21ac321
--- /dev/null
+++ b/astro/astrometry/distinfo
@@ -0,0 +1,3 @@
+MD5 (astrometry.net-0.25.tar.gz) = c38ffead18008e616293f4bd7e4d3df2
+SHA256 (astrometry.net-0.25.tar.gz) = b6d0a80fe452c8bb2cc359a06fb9a79cbf62575f349077367ca86dd4696d8dbf
+SIZE (astrometry.net-0.25.tar.gz) = 4929438
diff --git a/astro/astrometry/files/gnu-specific-config.h b/astro/astrometry/files/gnu-specific-config.h
new file mode 100644
index 000000000000..401234faf8d8
--- /dev/null
+++ b/astro/astrometry/files/gnu-specific-config.h
@@ -0,0 +1,4 @@
+#define NEED_CANONICALIZE_FILE_NAME 1
+#define NEED_DECLARE_QSORT_R 1
+#define NEED_QSORT_R 0
+#define NEED_SWAP_QSORT_R 0
diff --git a/astro/astrometry/files/pkg-message.in b/astro/astrometry/files/pkg-message.in
new file mode 100644
index 000000000000..07825f384dd0
--- /dev/null
+++ b/astro/astrometry/files/pkg-message.in
@@ -0,0 +1,9 @@
+--------------------------------------------------------------------------
+astronometry was sucessfully installed.
+
+You'll find this distribution in %%PREFIX%%/astrometry
+
+Although the code is released under a GPL license, you will also need
+to download some data files, and these are distributed under different
+license. See %%PREFIX%%/astrometry/doc/GETTING-INDEXES
+--------------------------------------------------------------------------
diff --git a/astro/astrometry/pkg-descr b/astro/astrometry/pkg-descr
new file mode 100644
index 000000000000..c3257f8072a4
--- /dev/null
+++ b/astro/astrometry/pkg-descr
@@ -0,0 +1,12 @@
+If you have astronomical imaging of the sky with celestial coordinates you do
+not know or do not trust then is for you. Input an image and we'll give you
+back astrometric calibration meta-data, plus lists of known objects falling
+inside the field of view.Astrometry.net
+
+We have built this astrometric calibration service to create correct,
+standards-compliant astrometric meta-data for every useful astronomical image
+ever taken, past and future, in any state of archival disarray. We hope this
+will help organize, annotate and make searchable all the world's astronomical
+information.
+
+WWW: http://www.astrometry.net/
diff --git a/astro/astrometry/pkg-plist b/astro/astrometry/pkg-plist
new file mode 100644
index 000000000000..98fe19314edb
--- /dev/null
+++ b/astro/astrometry/pkg-plist
@@ -0,0 +1,109 @@
+astrometry/bin/2masstofits
+astrometry/bin/add-healpix-column
+astrometry/bin/add-text
+astrometry/bin/agreeable
+astrometry/bin/an-fitstopnm
+astrometry/bin/augment-xylist
+astrometry/bin/backend
+astrometry/bin/blind
+astrometry/bin/build-an-catalog
+astrometry/bin/certifiable
+astrometry/bin/checktree
+astrometry/bin/codetree
+astrometry/bin/column-merge
+astrometry/bin/control-program
+astrometry/bin/cut-an
+astrometry/bin/endian-flip-index
+astrometry/bin/fits-flip-endian
+astrometry/bin/fits-guess-scale
+astrometry/bin/fits2fits.py
+astrometry/bin/fitscopy
+astrometry/bin/fitsgetext
+astrometry/bin/fitstomatlab
+astrometry/bin/fix-bb
+astrometry/bin/get-healpix
+astrometry/bin/get-wcs
+astrometry/bin/hpowned
+astrometry/bin/hpquads
+astrometry/bin/image2pnm.py
+astrometry/bin/image2xy
+astrometry/bin/imarith
+astrometry/bin/imcopy
+astrometry/bin/imstat
+astrometry/bin/index-to-table
+astrometry/bin/listhead
+astrometry/bin/liststruc
+astrometry/bin/merge-index
+astrometry/bin/mergesolved
+astrometry/bin/modhead
+astrometry/bin/new-wcs
+astrometry/bin/nomadtofits
+astrometry/bin/plot-constellations
+astrometry/bin/plotcat
+astrometry/bin/plotquad
+astrometry/bin/plotxy
+astrometry/bin/printsolved
+astrometry/bin/rdlsinfo
+astrometry/bin/resort-xylist
+astrometry/bin/setsolved
+astrometry/bin/solve-field
+astrometry/bin/solvedserver
+astrometry/bin/startree
+astrometry/bin/subtable
+astrometry/bin/tablist
+astrometry/bin/tabmerge
+astrometry/bin/tabsort
+astrometry/bin/tycho2tofits
+astrometry/bin/unpermute-quads
+astrometry/bin/unpermute-stars
+astrometry/bin/usnobtofits
+astrometry/bin/wcs-annotate
+astrometry/bin/wcs-rd2xy
+astrometry/bin/wcs-xy2rd
+astrometry/bin/wcsinfo
+astrometry/bin/xylist2fits
+astrometry/bin/xylsinfo
+astrometry/doc/CREDITS
+astrometry/doc/GETTING-INDEXES
+astrometry/doc/LICENSE
+astrometry/doc/README
+astrometry/doc/report.txt
+astrometry/etc/backend.cfg
+astrometry/examples/CREDITS
+astrometry/examples/apod1.jpg
+astrometry/examples/apod1.xyls
+astrometry/examples/apod2.jpg
+astrometry/examples/apod2.xyls
+astrometry/examples/apod3.jpg
+astrometry/examples/apod3.xyls
+astrometry/examples/apod4.jpg
+astrometry/examples/apod4.xyls
+astrometry/examples/apod5.jpg
+astrometry/examples/apod5.xyls
+astrometry/examples/sdss.jpg
+astrometry/examples/sdss.xyls
+astrometry/python/astrometry/__init__.py
+astrometry/python/astrometry/util/__init__.py
+astrometry/python/astrometry/util/_healpix.so
+astrometry/python/astrometry/util/_sip.so
+astrometry/python/astrometry/util/file.py
+astrometry/python/astrometry/util/filetype.py
+astrometry/python/astrometry/util/fits2fits.py
+astrometry/python/astrometry/util/healpix.py
+astrometry/python/astrometry/util/image2pnm.py
+astrometry/python/astrometry/util/run_command.py
+astrometry/python/astrometry/util/shell.py
+astrometry/python/astrometry/util/sip.py
+astrometry/python/astrometry/util/starutil.py
+astrometry/python/astrometry/util/w3c_validator.py
+astrometry/python/pyfits.py
+astrometry/python/rec.py
+@dirrm astrometry/python/astrometry/util
+@dirrm astrometry/python/astrometry
+@dirrm astrometry/python
+@dirrm astrometry/examples
+@dirrm astrometry/etc
+@dirrm astrometry/doc
+@dirrm astrometry/data
+@dirrm astrometry/bin
+@dirrm astrometry