[67991] trunk/dports/science

jmr at macports.org jmr at macports.org
Sun May 23 14:32:20 PDT 2010


Revision: 67991
          http://trac.macports.org/changeset/67991
Author:   jmr at macports.org
Date:     2010-05-23 14:32:15 -0700 (Sun, 23 May 2010)
Log Message:
-----------
New port: cdsclient, tools for querying online astronomical databases and catalogs (#22985)

Added Paths:
-----------
    trunk/dports/science/cdsclient/
    trunk/dports/science/cdsclient/Portfile
    trunk/dports/science/cdsclient/files/
    trunk/dports/science/cdsclient/files/patch-Makefile.in
    trunk/dports/science/cdsclient/files/patch-configure

Added: trunk/dports/science/cdsclient/Portfile
===================================================================
--- trunk/dports/science/cdsclient/Portfile	                        (rev 0)
+++ trunk/dports/science/cdsclient/Portfile	2010-05-23 21:32:15 UTC (rev 67991)
@@ -0,0 +1,36 @@
+# -*- 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               cdsclient
+version            3.4
+categories         science databases net
+platforms          darwin
+maintainers        saao.ac.za:tim
+license            unknown
+
+description        tools for querying various online astronomical databases
+
+long_description   The cdsclient package provides a set of tools for \
+    querying various online astronomical databases.  Two generic query \
+    tools are provided: vizquery and find_cats.  Various other programs \
+    and scripts are provided for easy access to specific catalogs or \
+    databases.
+
+homepage           http://cdsarc.u-strasbg.fr/doc/cdsclient.html
+master_sites       http://cdsarc.u-strasbg.fr/ftp/pub/sw/ \
+                   ftp://cdsarc.u-strasbg.fr/pub/sw/
+
+checksums          md5 7199554ac92bb0f7b8ceba63a31aec61 \
+                   sha1 2ef2569463c906ca1a96bc0fc74348d3feb435ac \
+                   rmd160 f33aec1908ae13574dfec8d051ddaeb7fba43f5b
+
+patchfiles         patch-Makefile.in \
+                   patch-configure
+
+universal_variant  no
+
+livecheck.type     regex
+livecheck.url      [lindex ${master_sites} 0]
+livecheck.regex    ${name}-(\[0-9.\]+)\\.tar


Property changes on: trunk/dports/science/cdsclient/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native

Added: trunk/dports/science/cdsclient/files/patch-Makefile.in
===================================================================
--- trunk/dports/science/cdsclient/files/patch-Makefile.in	                        (rev 0)
+++ trunk/dports/science/cdsclient/files/patch-Makefile.in	2010-05-23 21:32:15 UTC (rev 67991)
@@ -0,0 +1,57 @@
+--- Makefile.in.orig	2009-12-10 17:05:30.000000000 +0200
++++ Makefile.in	2009-12-10 17:24:40.000000000 +0200
+@@ -38,7 +38,7 @@
+ LIBDIR  = $(PREFIX)/lib
+ BINDIR  = $(PREFIX)/bin
+ SHSDIR  = $(PREFIX)/bin
+-MANDIR  = $(PREFIX)/man
++MANDIR  = $(PREFIX)/share/man
+ ###########
+ # NOTE: The definition below is required only on SOLARIS
+ #       Comment the following line if required
+@@ -122,33 +122,33 @@
+ doc: sk.tex man.tex aclient.tex
+ 	latex man.tex
+ 
+-install: $(EXPORT_INSTALL) install_shs install_info
++install: $(EXPORT_INSTALL) install_shs 
+ 	rm -rf *.cache
+ 
+ export_install: install_bin install_man 
+ 
+ install_man: $(MAN)
+-	if [ -d $(MANDIR) ]; then echo $(MANDIR) exists; \
+-	else mkdir $(MANDIR); fi 
++	if [ -d $(DESTDIR)$(MANDIR) ]; then echo $(DESTDIR)$(MANDIR) exists; \
++	else mkdir $(DESTDIR)$(MANDIR); fi 
+ 	for f in $(MAN); do \
+ 	    e=`echo $$f | cut -d. -f2`;  \
+-	    if [ -d $(MANDIR)/man$$e ] ; then echo $(MANDIR)/man$$e exists ; \
+-	    else mkdir $(MANDIR)/man$$e ; fi ; \
+-	    $(COPY) $$f $(MANDIR)/man$$e ;  \
++	    if [ -d $(DESTDIR)$(MANDIR)/man$$e ] ; then echo $(DESTDIR)$(MANDIR)/man$$e exists ; \
++	    else mkdir $(DESTDIR)$(MANDIR)/man$$e ; fi ; \
++	    $(COPY) $$f $(DESTDIR)$(MANDIR)/man$$e ;  \
+ 	done
+ 
+ install_h: $(INC)
+-	test -d $(INCDIR) || mkdir $(INCDIR)
+-	$(COPY) $(INC) $(INCDIR)
++	test -d $(DESTDIR)$(INCDIR) || mkdir $(DESTDIR)$(INCDIR)
++	$(COPY) $(INC) $(DESTDIR)$(INCDIR)
+ 
+ install_bin: $(BIN)
+-	test -d $(BINDIR) || mkdir $(BINDIR)
+-	$(COPY) $(BIN) $(BINDIR)
++	test -d $(DESTDIR)$(BINDIR) || mkdir $(DESTDIR)$(BINDIR)
++	$(COPY) $(BIN) $(DESTDIR)$(BINDIR)
+ 
+ install_shs: Makefile
+-	test -d $(SHSDIR) || mkdir $(SHSDIR)
++	test -d $(DESTDIR)$(SHSDIR) || mkdir $(DESTDIR)$(SHSDIR)
+ 	cdsutil="$(SHSatCDS)"; test -z "$(atCDS)" && cdsutil=""; \
+-	cp -p $(SHS) $(SHSDIR)
++	cp -p $(SHS) $(DESTDIR)$(SHSDIR)
+ 
+ install_info:
+ 	touch $(VERFILE)

Added: trunk/dports/science/cdsclient/files/patch-configure
===================================================================
--- trunk/dports/science/cdsclient/files/patch-configure	                        (rev 0)
+++ trunk/dports/science/cdsclient/files/patch-configure	2010-05-23 21:32:15 UTC (rev 67991)
@@ -0,0 +1,11 @@
+--- configure.orig	2009-12-10 17:22:18.000000000 +0200
++++ configure	2009-12-10 17:22:29.000000000 +0200
+@@ -4541,7 +4541,7 @@
+ 
+ 
+ EXPORT_SOURCE_FILE="aclient.c wwwget.c skio.c skclient.c sk.h"
+-EXPORT_MAN_FILE="sk.3 aclient.1 wwwget.1 aclient.tex"
++EXPORT_MAN_FILE="sk.3 aclient.1 wwwget.1"
+ EXPORT_MAN_TEX="man.tex"
+ CASE="dev"
+ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100523/842d190a/attachment.html>


More information about the macports-changes mailing list