source: trunk/dports/sysutils/txt2regex/Portfile

Last change on this file was 118684, checked in by ryandesign@…, 3 years ago

txt2regex: fix build failure on Mountain Lion and later (sed: RE error: illegal byte sequence) by setting LC_CTYPE=C (#43268); fix Makefile to handle PREFIX and DESTDIR correctly; install manpage; noarch; license GPL-2; add gettext build dependency (#32533)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1# $Id: Portfile 118684 2014-04-08 03:23:19Z ryandesign@macports.org $
2
3PortSystem      1.0
4
5name            txt2regex
6version         0.8
7revision        1
8categories      sysutils
9platforms       darwin freebsd
10maintainers     technokracy.net:grrr
11supported_archs noarch
12license         GPL-2
13
14description     Converts human sentences to regexes
15
16long_description \
17    Txt2regex is a Regular Expression Wizard that converts human sentences \
18    to regexes. In a simple interactive console interface, the user answers \
19    questions and the program build the regexes for more than 20 programs, \
20    like Vim, Emacs, Perl, PHP, Python, Procmail and OpenOffice.org. It \
21    is a Shell Script 100% written with Bash builtin commands.
22
23homepage        http://txt2regex.sourceforge.net/
24master_sites    ${homepage}
25extract.suffix  .tgz
26
27checksums       md5 83bc1f95b36fe51ade8d130fab390103 \
28                sha1 367923b1dad95c68b8e46db6888135b8b8d00807 \
29                rmd160 03387e1a43b17b7a977bcd8a5beb9b48c3cff24c
30
31depends_build   port:gettext
32
33patchfiles      patch-Makefile.diff
34
35use_configure   no
36build           {}
37
38destroot.args   PREFIX=${prefix}
39
40# sed: RE error: illegal byte sequence
41destroot.env    LC_CTYPE=C
42
43livecheck.type  regex
44livecheck.regex ${name}-(\[0-9.\]+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.