source: trunk/dports/textproc/recode/Portfile @ 135119

Last change on this file since 135119 was 135119, checked in by ryandesign@…, 5 years ago

recode, recode-devel: use new locations of libtool's config.guess and config.sub

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1# $Id: Portfile 135119 2015-04-15 20:02:07Z ryandesign@macports.org $
2
3PortSystem      1.0
4
5name            recode
6version         3.6
7revision        3
8categories      textproc
9license         GPL-2+
10maintainers     nomaintainer
11platforms       darwin
12description     charset conversion program
13
14long_description \
15        This recode program has the purpose of converting files between \
16        various character sets and usages. When exact transliterations \
17        are not possible, as it is often the case, the program may get \
18        rid of the offending characters or fall back on approximations.
19
20homepage        http://www.gnu.org/software/recode/
21master_sites    gnu
22
23checksums       md5 be3f40ad2e93dae5cd5f628264bf1877 \
24                sha1 2de90cd2ba553bc07d75a29913ea4424dd9e616b \
25                rmd160 97dcb2544472c9025689452a94bed98ea36374b5
26
27depends_lib     port:libtool port:gettext
28
29# src/libiconv.c patch from Debian,
30# http://packages.debian.org/stable/text/recode
31patchfiles      patch-lib_Makefile.in.diff patch-src_libiconv.c.diff
32
33pre-configure {
34    xinstall -m 644 -W ${prefix}/share/libtool/build-aux config.guess config.sub ${worksrcpath}
35}
36
37configure.ldflags-append    -liconv
38
39configure.args  --infodir=${prefix}/share/info \
40                --mandir=${prefix}/share/man \
41                --without-included-gettext
42
43post-destroot {
44    delete ${destroot}${prefix}/lib/charset.alias
45    delete ${destroot}${prefix}/share/info/dir
46
47    set docdir ${prefix}/share/doc/${name}-${version}
48    xinstall -d ${destroot}${docdir}
49    xinstall -m 0644 -W ${worksrcpath} AUTHORS COPYING ChangeLog README THANKS \
50        TODO ${destroot}${docdir}
51}
52
53test.run        yes
54test.target     check
55
Note: See TracBrowser for help on using the repository browser.