source: trunk/dports/textproc/par/Portfile

Last change on this file was 143643, checked in by mf2k@…, 21 months ago

par: Add utf-8 support. Add license. Use modern checksums. Conform to mode line. (#48551)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
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: Portfile 143643 2015-12-16 16:12:01Z ryandesign@macports.org $
3
4# Based on: http://www.openbsd.org/cgi-bin/cvsweb/ports/textproc/par/Makefile
5
6PortSystem          1.0
7
8name                par
9version             1.52
10revision            2
11categories          textproc
12platforms           darwin
13maintainers         gmail.com:qbarnes
14description         paragraph reflow for email
15long_description    ${description}
16license             Permissive
17homepage            http://www.nicemice.net/${name}/
18master_sites        ${homepage}
19distname            [string totitle $name][string map {. {}} $version]
20
21checksums           rmd160  253070f319a7f3b3a6f0dad5797882efdbf597bc \
22                    sha256  33dcdae905f4b4267b4dc1f3efb032d79705ca8d2122e17efdecfd8162067082
23
24patchfiles          patch-nbspace.diff \
25                    patch-ptrdiffwarn.diff \
26                    patch-spelling.diff
27
28use_configure       no
29
30default_variants    +i18n
31variant i18n description adds support for multibyte characters {
32    patchfiles-append   patch-i18n.diff
33}
34
35build.args          -f protoMakefile \
36                    CC="${configure.cc} \
37                        -c ${configure.optflags} [get_canonical_archflags cc]" \
38                    LINK1="${configure.cc} [get_canonical_archflags ld]"
39build.target
40
41destroot {
42    xinstall "${worksrcpath}/${name}" "${destroot}${prefix}/bin/"
43    xinstall -m 444 "${worksrcpath}/${name}.1" "${destroot}${prefix}/share/man/man1/"
44}
Note: See TracBrowser for help on using the repository browser.