Opened 15 years ago

Closed 15 years ago

#21816 closed submission (fixed)

cdf-to-fits: new port

Reported by: doc.aronnax@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: Cc: mf2k (Frank Schima)
Port: cdf-to-fits

Description

I would like to submit the attached Portfile. cdf-to-fits is a program maintained by Goddard Space Flight Center for converting between two commonplace scientific data formats: CDF and FITS.

Unfortunately, I cannot find any directions for installing a port that is not already indexed. I would appreciate anyone's help on that.

Attachments (3)

Portfile (665 bytes) - added by doc.aronnax@… 15 years ago.
New portfile
Portfile.2 (835 bytes) - added by doc.aronnax@… 15 years ago.
The new, new portfile
patch-Makefile.in.diff (240 bytes) - added by doc.aronnax@… 15 years ago.
Patchfile for fixing misbehavior of install

Download all attachments as: .zip

Change History (18)

Changed 15 years ago by doc.aronnax@…

Attachment: Portfile added

New portfile

comment:1 Changed 15 years ago by doc.aronnax@…

Cc: doc.aronnax@… added

Cc Me!

comment:2 Changed 15 years ago by mf2k (Frank Schima)

Cc: doc.aronnax@… removed
Port: cdf-to-fits added

comment:3 Changed 15 years ago by mf2k (Frank Schima)

To install it, create a directory with the name of the port. Move the Portfile into the directory. cd into the directory. Type:

sudo port install

comment:4 Changed 15 years ago by mf2k (Frank Schima)

Cc: macsforever2000@… added

Cc Me!

comment:5 in reply to:  3 Changed 15 years ago by doc.aronnax@…

Replying to macsforever2000@…:

To install it, create a directory with the name of the port. Move the Portfile into the directory. cd into the directory. Type:

sudo port install

That didn't work for me. MacPorts says:

Error: Port cdf-to-fits not found

comment:6 Changed 15 years ago by mf2k (Frank Schima)

You are doing something wrong. Please cd into the new directory and report the output of the following commands:

pwd
ls -al

Due to a number of syntax errors, the port doesn't install as you have it. You are missing a few line continuation characters. Also "maintainer" should be "maintainers". I've fixed the errors locally, but I am waiting for gcc42 to install, so it might be a while.

comment:7 Changed 15 years ago by doc.aronnax@…

$ pwd
/opt/local/var/macports/sources/rsync.macports.org/release/ports/science/cdf-to-fits
$ ls -al
total 8
drwxr-xr-x    3 root  admin   102B Oct  4 03:26 ./
drwxr-xr-x  145 root  admin   4.8K Oct  4 03:03 ../
-rw-r--r--    1 root  admin   665B Oct  4 03:26 Portfile

comment:8 Changed 15 years ago by mf2k (Frank Schima)

Then you did not type exactly:

sudo port install

Changed 15 years ago by doc.aronnax@…

Attachment: Portfile.2 added

The new, new portfile

Changed 15 years ago by doc.aronnax@…

Attachment: patch-Makefile.in.diff added

Patchfile for fixing misbehavior of install

comment:9 Changed 15 years ago by doc.aronnax@…

Thanks for the help with testing the installation.

Could someone add instructions for testing a new port to the Guide?

The port now works with the attached portfile (Portfile.2) and the attached patchfile. It is ready for submission.

comment:10 Changed 15 years ago by doc.aronnax@…

Is anyone going to add this port? I do not have Subversion access, it would be great if someone would put this in!

comment:11 Changed 15 years ago by mf2k (Frank Schima)

I am not able to install this port on snow Leopard because one of its dependencies - gcc42 - fails to build there. See #20933.

comment:12 in reply to:  11 ; Changed 15 years ago by doc.aronnax@…

Replying to macsforever2000@…:

I am not able to install this port on snow Leopard because one of its dependencies - gcc42 - fails to build there. See #20933.

Did you try installing it on Leopard? I have not yet upgraded to Leopard; I have never experienced any problem with the gcc42 port.

gcc42 is not a direct dependency of this proposed package.

comment:13 in reply to:  12 Changed 15 years ago by mf2k (Frank Schima)

Replying to doc.aronnax@…:

Did you try installing it on Leopard?

I have upgraded to Snow Leopard and I don't have easy access to Leopard anymore.

comment:14 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to ryandesign@…
Status: newassigned

comment:15 in reply to:  9 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed

Replying to doc.aronnax@…:

The port now works with the attached portfile (Portfile.2) and the attached patchfile. It is ready for submission.

Thanks, I added it in r61066. It installs fine on Snow Leopard, now that cdf depends on gcc44 instead of gcc42.

Note: See TracTickets for help on using tickets.