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

Last change on this file since 50984 was 50984, checked in by and.damore@…, 10 years ago

Maintainer email change, second batch, mail without @macports.org domain are put in domain:user form.

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