source: trunk/dports/archivers/ecm/Portfile

Last change on this file was 139093, checked in by khindenburg@…, 2 years ago

ecm: change homepage to web.archive; original has been down over a year; disable livecheck

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# $Id: Portfile 139093 2015-08-01 15:17:24Z ryandesign@macports.org $
2
3PortSystem      1.0
4
5name            ecm
6version         1.0
7categories      archivers
8platforms       darwin
9maintainers     nomaintainer
10license         GPL-2+
11description     CD image file error code modeler
12
13long_description \
14    ECM (Error Code Modeler) lets you prepare CD image files - \
15    such as BIN, CDI, NRG, CCD, or similar - so that they'll compress \
16    far better.
17
18homepage        https://web.archive.org/web/20130502135203/http://www.neillcorlett.com/ecm/
19master_sites    http://www.neillcorlett.com/downloads/
20distname        ecm100
21use_zip         yes
22
23checksums       md5 debcc0772cea7e8b1ae2562a38788fb6 \
24                sha1 ec8884b547bebee69fa3d2901dbd076f9a84c2ce \
25                rmd160 04110dd50d7609e0337e71ab7587fb3d0d05eefb
26
27extract.dir     ${worksrcpath}
28
29pre-extract {
30    file mkdir ${worksrcpath}
31}
32
33use_configure   no
34
35build {
36    foreach bin {ecm unecm} {
37        system "cd ${worksrcpath} && \
38            ${configure.cc} ${configure.cflags} [get_canonical_archflags] ${bin}.c -o ${bin}"
39    }
40}
41
42destroot {
43    xinstall -W ${worksrcpath} ecm unecm ${destroot}${prefix}/bin
44
45    set docdir ${prefix}/share/doc/${name}-${version}
46    xinstall -d ${destroot}${docdir}
47    eval xinstall -m 0644 [glob ${worksrcpath}/*.txt] ${destroot}${docdir}
48}
49
50variant universal {}
51
52livecheck.type  none
Note: See TracBrowser for help on using the repository browser.