source: trunk/dports/textproc/par/Portfile @ 140221

Last change on this file since 140221 was 140221, checked in by ionic@…, 5 years ago

par: add modeline. Patch provided by user. Part of #47231.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.0 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 140221 2015-09-12 22:23:39Z ionic@macports.org $
3# Based on: http://www.openbsd.org/cgi-bin/cvsweb/ports/textproc/par/Makefile
4
5PortSystem 1.0
6
7name                    par
8version                 1.52
9revision                1
10categories              textproc
11platforms               darwin
12maintainers             gmail.com:qbarnes
13description             paragraph reflow for email
14long_description        ${description}
15homepage                http://www.nicemice.net/${name}/
16master_sites            ${homepage}
17distname                [string totitle $name][string map {. {}} $version]
18checksums               md5 4ccacd824171ba2c2f14fb8aba78b9bf
19
20patchfiles              patch-nbspace.diff \
21                        patch-ptrdiffwarn.diff
22
23use_configure           no
24
25variant universal {}
26
27build.args              -f protoMakefile \
28                        CC="${configure.cc} -c ${configure.optflags} [get_canonical_archflags cc]" \
29                        LINK1="${configure.cc} [get_canonical_archflags ld]"
30build.target
31
32destroot {
33        xinstall -m 555 "${worksrcpath}/${name}" "${destroot}${prefix}/bin/"
34        xinstall -m 444 "${worksrcpath}/${name}.1" "${destroot}${prefix}/share/man/man1/"
35}
Note: See TracBrowser for help on using the repository browser.