Ticket #43916: Portfile-srecord.diff

File Portfile-srecord.diff, 1.3 KB (added by stevecheckoway (Stephen Checkoway), 10 years ago)
  • Portfile

    old new  
    22
    33PortSystem 1.0
    44name              srecord
    5 version           1.36
     5version           1.63
    66categories        devel
    77maintainers       nomaintainer
    88platforms         darwin
     
    3030                  offsets, split and unsplit for memory striping schemes.
    3131homepage          http://srecord.sourceforge.net/
    3232master_sites      sourceforge
    33 checksums         md5 8fce124d47f23b4aa187c3b8eebc9fd7
     33checksums         rmd160  668d5dc75960666a7c99509f39ecd2602891c384 \
     34                  sha256  78fec76d04424506e319f59b19a520428a7449ed087a67e1779fa2996992bf1a
     35depends_build     port:libtool
    3436configure.cflags-append "-I${prefix}/include"
    35 configure.args    --mandir=${destroot}${prefix}/share/man
     37configure.env-append "LIBTOOL=glibtool"
    3638destroot.destdir  prefix=${destroot}${prefix}
    3739
     40pre-configure {
     41    reinplace {s|@bindir@|$(prefix)/bin|} ${worksrcpath}/Makefile.in
     42    reinplace {s|@mandir@|$(prefix)/share/man|} ${worksrcpath}/Makefile.in
     43    reinplace {s|@datarootdir@|$(prefix)/share|} ${worksrcpath}/Makefile.in
     44    reinplace {s|@libdir@|$(prefix)/lib|} ${worksrcpath}/Makefile.in
     45    reinplace {s|@includedir@|$(prefix)/include|} ${worksrcpath}/Makefile.in
     46}