1 | # $Id: Portfile,v 1.30 2005/05/02 19:41:16 mww Exp $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | name libiconv |
---|
5 | version 1.9.2 |
---|
6 | revision 1 |
---|
7 | categories textproc |
---|
8 | platforms darwin freebsd |
---|
9 | |
---|
10 | maintainers mij@opendarwin.org |
---|
11 | description Character set conversion library |
---|
12 | |
---|
13 | long_description A character-set conversion library which implements the \ |
---|
14 | iconv() API for dealing with unicode and other types of \ |
---|
15 | conversion. |
---|
16 | |
---|
17 | homepage http://www.gnu.org/software/libiconv/ |
---|
18 | master_sites gnu |
---|
19 | checksums md5 6bc300365053c815b10b800a21e0bc7e |
---|
20 | |
---|
21 | post-patch { reinplace "s|@\mandir@|$\(prefix)/share/man|g" \ |
---|
22 | ${worksrcpath}/Makefile.in |
---|
23 | reinplace "s|@\mandir@|$\(prefix)/share/man|g" \ |
---|
24 | ${worksrcpath}/man/Makefile.in |
---|
25 | reinplace "s|$\(datadir)/doc/${portname}|$\(prefix)/share/doc/${portname}|g" \ |
---|
26 | ${worksrcpath}/man/Makefile.in } |
---|
27 | |
---|
28 | configure.args --enable-static |
---|
29 | |
---|
30 | pre-destroot { system "install -m 755 -d \ |
---|
31 | ${destroot}${prefix}/share/doc/${portname}" } |
---|
32 | |
---|
33 | destroot.destdir prefix=${destroot}${prefix} |
---|
34 | |
---|
35 | post-destroot { |
---|
36 | file delete -force ${destroot}${prefix}/lib/charset.alias |
---|
37 | } |
---|