source: trunk/dports/devel/srecord/Portfile

Last change on this file was 147455, checked in by khindenburg@…, 16 months ago

srecord: update to 1.64; remove building of pdf to avoid ghostscript dep #46694

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.7 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 147455 2016-04-04 14:06:34Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                srecord
7version             1.64
8
9categories          devel
10maintainers         nomaintainer
11platforms           darwin
12license             GPL-3
13
14description         The srecord package is a collection of powerful tools \
15                    for manipulating EPROM load files.
16long_description    The srecord package understands a number of file \
17                    formats: ASCII-Hex, ASCII-Space-Hex, Atmel, raw \
18                    binary, C array declaration, DEC Binary XXDP, \
19                    Elektor Monitor EMON52, Four Packed Code FPC, Intel \
20                    MCS-86 Object format, MOS Technology hexadecimal, \
21                    Motorola S-Record, Signetics, SPASM PIC, \
22                    Tektronix Hexadecimal, Tektronix Extended Hexadecimal, \
23                    Texas Instruments Tagged, TI-Tagged TI-SDSMAC, VHDL, \
24                    and Wilson Eprom Burner. \
25                    \
26                    The srecord package is capable of the following \
27                    operations: Conversions from any format to any other \
28                    format, concatenations of multiple files, comparisons \
29                    of files, report file summary info, filtering. \
30                    \
31                    The srecord package is capable of the following \
32                    filtrations: checksums, byte swapping, CRC insertion, \
33                    crop addresses, exclude addresses, fill holes, \
34                    insert length information, maximum and minimum, adjust \
35                    offsets, split and unsplit for memory striping schemes.
36
37homepage            http://srecord.sourceforge.net/
38master_sites        sourceforge
39
40checksums           rmd160  895f81d64f3639affbbbcc95846154307686fd5e \
41                    sha256  49a4418733c508c03ad79a29e95acec9a2fbc4c7306131d2a8f5ef32012e67e2
42
43# remove doc/*.pdf to avoid ghostscript dep
44patchfiles          patch-Makefile.in.diff
45
46depends_build       port:libtool
47depends_lib         port:boost \
48                    port:libgcrypt
49
50configure.cflags-append \
51                    "-I${prefix}/include"
52configure.env-append \
53                    "LIBTOOL=glibtool"
54
55destroot.destdir    prefix=${destroot}${prefix}
56
57pre-configure {
58    reinplace {s|@bindir@|$(prefix)/bin|} ${worksrcpath}/Makefile.in
59    reinplace {s|@mandir@|$(prefix)/share/man|} ${worksrcpath}/Makefile.in
60    reinplace {s|@datarootdir@|$(prefix)/share|} ${worksrcpath}/Makefile.in
61    reinplace {s|@libdir@|$(prefix)/lib|} ${worksrcpath}/Makefile.in
62    reinplace {s|@includedir@|$(prefix)/include|} ${worksrcpath}/Makefile.in
63}
Note: See TracBrowser for help on using the repository browser.