# $Id: Portfile 50984 2009-05-14 21:08:43Z and.damore@macports.org $ PortSystem 1.0 name unarj version 2.63a revision 1 categories archivers sysutils description extract files from dos .arj archives maintainers crazic.ru:jc long_description ${description} homepage http://ibiblio.org/pub/Linux/utils/compress/ master_sites ${homepage} checksums md5 a83d139c245f911f22cb1b611ec9768f \ sha1 abd35d894444fea1a0bdc7472ed2346f0f8c6ba4 \ rmd160 cebee016ffc2b7eb74a13f8246d82ea68519e500 build.target unarj configure { reinplace -E "/^CFLAGS/s|-ansi -pedantic|[join ${configure.cflags} " "]|" ${worksrcpath}/Makefile } destroot.destdir INSTALLDIR=${destroot}${prefix}/bin post-destroot { set docdir ${prefix}/share/doc/${name}-${version} xinstall -d ${destroot}${docdir} xinstall -m 0644 ${worksrcpath}/unarj.txt ${destroot}${docdir} } livecheck.check regex livecheck.url ${homepage}?C=M&O=D livecheck.regex ${name}-(\\d+(?:\\.\\d+)*\[a-z\])