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

Last change on this file since 133890 was 92320, checked in by ryandesign@…, 8 years ago

par: fix mangled UTF-8 with non-breaking space; use the right -arch flags and add a universal variant; remove an unnecessary reinplace

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