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