source: trunk/dports/textproc/dos2unix/Portfile

Last change on this file was 133152, checked in by cal@…, 2 years ago

dos2unix: update to 7.2, closes #46923

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 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 133152 2015-02-22 11:28:32Z ryandesign@macports.org $
3
4PortSystem      1.0
5
6name            dos2unix
7version         7.2
8categories      textproc
9platforms       darwin
10maintainers     nomaintainer
11license         BSD
12
13description     Convert text between dos, unix, and mac formats
14
15long_description ${description}
16
17homepage        http://www.xs4all.nl/~waterlan/dos2unix.html
18master_sites    sourceforge:project/dos2unix/dos2unix/${version} \
19                http://www.xs4all.nl/~waterlan/dos2unix/
20
21checksums       rmd160  3c1de9cca0656a968814c19a48213b546aa914bc \
22                sha256  8a63576767b26af46401dfdeaf09c1e4de03735fe80c362244514e1eaf13d9b5
23
24depends_lib     port:gettext
25
26use_configure   no
27
28variant universal {}
29
30configure.cflags-append ${configure.cppflags} [get_canonical_archflags cc]
31configure.ldflags-append -lintl [get_canonical_archflags ld]
32
33build.args      prefix=${prefix} \
34                CC=${configure.cc} \
35                CFLAGS_OS="[join ${configure.cflags}]" \
36                LDFLAGS_EXTRA="[join ${configure.ldflags}]"
37
38destroot.args   prefix=${prefix} \
39                DOCDIR=${destroot}${prefix}/share/doc/${name}
40
41livecheck.type  regex
42livecheck.regex {Stable version: (\d+(?:\.\d+)*)}
Note: See TracBrowser for help on using the repository browser.