Changeset 29063


Ignore:
Timestamp:
Sep 14, 2007, 12:45:46 PM (12 years ago)
Author:
nox@…
Message:

afio (closes #12675):

  • Added universal support.
  • Added standard doc installation.
  • Now uses standard destroot procedure.
  • Added sha1 and rmd160 checksums.
  • Appended another mirror to master_sites.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/archivers/afio/Portfile

    r27954 r29063  
    11# $Id$
    22
    3 PortSystem 1.0
     3PortSystem              1.0
    44
    55name                    afio
    66version                 2.5
     7revision        1
    78categories              archivers
    89platforms               darwin
    910maintainers             michael.klein@puffin.lb.shuttle.de
    1011description             Archiver & backup program with builtin compression
     12
    1113long_description        Afio makes cpio-format archives. It deals somewhat \
    1214                        gracefully with input data corruption, supports \
     
    1618                        an `archive engine' in a backup script.
    1719
    18 homepage                http://freshmeat.net/projects/afio/
    19 master_sites            http://members.brabant.chello.nl/~k.holtman
    20 checksums               md5 8c6665e0f875dcd8e1bdb18644b59688
     20homepage            http://freshmeat.net/projects/afio/
     21master_sites        http://members.brabant.chello.nl/~k.holtman \
     22                    http://www.ibiblio.org/pub/Linux/system/backup/
    2123extract.suffix          .tgz
    2224
    23 use_configure           no
     25checksums           md5 8c6665e0f875dcd8e1bdb18644b59688 \
     26                    sha1 051765f209fded60f94944da8a76ae37c3423a23 \
     27                    rmd160 991bdb794ee8b4b7e6a737afa85009aae925699d
     28
     29post-patch {
     30    reinplace -E "s|/usr(/local)?|\$(DESTDIR)${prefix}|" ${worksrcpath}/Makefile
     31}
     32
     33configure {
     34    reinplace -E "/^CFLAGS/s|\$| [join ${configure.cflags} " "]|" ${worksrcpath}/Makefile
     35    reinplace -E "/^LDFLAGS/s|\$| [join ${configure.ldflags} " "]|" ${worksrcpath}/Makefile
     36}
     37
     38post-destroot {
     39    set docdir ${prefix}/share/doc/${name}-${version}
     40    xinstall -d ${destroot}${docdir}
     41    xinstall -m 0644 -W ${worksrcpath} ANNOUNCE-2.5 HISTORY README SCRIPTS \
     42        ${destroot}${docdir}
     43}
    2444
    2545build.target            afio
    2646
    27 destroot                {
    28                                 xinstall ${worksrcpath}/afio ${destroot}${prefix}/bin/
    29                                 xinstall ${worksrcpath}/afio.1 ${destroot}${prefix}/share/man/man1/
    30                         }
    31 
    32 destroot.destdir        prefix=${destroot}${prefix}
    33 
    34 universal_variant no
    35 
Note: See TracChangeset for help on using the changeset viewer.