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

Last change on this file since 3173 was 3173, checked in by jkh, 17 years ago

Mass-merge of destroot target changes. Before committing this, I also
laid down a PRE_DESTROOT_TARGET so we can easily compare the before and
after photos (or, in extremis, revert this change). I doubt that will be
necessary, however, since things appear to be working quite well with this
change and it's better to do it sooner rather than later since it changes the
rules about what commands/variables to use in new ports.

Approved by: fkr

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