#44541: hdf5 @1.6.9_4: retire this port ---------------------------+-------------------------------- Reporter: petr@… | Owner: macports-tickets@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: hdf5 hdf5-18 | ---------------------------+-------------------------------- Comment (by mmoll@…): I'd be happy to make the change. If I understand correctly, I'd need to make the following changes: - "svn cp" the hdf5-18 Portfile to hdf5 and change the name to hdf5. - Add the deactivate hack to the hdf5 port: {{{ pre-activate { if {![catch {set installed [lindex [registry_active hdf5-18] 0]}]} { set _version [lindex $installed 1] if {[vercmp $_version 1.8.14] < 0} { registry_deactivate_composite hdf5-18 "" [list ports_nodepcheck 1] } } } }}} - Replace the hdf5-18 Portfile with this: {{{ PortSystem 1.0 replaced_by hdf5 PortGroup obsolete 1.0 name hdf5-18 version 1.8.13 categories science maintainers nomaintainer }}} - Change all ports that depend on hdf5-18 to depend on hdf5 and rev bump. Did I miss anything? -- Ticket URL: <https://trac.macports.org/ticket/44541#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X