Ticket #28579: Portfile

File Portfile, 1.2 KB (added by luiji@…, 13 years ago)

portfile for makepak

Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id$
3
4PortSystem           1.0
5name                 makepak
6version              0.0.0
7categories           archivers
8platforms            darwin freebsd linux
9license              GPLv3+
10maintainers          users.sourceforge.net:luiji
11description          Quake I/II .PAK Archiving Utility
12long_description     MakePAK is a command-line tool for the creation of Quake \
13                     .PAK files.
14homepage             https://github.com/Luiji/MakePAK
15master_sites         https://github.com/downloads/Luiji/MakePAK/
16checksums            md5     da11a1e3a0d51f3e07fcc0d7adc9a386 \
17                     sha1    574d6bd752d5ee93cf6f9c454c64cce3a1097bcf \
18                     rmd160  e637bb15c82ab6399701deb1db044fd2c0efe1ae
19depends_build        port:texinfo
20use_parallel_build   yes
21
22# NOTE: This patch will not be needed in the next release of MakePAK.
23patchfiles           patch-src-pak.c.diff
24
25post-destroot {
26    set docdir ${prefix}/share/doc/${name}
27    xinstall -d ${destroot}${docdir}
28    xinstall -m 644 -W ${worksrcpath} README NEWS AUTHORS THANKS COPYING \
29        ${destroot}${docdir}
30}