source: trunk/dports/sysutils/dmg2img/Portfile

Last change on this file was 146517, checked in by raimue@…, 19 months ago

Mass rev-bump dependents of port openssl due to ABI change

Disabling SSLv2 in r146162 changed the ABI of the library, leading to loading
errors for binaries with references to SSLv2 symbols.

https://lists.macosforge.org/pipermail/macports-dev/2016-March/032531.html

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 146517 2016-03-10 17:49:28Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                dmg2img
7version             1.6.5
8revision            1
9categories          sysutils
10maintainers         puredarwin.org:probono openmaintainer
11license             GPL-2
12description         Converts Apple DMG files to standard HFS+ images
13long_description    DMG2IMG is a tool to convert Apple's compressed dmg \
14                    files to standard (hfsplus) disk images. It is derived \
15                    from dmg2iso v0.2c by vu1tur.
16homepage            http://vu1tur.eu.org/tools/
17master_sites        ${homepage}
18platforms           darwin
19
20checksums           rmd160  437048d16e5887c79008f2023256dccd176b3192 \
21                    sha256  400a16cbe5cb2bf8a9eec4a43ef3546e0329f248bbd2a79f6d9a1ebc0b503308
22
23depends_lib         path:lib/libssl.dylib:openssl \
24                    port:zlib \
25                    port:bzip2
26
27patchfiles          patch-Makefile
28
29use_configure       no
30
31variant universal {}
32
33build.env           CC=${configure.cc}
34build.args          CFLAGS+="${configure.cflags} [get_canonical_archflags cc]" \
35                    LDFLAGS+="${configure.ldflags} [get_canonical_archflags ld]"
36
37destroot {
38    xinstall -W ${worksrcpath} dmg2img vfdecrypt ${destroot}${prefix}/bin
39    xinstall -m 644 -W ${worksrcpath} vfdecrypt.1 ${destroot}${prefix}/share/man/man1
40    set docdir ${destroot}${prefix}/share/doc/${name}
41    xinstall -d ${docdir}
42    xinstall -m 644 -W ${worksrcpath} README COPYING ${docdir}
43}
44
45livecheck.type      regex
46livecheck.regex     ${name}-(\[0-9.\]+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.