| 1 | # $Id$ |
|---|
| 2 | |
|---|
| 3 | PortSystem 1.0 |
|---|
| 4 | |
|---|
| 5 | name dcmtk |
|---|
| 6 | version 3.5.4 |
|---|
| 7 | categories graphics |
|---|
| 8 | platforms darwin |
|---|
| 9 | maintainers uni-koblenz.de:guidolorenz |
|---|
| 10 | description The DICOM Toolkit. |
|---|
| 11 | long_description DCMTK is a collection of libraries and applications implementing \ |
|---|
| 12 | large parts of the DICOM standard. It includes software for examining, \ |
|---|
| 13 | constructing and converting DICOM image files, handling offline \ |
|---|
| 14 | media, sending and receiving images over a network connection, as \ |
|---|
| 15 | well as demonstrative image storage and worklist servers. |
|---|
| 16 | |
|---|
| 17 | homepage http://dicom.offis.de/dcmtk |
|---|
| 18 | |
|---|
| 19 | master_sites ftp://dicom.offis.de/pub/dicom/offis/software/dcmtk/dcmtk354/ |
|---|
| 20 | checksums md5 0afd971cdf976a5b336722ef2f68e6d7 \ |
|---|
| 21 | sha1 169056874947083e68eb941fcd53faaebc862ae5 \ |
|---|
| 22 | rmd160 d1558c9c68e53e0ea3b080fd2fb50b9d8e30eeba |
|---|
| 23 | |
|---|
| 24 | depends_lib port:zlib \ |
|---|
| 25 | port:tiff \ |
|---|
| 26 | port:libpng \ |
|---|
| 27 | port:libxml2 |
|---|
| 28 | |
|---|
| 29 | platform darwin 9 { |
|---|
| 30 | # See http://forum.dcmtk.org/viewtopic.php?t=1372 |
|---|
| 31 | |
|---|
| 32 | patchfiles patch-config-configure.in.diff |
|---|
| 33 | |
|---|
| 34 | post-patch { |
|---|
| 35 | # Usually, we would system "cd ${worksrcpath}/config && ./autoall" here, but due to a |
|---|
| 36 | # conflict with the MacPorts installation of autoconf, we must make sure that the |
|---|
| 37 | # original autoconf distrubuted with Leopard (from /usr/bin) is used. |
|---|
| 38 | system "cd ${worksrcpath}/config && /usr/bin/autoheader" |
|---|
| 39 | system "cd ${worksrcpath}/config && /usr/bin/autoconf" |
|---|
| 40 | system "cd ${worksrcpath}/config && /usr/bin/autoconf confmod.in > confmod" |
|---|
| 41 | } |
|---|
| 42 | } |
|---|
| 43 | |
|---|
| 44 | variant lib description {Install libraries and include files.} { |
|---|
| 45 | destroot.target-append install-lib |
|---|
| 46 | } |
|---|
| 47 | |
|---|
| 48 | default_variants +lib |
|---|