Ticket #33097: Portfile

File Portfile, 1.3 KB (added by Liontooth (David Liontooth), 12 years ago)

Modified hexedit portfile

Line 
1# $Id: Portfile 64536 2010-03-08 13:05:33Z rmsfisher@macports.org $
2
3PortSystem 1.0
4name            hexedit
5version         1.2.12
6description     A hexeditor for the console.
7long_description \
8    view and edit files in hexadecimal or in ASCII. hexedit shows a file\
9    both in ASCII and in hexadecimal. The file can be a device as the   \
10    file is not whole read. You can modify the file and search through  \
11    it. You have also copy&paste and save to file functions. Truncating \
12    or appending to the file. Modifications are shown in bold.
13
14categories      sysutils
15platforms       darwin linux sunos
16maintainers     korseby.net:kristian.peters
17homepage        http://rigaux.org/hexedit.html
18master_sites    http://rigaux.org
19distname        ${name}-${version}.src
20extract.suffix  .tgz
21worksrcdir      ${name}
22checksums       md5 0d2f48610006278cd93359fea9a06d5c \
23                sha1 fee89e390945045fe6b74b5f07600a8e664c8b21 \
24                rmd160 76f30d62e5c4b18fdba60cf7852641ba2b547dbb
25configure.args  --mandir=${prefix}/share/man
26patchfiles      patch-Makefile.in
27post-configure {
28    reinplace "s|-lcurses|-lncurses|g" ${worksrcpath}/Makefile
29}
30depends_lib     port:ncurses
31
32livecheck.type  regex
33livecheck.url   ${homepage}
34livecheck.regex "${name}-(\\d+(?:\\.\\d+)*).src${extract.suffix}"