source: trunk/dports/archivers/arc/Portfile @ 42707

Last change on this file since 42707 was 42707, checked in by toby@…, 11 years ago

Don't use cd, fixes #17287 (maintainer timeout)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1# $Id: Portfile 42707 2008-11-29 22:29:27Z toby@macports.org $
2
3PortSystem        1.0
4name              arc
5version           5.21o
6revision          1
7categories        archivers sysutils
8description       create and extract files from dos .arc archives
9maintainers       jc@crazic.ru
10long_description  ${description}
11homepage          http://arc.sourceforge.net/
12master_sites      sourceforge
13extract.suffix    .tgz
14
15checksums         md5 3b30c739b42b2fe8ac4ec0a05f34f284 \
16                  sha1 4b803eae04976072fae88d4dbfc4b3e45796f8f3 \
17                  rmd160 2897f62452f59efcb757cd5447d6d330df0cfdd1
18
19patchfiles        patch-Makefile patch-marc.c
20
21use_configure     no
22
23set CFLAGS        ${configure.cflags}
24
25if {[variant_isset universal]} {
26        set CFLAGS    "${CFLAGS} ${configure.universal_cflags}"
27}
28
29build.args        "OPT=\"${CFLAGS}\""
30
31destroot {
32        xinstall -W ${worksrcpath} ${name} m${name} ${destroot}${prefix}/bin
33        xinstall -W ${worksrcpath} -m 444 ${name}.1 ${destroot}${prefix}/share/man/man1
34
35        set docdir ${prefix}/share/doc/${name}-${version}
36        xinstall -d ${destroot}${docdir}
37        xinstall -W ${worksrcpath} -m 644 Arc[strsed ${version} {g/[^0-9]//}].doc Arcinfo COPYING LICENSE \
38                ${destroot}${docdir}
39}
40
41variant universal {}
42
43livecheck.regex "<title>${name} ${name}-(\\d+(?:\\.\\d+)*\[a-z\]?) released.*</title>"
44
Note: See TracBrowser for help on using the repository browser.