source: trunk/dports/sysutils/dmg2img/Portfile @ 135535

Last change on this file since 135535 was 111355, checked in by ryandesign@…, 6 years ago

remove use of [suffix] proc in openmaintainer ports because it is thought to be confusing

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