# $Id: Portfile 42711 2008-11-29 23:39:10Z toby@macports.org $ PortSystem 1.0 name arc version 5.21o revision 1 categories archivers sysutils description create and extract files from dos .arc archives maintainers jc@crazic.ru platforms darwin long_description ${description} homepage http://arc.sourceforge.net/ master_sites sourceforge extract.suffix .tgz checksums md5 3b30c739b42b2fe8ac4ec0a05f34f284 \ sha1 4b803eae04976072fae88d4dbfc4b3e45796f8f3 \ rmd160 2897f62452f59efcb757cd5447d6d330df0cfdd1 patchfiles patch-Makefile patch-marc.c use_configure no set CFLAGS ${configure.cflags} if {[variant_isset universal]} { set CFLAGS "${CFLAGS} ${configure.universal_cflags}" } build.args "OPT=\"${CFLAGS}\"" destroot { xinstall -W ${worksrcpath} ${name} m${name} ${destroot}${prefix}/bin xinstall -W ${worksrcpath} -m 444 ${name}.1 ${destroot}${prefix}/share/man/man1 set docdir ${prefix}/share/doc/${name}-${version} xinstall -d ${destroot}${docdir} xinstall -W ${worksrcpath} -m 644 Arc[strsed ${version} {g/[^0-9]//}].doc Arcinfo COPYING LICENSE \ ${destroot}${docdir} } variant universal {} livecheck.regex "${name} ${name}-(\\d+(?:\\.\\d+)*\[a-z\]?) released.*"