Ticket #26703: Portfile

File Portfile, 1.8 KB (added by ryandesign (Ryan Carsten Schmidt), 14 years ago)

modified portfile

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
5
6name                gutcheck
7version             0.991
8categories          textproc
9platforms           darwin
10maintainers         nomaintainer
11license             GPL-2
12
13description         Project Gutenberg Plain-text Checking Program
14
15long_description    Gutcheck is a plain-text checking program that \
16                    specializes in reporting the problems that spellcheckers \
17                    don't -- errors like mismatched quotes, misplaced \
18                    punctuation, unintended blank lines. It is specifically \
19                    tuned for checking texts for submission to Project \
20                    Gutenberg.
21
22homepage            http://gutcheck.sourceforge.net
23master_sites        http://pglaf.org/~jtinsley/gutcheck
24
25checksums           sha1    9740061f2379f38b165cadc0708372b376eaa9a8 \
26                    rmd160  25b98d9083782e31190ce65a143c0bbbaa89c684
27
28use_zip             yes
29distname            ${name}
30dist_subdir         ${name}/${version}
31
32extract.mkdir       yes
33
34post-extract {
35    xinstall -W ${filespath} \
36        AUTHORS \
37        ChangeLog \
38        INSTALL \
39        Makefile.am \
40        Makefile.in \
41        NEWS \
42        config.h.in \
43        configure \
44        configure.ac \
45        depcomp \
46        install-sh \
47        missing \
48        ${worksrcpath}
49}
50
51post-destroot {
52    set sharedir ${destroot}${prefix}/share/${name}
53    set docdir ${destroot}${prefix}/share/doc/${name}
54   
55    xinstall -d ${sharedir} ${docdir}
56   
57    xinstall -m 644 -W ${worksrcpath} gutcheck.typ ${sharedir}
58    xinstall -m 644 -W ${worksrcpath} README COPYING gutcheck.txt ${docdir}
59}