source: trunk/dports/archivers/unarj/Portfile

Last change on this file was 57375, checked in by ryandesign@…, 8 years ago

Change deprecated livecheck.check to livecheck.type
See http://lists.macosforge.org/pipermail/macports-dev/2009-August/009699.html

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.0 KB
Line 
1# $Id: Portfile 57375 2009-09-10 08:16:41Z ryandesign@macports.org $
2
3PortSystem        1.0
4
5name              unarj
6version           2.63a
7revision          1
8categories        archivers sysutils
9platforms         darwin
10description       extract files from dos .arj archives
11maintainers       crazic.ru:jc
12
13long_description  ${description}
14
15homepage          http://ibiblio.org/pub/Linux/utils/compress/
16master_sites      ${homepage}
17
18checksums         md5 a83d139c245f911f22cb1b611ec9768f \
19                  sha1 abd35d894444fea1a0bdc7472ed2346f0f8c6ba4 \
20                  rmd160 cebee016ffc2b7eb74a13f8246d82ea68519e500
21
22build.target      unarj
23
24configure {
25    reinplace -E "/^CFLAGS/s|-ansi -pedantic|[join ${configure.cflags} " "]|" ${worksrcpath}/Makefile
26}
27
28destroot.destdir  INSTALLDIR=${destroot}${prefix}/bin
29
30post-destroot {
31    set docdir ${prefix}/share/doc/${name}-${version}
32    xinstall -d ${destroot}${docdir}
33    xinstall -m 0644 ${worksrcpath}/unarj.txt ${destroot}${docdir}
34}
35
36livecheck.type  regex
37livecheck.url   ${homepage}?C=M&O=D
38livecheck.regex ${name}-(\\d+(?:\\.\\d+)*\[a-z\])
39
Note: See TracBrowser for help on using the repository browser.