[77883] trunk/dports/graphics/dcmtk
eborisch at macports.org
eborisch at macports.org
Fri Apr 15 11:05:58 PDT 2011
Revision: 77883
http://trac.macports.org/changeset/77883
Author: eborisch at macports.org
Date: 2011-04-15 11:05:57 -0700 (Fri, 15 Apr 2011)
Log Message:
-----------
dcmtk: Upgrade to version 3.6.0. Note that linking against dcmtk 3.6.0 may require including the new logging library (-loflog) to remedy missing log4cplus, OFLogger, or OFLog symbols.
Modified Paths:
--------------
trunk/dports/graphics/dcmtk/Portfile
Removed Paths:
-------------
trunk/dports/graphics/dcmtk/files/
Modified: trunk/dports/graphics/dcmtk/Portfile
===================================================================
--- trunk/dports/graphics/dcmtk/Portfile 2011-04-15 16:54:11 UTC (rev 77882)
+++ trunk/dports/graphics/dcmtk/Portfile 2011-04-15 18:05:57 UTC (rev 77883)
@@ -1,72 +1,57 @@
# $Id$
-PortSystem 1.0
+PortSystem 1.0
+PortGroup muniversal 1.0
+name dcmtk
+version 3.6.0
+set unpatched_version [lindex [split ${version} _] 0]
+set stripped_version [string map {. ""} ${unpatched_version}]
+categories graphics
+platforms darwin
+license {{BSD} {Apache-2.0}}
-name dcmtk
-version 3.5.4_p2
-set unpatched_version [lindex [split ${version} _] 0]
-set stripped_version [string map {. ""} ${unpatched_version}]
-revision 4
-categories graphics
-platforms darwin
-maintainers nomaintainer
-description The DICOM Toolkit.
-long_description DCMTK is a collection of libraries and applications implementing \
- large parts of the DICOM standard. It includes software for examining, \
- constructing and converting DICOM image files, handling offline \
- media, sending and receiving images over a network connection, as \
- well as demonstrative image storage and worklist servers.
+maintainers eborisch \
+ openmaintainer
-homepage http://dicom.offis.de/dcmtk
+description The DICOM Toolkit.
+long_description DCMTK is a collection of libraries and applications \
+ implementing large parts the DICOM standard. It \
+ includes software for examining, constructing and \
+ converting DICOM image files, handling offline media, \
+ sending and receiving images over a network connection,\
+ as well as demonstrative image storage and worklist \
+ servers. DCMTK is is written in a mixture of ANSI C \
+ and C++. It comes in complete source code and is made \
+ available as "open source" software.
-master_sites ftp://dicom.offis.de/pub/dicom/offis/software/dcmtk/dcmtk${stripped_version}/:dcmtk \
- http://dicom.offis.de/download/dcmtk/dcmtk${stripped_version}/:dcmtk \
- ftp://dicom.offis.de/pub/dicom/offis/software/dcmtk/dcmtk${stripped_version}/patch/:patch \
- http://dicom.offis.de/download/dcmtk/dcmtk${stripped_version}/patch/:patch
+homepage http://dicom.offis.de/dcmtk
-distname ${name}-${unpatched_version}
-distfiles ${distname}${extract.suffix}:dcmtk \
- dcmtk-${version}.tar.gz:patch
+master_sites ftp://dicom.offis.de/pub/dicom/offis/software/dcmtk/dcmtk${stripped_version}/ \
+ http://dicom.offis.de/download/dcmtk/dcmtk${stripped_version}/
-checksums ${distname}${extract.suffix} \
- md5 0afd971cdf976a5b336722ef2f68e6d7 \
- sha1 169056874947083e68eb941fcd53faaebc862ae5 \
- rmd160 d1558c9c68e53e0ea3b080fd2fb50b9d8e30eeba \
- dcmtk-${version}.tar.gz \
- md5 d6df5f5c34291d44dd74d6fd0e146a23 \
- sha1 41c96c8054d3d74529a5b6f67552b2d5b9aea0c2 \
- rmd160 34c19b62c56b6242bf5ca75e620503c40895efb6
+distname ${name}-${unpatched_version}
+distfiles ${distname}${extract.suffix}
-depends_lib port:zlib \
- port:tiff \
- port:libpng \
- port:libxml2 \
- port:openssl
+checksums md5 19409e039e29a330893caea98715390e \
+ sha1 469e017cffc56f36e834aa19c8612111f964f757 \
+ rmd160 ad80a4b6cff9ed275e6153036bdce9e2d912721b
-destroot.target-append install-lib
+depends_lib port:zlib \
+ port:tiff \
+ port:libpng \
+ port:libxml2 \
+ port:openssl
-post-extract {
- # Two files have to be replaced by patched ones from dcmtk-3.5.4_p2.tar.gz
- move -force ${worksrcpath}_p2/dcmnet/apps/findscu.cc ${worksrcpath}/dcmnet/apps/findscu.cc
- move -force ${worksrcpath}_p2/dcmnet/apps/movescu.cc ${worksrcpath}/dcmnet/apps/movescu.cc
-}
+destroot.target-append install-lib
-# Darwin 9+10 compatibility, see http://forum.dcmtk.org/viewtopic.php?t=1372
-patchfiles patch-config-configure.in.diff
+use_parallel_build no
-# OpenSSL 1.0.0 compatibility fix
-patchfiles-append patch-openssl-1.0.0.diff
-
-post-patch {
- # After patching config/configure.in, autotools have to be run again.
- # Usually, we would system "cd ${worksrcpath}/config && ./autoall" here,
- # but due to a conflict with the MacPorts version of autoconf, we must
- # make sure that autoconf from /usr/bin is used.
- system "cd ${worksrcpath}/config && /usr/bin/autoheader"
- system "cd ${worksrcpath}/config && /usr/bin/autoconf"
- system "cd ${worksrcpath}/config && /usr/bin/autoconf confmod.in > confmod"
+variant llvm description "Use llvm compiler" {
+ configure.compiler llvm-gcc-4.2
}
-use_parallel_build no
+destroot.args docdir=${destroot}${prefix}/share/doc/${name}
-destroot.args docdir=${destroot}${prefix}/share/doc/${name}
+livecheck.type regex
+livecheck.regex {dcmtk\-(\d+(?:\.\d+)*).tar.gz}
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110415/90bb1f15/attachment-0001.html>
More information about the macports-changes
mailing list