# -*- 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
description The srecord package is a collection of powerful tools \
for manipulating EPROM load files.
long_description The srecord package understands a number of file \
formats: ASCII-Hex, ASCII-Space-Hex, Atmel, raw \
binary, C array declaration, DEC Binary XXDP, \
Elektor Monitor EMON52, Four Packed Code FPC, Intel \
MCS-86 Object format, MOS Technology hexadecimal, \
Motorola S-Record, Signetics, SPASM PIC, \
Tektronix Hexadecimal, Tektronix Extended Hexadecimal, \
Texas Instruments Tagged, TI-Tagged TI-SDSMAC, VHDL, \
and Wilson Eprom Burner. \
The srecord package is capable of the following \
operations: Conversions from any format to any other \
format, concatenations of multiple files, comparisons \
of files, report file summary info, filtering. \
The srecord package is capable of the following \
filtrations: checksums, byte swapping, CRC insertion, \
crop addresses, exclude addresses, fill holes, \
insert length information, maximum and minimum, adjust \
offsets, split and unsplit for memory striping schemes.
homepage http://srecord.sourceforge.net/
checksums rmd160 895f81d64f3639affbbbcc95846154307686fd5e \
sha256 49a4418733c508c03ad79a29e95acec9a2fbc4c7306131d2a8f5ef32012e67e2
# remove doc/*.pdf to avoid ghostscript dep
patchfiles patch-Makefile.in.diff
depends_build port:libtool
configure.cflags-append \
destroot.destdir prefix=${destroot}${prefix}
reinplace {s|@bindir@|$(prefix)/bin|} ${worksrcpath}/Makefile.in
reinplace {s|@mandir@|$(prefix)/share/man|} ${worksrcpath}/Makefile.in
reinplace {s|@datarootdir@|$(prefix)/share|} ${worksrcpath}/Makefile.in
reinplace {s|@libdir@|$(prefix)/lib|} ${worksrcpath}/Makefile.in
reinplace {s|@includedir@|$(prefix)/include|} ${worksrcpath}/Makefile.in