[67995] trunk/dports/science
jmr at macports.org
jmr at macports.org
Sun May 23 15:40:37 PDT 2010
Revision: 67995
http://trac.macports.org/changeset/67995
Author: jmr at macports.org
Date: 2010-05-23 15:40:31 -0700 (Sun, 23 May 2010)
Log Message:
-----------
New port: funtools, a minimal buy-in FITS library and utility package (#22998)
Added Paths:
-----------
trunk/dports/science/funtools/
trunk/dports/science/funtools/Portfile
trunk/dports/science/funtools/files/
trunk/dports/science/funtools/files/patch-funtools
Added: trunk/dports/science/funtools/Portfile
===================================================================
--- trunk/dports/science/funtools/Portfile (rev 0)
+++ trunk/dports/science/funtools/Portfile 2010-05-23 22:40:31 UTC (rev 67995)
@@ -0,0 +1,56 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem 1.0
+
+name funtools
+version 1.4.0
+categories science
+platforms darwin
+maintainers saao.ac.za:tim
+license LGPLv2.1
+
+description a minimal buy-in FITS library and utility package
+
+long_description Funtools is a \"minimal buy-in\" FITS library and \
+ utility package developed at the the High Energy Astrophysics Division \
+ of SAO. The Funtools library provides simplified access to a \
+ wide array of file types: standard astronomical FITS images and binary \
+ tables, raw arrays and binary event lists, and even tables of ASCII \
+ column data. A sophisticated region filtering library (compatible with \
+ ds9) filters images and tables using boolean operations between geometric \
+ shapes, support world coordinates, etc. Funtools also supports advanced \
+ capabilities such as optimized data searching using index files.\
+ The main goal of the Funtools project has been to develop a minimal \
+ buy-in FITS library for researchers who are occasional (but serious) \
+ coders. In this case, minimal buy-in means easy to learn, easy to \
+ use, and easy to re-learn next month.
+
+homepage http://www.cfa.harvard.edu/~john/funtools/
+master_sites ${homepage}
+checksums md5 8079d723e1424141c3f2bc4ea9b323db \
+ sha1 cf24c89acd4a4e6815336e0cbc4d445998d89db3 \
+ rmd160 f566ac1dfd5724171f46507ccbdec6f80a168f5b
+
+depends_run port:xpa
+
+patch.pre_args -p1
+patchfiles patch-funtools
+
+destroot.destdir INSTALL_ROOT=${destroot}
+
+post-destroot {
+ set docdir ${destroot}${prefix}/share/doc/${name}
+ xinstall -d ${docdir}
+ xinstall -m 644 -W ${worksrcpath} \
+ COPYING \
+ README \
+ ${docdir}
+ xinstall -m 644 -W ${worksrcpath}/doc \
+ funtools.pdf \
+ ${docdir}
+}
+
+livecheck.type regex
+livecheck.url [lindex ${master_sites} 0]
+livecheck.regex ${name}-(\[0-9.\]+)\\.tar
Property changes on: trunk/dports/science/funtools/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: trunk/dports/science/funtools/files/patch-funtools
===================================================================
--- trunk/dports/science/funtools/files/patch-funtools (rev 0)
+++ trunk/dports/science/funtools/files/patch-funtools 2010-05-23 22:40:31 UTC (rev 67995)
@@ -0,0 +1,128 @@
+diff -Naur funtools-1.4.0.orig/Makefile.in funtools-1.4.0/Makefile.in
+--- funtools-1.4.0.orig/Makefile.in 2007-05-03 03:17:58.000000000 +0200
++++ funtools-1.4.0/Makefile.in 2009-12-23 17:01:56.000000000 +0200
+@@ -43,10 +43,10 @@
+ BIN_INSTALL_DIR = $(INSTALL_ROOT)$(exec_prefix)/bin
+
+ # Directory in which to install the funtools.h include file:
+-INCLUDE_INSTALL_DIR = $(INSTALL_ROOT)$(prefix)/include
++INCLUDE_INSTALL_DIR = $(INSTALL_ROOT)$(prefix)/include/funtools
+
+ # Top-level directory for manual entries:
+-MAN_INSTALL_DIR = $(INSTALL_ROOT)$(prefix)/man
++MAN_INSTALL_DIR = $(INSTALL_ROOT)$(prefix)/share/man
+
+ # Top-level directory for share entries:
+ MAN_SHARE_DIR = $(INSTALL_ROOT)$(prefix)/share/funtools
+diff -Naur funtools-1.4.0.orig/filter/Makefile.in funtools-1.4.0/filter/Makefile.in
+--- funtools-1.4.0.orig/filter/Makefile.in 2006-03-20 20:42:11.000000000 +0200
++++ funtools-1.4.0/filter/Makefile.in 2009-12-23 17:01:56.000000000 +0200
+@@ -44,7 +44,7 @@
+ BIN_INSTALL_DIR = $(INSTALL_ROOT)$(exec_prefix)/bin
+
+ # Directory in which to install the include files:
+-INCLUDE_INSTALL_DIR = $(INSTALL_ROOT)$(prefix)/include
++INCLUDE_INSTALL_DIR = $(INSTALL_ROOT)$(prefix)/include/funtools
+
+ # util files are in the util directory at same level
+ UTIL_INC = -I../util
+diff -Naur funtools-1.4.0.orig/fitsy/Makefile.in funtools-1.4.0/fitsy/Makefile.in
+--- funtools-1.4.0.orig/fitsy/Makefile.in 2006-10-30 18:51:58.000000000 +0200
++++ funtools-1.4.0/fitsy/Makefile.in 2009-12-23 17:01:56.000000000 +0200
+@@ -43,7 +43,7 @@
+ BIN_INSTALL_DIR = $(INSTALL_ROOT)$(exec_prefix)/bin
+
+ # Directory in which to install the include files:
+-INCLUDE_INSTALL_DIR = $(INSTALL_ROOT)$(prefix)/include
++INCLUDE_INSTALL_DIR = $(INSTALL_ROOT)$(prefix)/include/funtools
+
+ # There are just too many different versions of "install" around;
+ # better to use the install-sh script that comes with the distribution,
+diff -Naur funtools-1.4.0.orig/gnu/Makefile.in funtools-1.4.0/gnu/Makefile.in
+--- funtools-1.4.0.orig/gnu/Makefile.in 2003-11-25 16:35:24.000000000 +0200
++++ funtools-1.4.0/gnu/Makefile.in 2009-12-23 17:01:56.000000000 +0200
+@@ -59,7 +59,7 @@
+ BIN_INSTALL_DIR = $(INSTALL_ROOT)$(exec_prefix)/bin
+
+ # Directory in which to install the include files:
+-INCLUDE_INSTALL_DIR = $(INSTALL_ROOT)$(prefix)/include
++INCLUDE_INSTALL_DIR = $(INSTALL_ROOT)$(prefix)/include/funtools
+
+ # There are just too many different versions of "install" around;
+ # better to use the install-sh script that comes with the distribution,
+diff -Naur funtools-1.4.0.orig/util/Makefile funtools-1.4.0/util/Makefile
+--- funtools-1.4.0.orig/util/Makefile 2007-08-03 19:12:00.000000000 +0200
++++ funtools-1.4.0/util/Makefile 2009-12-23 17:01:56.000000000 +0200
+@@ -129,7 +129,7 @@
+
+ TESTPROGS = tparse
+
+-PROGS = gcat
++PROGS = fungcat
+
+ all: $(LIB) $(PROGS)
+
+@@ -180,8 +180,8 @@
+
+ gcat.o: gcat.c gio.h
+
+-gcat: gcat.o $(LIB)
+- $(CC) $(LDFLAGS) gcat.o -o gcat $(LIB) $(LIBS) $(EXTRA_LIBS)
++fungcat: gcat.o $(LIB)
++ $(CC) $(LDFLAGS) gcat.o -o fungcat $(LIB) $(LIBS) $(EXTRA_LIBS)
+
+ tparse.o: tparse.c
+
+diff -Naur funtools-1.4.0.orig/util/Makefile.in funtools-1.4.0/util/Makefile.in
+--- funtools-1.4.0.orig/util/Makefile.in 2007-05-22 20:37:01.000000000 +0200
++++ funtools-1.4.0/util/Makefile.in 2009-12-23 17:02:55.000000000 +0200
+@@ -44,7 +44,7 @@
+ BIN_INSTALL_DIR = $(INSTALL_ROOT)$(exec_prefix)/bin
+
+ # Directory in which to install the include files:
+-INCLUDE_INSTALL_DIR = $(INSTALL_ROOT)$(prefix)/include
++INCLUDE_INSTALL_DIR = $(INSTALL_ROOT)$(prefix)/include/funtools
+
+ # extra includes for compiling
+ INCLUDES =
+@@ -129,7 +129,7 @@
+
+ TESTPROGS = tparse
+
+-PROGS = gcat
++PROGS = fungcat
+
+ all: $(LIB) $(PROGS)
+
+@@ -180,8 +180,8 @@
+
+ gcat.o: gcat.c gio.h
+
+-gcat: gcat.o $(LIB)
+- $(CC) $(LDFLAGS) gcat.o -o gcat $(LIB) $(LIBS) $(EXTRA_LIBS)
++fungcat: gcat.o $(LIB)
++ $(CC) $(LDFLAGS) gcat.o -o fungcat $(LIB) $(LIBS) $(EXTRA_LIBS)
+
+ tparse.o: tparse.c
+
+@@ -219,7 +219,7 @@
+ fi; \
+ done;
+ @for i in NaN.h conf.h file.h find.h gio.h launch.h longlong.h \
+- macro.h mainlib.h tclmainlib.h mkrtemp.h parse.h prsetup.h \
++ macro.h mainlib.h tclmainlib.h mkrtemp.h parse.h \
+ xalloc.h strtod.h swap.h word.h xport.h xfileio.h zprocess.h; \
+ do \
+ if [ -f $$i ] ; then \
+diff -Naur funtools-1.4.0.orig/wcs/Makefile.in funtools-1.4.0/wcs/Makefile.in
+--- funtools-1.4.0.orig/wcs/Makefile.in 2006-11-30 20:46:29.000000000 +0200
++++ funtools-1.4.0/wcs/Makefile.in 2009-12-23 17:01:56.000000000 +0200
+@@ -43,7 +43,7 @@
+ BIN_INSTALL_DIR = $(INSTALL_ROOT)$(exec_prefix)/bin
+
+ # Directory in which to install the include file wcs.h:
+-INCLUDE_INSTALL_DIR = $(INSTALL_ROOT)$(prefix)/include
++INCLUDE_INSTALL_DIR = $(INSTALL_ROOT)$(prefix)/include/funtools
+
+ # To change the compiler switches, for example to change from -O
+ # to -g, change the following line:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100523/ad55d37d/attachment-0001.html>
More information about the macports-changes
mailing list