source: trunk/dports/textproc/libiconv/Portfile @ 3659

Last change on this file since 3659 was 3659, checked in by mij, 17 years ago

Install docs into ${prefix}/share/doc.

Bug: 1011
Submitted by: Simon Cotsworth <simon@…>
Reviewed by:
Approved by:
Obtained from:

  • Property svn:eol-style set to native
File size: 1002 bytes
Line 
1# $Id: Portfile,v 1.25 2003/10/12 15:36:29 mij Exp $
2
3PortSystem 1.0
4name            libiconv
5version         1.9.1
6revision        1
7categories      textproc
8platforms       darwin freebsd
9
10maintainers     mij@opendarwin.org
11description     Character set conversion library
12
13long_description A character-set conversion library which implements the \
14iconv() API for dealing with unicode and other types of conversion.
15
16master_sites    ftp://ftp.gnu.org/pub/gnu/${portname}/ \
17                http://wuarchive.wustl.edu/mirrors/gnu/${portname}/
18checksums       md5 0c99a05e0c3c153bac1c960f78711155
19
20post-patch      { reinplace "s|@\mandir@|$\(prefix)/man|g" \
21                    ${worksrcpath}/Makefile.in
22                  reinplace "s|@\mandir@|$\(prefix)/man|g" \
23                    ${worksrcpath}/man/Makefile.in
24                  reinplace "s|$\(datadir)/doc/${portname}|$\(prefix)/share/doc/${portname}|g" \
25                    ${worksrcpath}/man/Makefile.in }
26
27configure.args  --enable-static
28
29pre-destroot    { system "install -m 755 -d \
30                    ${destroot}${prefix}/share/doc/${portname}" }
31
32destroot.destdir prefix=${destroot}${prefix}
Note: See TracBrowser for help on using the repository browser.