Bug 136776

Summary: [NEW PORT] astro/wcslib: Library for parsing/generating FITS headers
Product: Ports & Packages Reporter: Tony Maher <tonym>
Component: Individual Port(s)Assignee: Dmitry Marakasov <amdmi3>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
wcslib-4.3.3.shar
none
wcslib-4.3.3.shar none

Description Tony Maher 2009-07-15 07:40:01 UTC
"WCSLIB is a C library, supplied with a full set of Fortran wrappers, that
 implements the "World Coordinate System" (WCS) convention in FITS (Flexible
 Image Transport System).  It also includes a PGPLOT-based routine, PGSBOX,
 for drawing general curvilinear coordinate graticules and a number of
 utility programs." - from README file.

WWW: http://www.atnf.csiro.au/people/mcalabre/WCS/index.html

Generated with FreeBSD Port Tools 0.77
Comment 1 tonymaher 2009-07-15 11:54:46 UTC
Hello,

Sorry but my workstation mail setup was not correct when I sent
this through send-pr. (I have been doing email via thunderbird
lately and forgot to set up sendmail for this computer).

My email address is tonymaher@optusnet.com.au (not tonym@)
It is correctly set in the submitted port just not in the bugs
database.

thanks
-- 
Tony Maher                    email: tonymaher@optusnet.com.au
Comment 2 Dmitry Marakasov freebsd_committer freebsd_triage 2009-07-15 16:08:25 UTC
Responsible Changed
From-To: freebsd-ports-bugs->amdmi3

I'll take it.
Comment 3 Dmitry Marakasov freebsd_committer freebsd_triage 2009-07-16 18:46:50 UTC
State Changed
From-To: open->feedback

Plist problems: http://people.freebsd.org/~amdmi3/wcslib-4.3.3.log
Comment 4 tonymaher 2009-07-17 09:02:26 UTC
Hi,

the plist problem
tar: bin/HPXcvt: Cannot stat: No such file or directory
is because this executable is only created if the cfitsio library
is present.  Even though by default this is not a dependency,
the configure script looks for it.  Without patching the configure
script there appears to be no way to tell it not to search for
cfitsio.

Not sure yet how to fix this.  Simplest could be to make 
cfitsio alway a dependency (even though it is not).
This is not as bad as it seems as anyone using wcslib
is likely to want cfitsio anyway.

I will investigate to see if there is a better solution and
and will submit a new shar file.

thanks
-- 
Tony Maher                    email: tonymaher@optusnet.com.au
Comment 5 tonymaher 2009-07-17 11:38:22 UTC
Hi,

Added fix for conditional plist entry bin/HPXcvt using PLIST_SUB.

Discovered port was not honouring PREFIX - added GNU_CONFIGURE=yes
which was what I originally had when creating the pkg-plist but then
mistakenly removed it thinking it was not necessary.

port test .

completes successfully.

New shar file attached.

thanks
-- 
Tony Maher                    email: tonymaher@optusnet.com.au
Comment 6 Dmitry Marakasov freebsd_committer freebsd_triage 2009-07-17 17:31:43 UTC
State Changed
From-To: feedback->closed

New port added, with minor changes. Thanks!
Comment 7 dfilter service freebsd_committer freebsd_triage 2009-07-17 17:31:51 UTC
amdmi3      2009-07-17 16:31:36 UTC

  FreeBSD ports repository

  Modified files:
    astro                Makefile 
  Added files:
    astro/wcslib         Makefile distinfo pkg-descr pkg-plist 
  Log:
  "WCSLIB is a C library, supplied with a full set of Fortran wrappers, that
   implements the "World Coordinate System" (WCS) convention in FITS (Flexible
   Image Transport System).  It also includes a PGPLOT-based routine, PGSBOX,
   for drawing general curvilinear coordinate graticules and a number of
   utility programs." - from README file.
  
  WWW: http://www.atnf.csiro.au/people/mcalabre/WCS/index.html
  
  PR:             136776
  Submitted by:   Tony Maher <tonym@optusnet.com.au>
  
  Revision  Changes    Path
  1.138     +1 -0      ports/astro/Makefile
  1.1       +43 -0     ports/astro/wcslib/Makefile (new)
  1.1       +3 -0      ports/astro/wcslib/distinfo (new)
  1.1       +7 -0      ports/astro/wcslib/pkg-descr (new)
  1.1       +46 -0     ports/astro/wcslib/pkg-plist (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 8 tonymaher 2009-07-18 11:47:29 UTC
Thanks for the corrections and quick commit.

cheers
-- 
Tony Maher                    email: tonymaher@optusnet.com.au