source: trunk/dports/archivers/afio/Portfile

Last change on this file was 127160, checked in by larryv@…, 3 years ago

afio: Use homepage for livecheck

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# $Id: Portfile 127160 2014-10-22 03:40:18Z ryandesign@macports.org $
2
3PortSystem          1.0
4
5name                afio
6version             2.5.1
7categories          archivers
8platforms           darwin
9maintainers         puffin.lb.shuttle.de:michael.klein
10description         Archiver & backup program with builtin compression
11
12long_description    Afio makes cpio-format archives. It deals somewhat \
13                    gracefully with input data corruption, supports \
14                    multi-volume archives during interactive operation, and \
15                    can make compressed archives that are much safer than \
16                    compressed tar or cpio archives. Afio is best used as \
17                    an `archive engine' in a backup script.
18
19homepage            http://members.chello.nl/~k.holtman/afio.html
20master_sites        http://members.brabant.chello.nl/~k.holtman \
21                    http://www.ibiblio.org/pub/Linux/system/backup/
22extract.suffix      .tgz
23
24checksums           sha256  363457a5d6ee422d9b704ef56d26369ca5ee671d7209cfe799cab6e30bf2b99a \
25                    rmd160  923981a9e6766781705ceedecd3d86afa5b9abae
26
27post-patch {
28    reinplace -E "s|/usr(/local)?|\$(DESTDIR)${prefix}|" ${worksrcpath}/Makefile
29}
30
31configure {
32    reinplace -E "/^CFLAGS/s|\$| [join ${configure.cflags} " "]|" ${worksrcpath}/Makefile
33    reinplace -E "/^LDFLAGS/s|\$| [join ${configure.ldflags} " "]|" ${worksrcpath}/Makefile
34}
35
36post-destroot {
37    set docdir ${prefix}/share/doc/${name}-${version}
38    xinstall -d ${destroot}${docdir}
39    xinstall -m 0644 -W ${worksrcpath} ANNOUNCE-${version} HISTORY README SCRIPTS ${destroot}${docdir}
40}
41
42build.target            afio
43
44livecheck.type          regex
45livecheck.regex         "afio-(\\d(?:\\.\\d)+)${extract.suffix}"
Note: See TracBrowser for help on using the repository browser.