Ticket #16163: Portfile

File Portfile, 2.0 KB (added by guidolorenz@…, 16 years ago)
Line 
1# $Id$
2
3PortSystem 1.0
4
5name                        dcmtk
6version                     3.5.4
7categories                  graphics
8platforms                   darwin
9maintainers                 uni-koblenz.de:guidolorenz
10description                 The DICOM Toolkit.
11long_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
17homepage                    http://dicom.offis.de/dcmtk
18
19master_sites                ftp://dicom.offis.de/pub/dicom/offis/software/dcmtk/dcmtk354/
20checksums                   md5 0afd971cdf976a5b336722ef2f68e6d7 \
21                            sha1 169056874947083e68eb941fcd53faaebc862ae5 \
22                            rmd160 d1558c9c68e53e0ea3b080fd2fb50b9d8e30eeba
23
24depends_lib                 port:zlib \
25                            port:tiff \
26                            port:libpng \
27                            port:libxml2
28                           
29platform 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
44variant lib description {Install libraries and include files.} {
45        destroot.target-append install-lib
46}
47
48default_variants            +lib