source: trunk/dports/textproc/dos2unix/Portfile @ 75257

Last change on this file since 75257 was 75257, checked in by ryandesign@…, 10 years ago

Mark Waqar's ports as openmaintainer since he hasn't committed in years

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# $Id: Portfile 75257 2011-01-19 06:23:12Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name            dos2unix
6version         5.1.1
7license     FreeBSD
8categories      textproc
9platforms       darwin
10maintainers     waqar openmaintainer
11description     Convert text between dos, unix, and mac formats
12long_description ${description}
13master_sites    http://www.xs4all.nl/~waterlan/dos2unix/ sourceforge
14homepage        http://www.xs4all.nl/~waterlan/dos2unix.html
15
16checksums       sha1    c8b2121cbdf74900b9ae5fd7a0319195f6053b05 \
17                rmd160  7a50cf347cb2c716693718ae3b1b08de18bdedb3
18
19depends_lib     port:gettext
20
21use_configure   no
22
23build.args      prefix=${prefix} \
24                CC=${configure.cc}
25
26set CFLAGS_OS "${configure.cflags} ${configure.cppflags}"
27set LDFLAGS_EXTRA "${configure.ldflags} -lintl"
28
29pre-build {
30    if {![variant_isset universal]} {
31        append CFLAGS_OS " ${configure.cc_archflags}"
32        append LDFLAGS_EXTRA " ${configure.cc_archflags}"
33    }
34    build.args-append \
35        CFLAGS_OS="${CFLAGS_OS}" \
36        LDFLAGS_EXTRA="${LDFLAGS_EXTRA}"
37}
38
39destroot.args   prefix=${prefix} \
40                DOCDIR=${destroot}${prefix}/share/doc/${name}
41
42variant universal {
43    append CFLAGS_OS " ${configure.universal_cflags}"
44    append LDFLAGS_EXTRA " ${configure.universal_ldflags}"
45}
46
47livecheck.type  regex
48livecheck.regex {Stable version: (\d+(?:\.\d+)*)}
Note: See TracBrowser for help on using the repository browser.