New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

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

Revision 92320, 909 bytes checked in by ryandesign@…, 3 years ago (diff)

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
Line 
1# $Id$
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.