source: trunk/dports/archivers/unarj/Portfile @ 100613

Last change on this file since 100613 was 57375, checked in by ryandesign@…, 11 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
RevLine 
[19376]1# $Id: Portfile 57375 2009-09-10 08:16:41Z ryandesign@macports.org $
[7940]2
[28748]3PortSystem        1.0
[29069]4
[28748]5name              unarj
6version           2.63a
[29069]7revision          1
[28748]8categories        archivers sysutils
[56061]9platforms         darwin
[28748]10description       extract files from dos .arj archives
[50984]11maintainers       crazic.ru:jc
[29069]12
[28748]13long_description  ${description}
[29069]14
[28748]15homepage          http://ibiblio.org/pub/Linux/utils/compress/
[29069]16master_sites      ${homepage}
[7940]17
[29069]18checksums         md5 a83d139c245f911f22cb1b611ec9768f \
19                  sha1 abd35d894444fea1a0bdc7472ed2346f0f8c6ba4 \
20                  rmd160 cebee016ffc2b7eb74a13f8246d82ea68519e500
[7940]21
[29069]22build.target      unarj
[7940]23
[29069]24configure {
25    reinplace -E "/^CFLAGS/s|-ansi -pedantic|[join ${configure.cflags} " "]|" ${worksrcpath}/Makefile
[7940]26}
[28066]27
[29069]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
[57375]36livecheck.type  regex
[29069]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.