Revision
120684
Author
mf2k@macports.org
Date
2014-06-05 10:30:25 -0700 (Thu, 05 Jun 2014)

Log Message

srecord: Update to version 1.63. (#43916)

Modified Paths

Diff

Modified: trunk/dports/devel/srecord/Portfile (120683 => 120684)


--- trunk/dports/devel/srecord/Portfile	2014-06-05 16:41:30 UTC (rev 120683)
+++ trunk/dports/devel/srecord/Portfile	2014-06-05 17:30:25 UTC (rev 120684)
@@ -2,7 +2,7 @@
 
 PortSystem 1.0
 name              srecord
-version           1.36
+version           1.63
 categories        devel
 maintainers       nomaintainer
 platforms         darwin
@@ -30,8 +30,17 @@
                   offsets, split and unsplit for memory striping schemes.
 homepage          http://srecord.sourceforge.net/
 master_sites      sourceforge
-checksums         md5 8fce124d47f23b4aa187c3b8eebc9fd7
+checksums         rmd160  668d5dc75960666a7c99509f39ecd2602891c384 \
+                  sha256  78fec76d04424506e319f59b19a520428a7449ed087a67e1779fa2996992bf1a
+depends_build     port:libtool
 configure.cflags-append	"-I${prefix}/include"
-configure.args    --mandir=${destroot}${prefix}/share/man
+configure.env-append "LIBTOOL=glibtool"
 destroot.destdir  prefix=${destroot}${prefix}
 
+pre-configure {
+    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
+}