Ticket #12675: afio-doc-universal.diff
File afio-doc-universal.diff, 2.0 KB (added by nox@…, 17 years ago) |
---|
-
Portfile
1 1 # $Id$ 2 2 3 PortSystem 3 PortSystem 1.0 4 4 5 5 name afio 6 6 version 2.5 7 revision 1 7 8 categories archivers 8 9 platforms darwin 9 10 maintainers michael.klein@puffin.lb.shuttle.de 10 11 description Archiver & backup program with builtin compression 12 11 13 long_description Afio makes cpio-format archives. It deals somewhat \ 12 14 gracefully with input data corruption, supports \ 13 15 multi-volume archives during interactive operation, and \ … … 15 17 compressed tar or cpio archives. Afio is best used as \ 16 18 an `archive engine' in a backup script. 17 19 18 homepage 19 master_sites http://members.brabant.chello.nl/~k.holtman20 checksums md5 8c6665e0f875dcd8e1bdb18644b59688 20 homepage http://freshmeat.net/projects/afio/ 21 master_sites http://members.brabant.chello.nl/~k.holtman \ 22 http://www.ibiblio.org/pub/Linux/system/backup/ 21 23 extract.suffix .tgz 22 24 23 use_configure no 25 checksums md5 8c6665e0f875dcd8e1bdb18644b59688 \ 26 sha1 051765f209fded60f94944da8a76ae37c3423a23 \ 27 rmd160 991bdb794ee8b4b7e6a737afa85009aae925699d 28 29 post-patch { 30 reinplace -E "s|/usr(/local)?|\$(DESTDIR)${prefix}|" ${worksrcpath}/Makefile 31 } 32 33 configure { 34 reinplace -E "/^CFLAGS/s|\$| [join ${configure.cflags} " "]|" ${worksrcpath}/Makefile 35 reinplace -E "/^LDFLAGS/s|\$| [join ${configure.ldflags} " "]|" ${worksrcpath}/Makefile 36 } 37 38 post-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 } 24 44 25 45 build.target afio 26 46 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 no35