Ticket #1408: Portfile.2

File Portfile.2, 1.3 KB (added by julien.touche@…, 21 years ago)

new portfile

Line 
1# $Id: $
2PortSystem        1.0
3name              recode
4version           3.6
5categories        textproc
6maintainers       darwinports@opendarwin.org
7description       convert files between character sets and usages
8long_description  GNU `recode' converts files between character sets and usages.  When exact transliterations are not possible, it may get rid of the offending characters or fall back on approximations.  This program recognizes or produces nearly 150 different character sets and is able to transliterate files between almost any pair.  Most RFC 1345 character sets are supported.
9homepage          http://www.gnu.org/software/recode/
10master_sites      gnu
11platforms         darwin openbsd
12checksums         md5 be3f40ad2e93dae5cd5f628264bf1877
13configure.args    --mandir=${prefix}/share/man \
14                  --without-included-gettext
15configure.env     CPPFLAGS="-I${prefix}/include" \
16                  LDFLAGS="-L${prefix}/lib"
17#depends_test     python
18#failed on macosx : undefined symbol with -shared ...
19#ok openbsd
20
21variant darwin {
22        pre-configure {
23                file copy -force /usr/share/libtool/config.guess ${worksrcpath}/ 
24                file copy -force /usr/share/libtool/config.sub ${worksrcpath}/ 
25        }
26}
27
28## another error ...
29#variant darwin {
30#       configure.args-append --disable-shared
31#}