Ticket #1011: libiconv-1.9.1-Portfile.patch
File libiconv-1.9.1-Portfile.patch, 1000 bytes (added by simon@…, 21 years ago) |
---|
-
Portfile
16 16 http://wuarchive.wustl.edu/mirrors/gnu/${portname}/ 17 17 checksums md5 0c99a05e0c3c153bac1c960f78711155 18 18 19 post-patch { reinplace "s|/doc/libiconv|/share/doc/libiconv|g" \ 20 ${worksrcpath}/man/Makefile.in } 19 post-patch { reinplace "s|@\mandir@|$\(prefix)/man|g" \ 20 ${worksrcpath}/Makefile.in 21 reinplace "s|@\mandir@|$\(prefix)/man|g" \ 22 ${worksrcpath}/man/Makefile.in 23 reinplace "s|$\(datadir)/doc/${portname}|$\(prefix)/share/doc/${portname}|g" \ 24 ${worksrcpath}/man/Makefile.in } 25 26 configure.env CFLAGS=-no-cpp-precomp \ 27 LDFLAGS=-L${prefix}/lib \ 28 CPPFLAGS=-I${prefix}/include 21 29 22 30 configure.args --enable-static 23 31 24 pre-destroot { system "install - o root -m 755 -d \25 ${destroot}${prefix}/share/doc/libiconv" }32 pre-destroot { system "install -m 755 -d \ 33 ${destroot}${prefix}/share/doc/${portname}" } 26 34 27 35 destroot.destdir prefix=${destroot}${prefix}