source: trunk/dports/sysutils/bdump/Portfile

Last change on this file was 123586, checked in by jmr@…, 3 years ago

bdump: improve description, use cflags

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 942 bytes
Line 
1# $Id: Portfile 123586 2014-08-11 06:15:55Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name            bdump
6version         3.5
7categories      sysutils
8platforms       darwin
9maintainers     nomaintainer
10description     view files in hex and ASCII formats side by side
11long_description \
12    A replacement for od for viewing binary files. Allows viewing hex   \
13    and ASCII formats side by side.
14
15homepage        http://www.braham.net/Phil/linux_utils.html
16master_sites    http://www.braham.net/Phil/Linux_utils/bdump/
17distname        ${name}
18checksums       md5 df6d2abbd7179fddef660f1b85ff4a7d
19use_zip         yes
20
21extract.mkdir   yes
22
23use_configure   no
24
25build {
26    system -W ${worksrcpath} "${configure.cc} ${configure.cflags} ${configure.cc_archflags} bdump.c -o bdump"
27}
28
29destroot {
30    xinstall -m 755 ${worksrcpath}/bdump ${destroot}${prefix}/bin
31    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
32    xinstall -m 644 ${worksrcpath}/README ${destroot}${prefix}/share/doc/${name}
33}
Note: See TracBrowser for help on using the repository browser.