source: trunk/dports/textproc/enca/Portfile @ 45523

Last change on this file since 45523 was 45523, checked in by jeremyhu@…, 11 years ago

enca: Build universal

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.0 KB
Line 
1# $Id: Portfile 45523 2009-01-17 07:51:08Z jeremyhu@macports.org $
2
3PortSystem 1.0
4
5name            enca
6version         1.4
7categories      textproc
8platforms       darwin
9maintainers     nomaintainer
10description     character set analyser
11long_description        Enca is an Extremely Naive Charset Analyser. It \
12                        detects character set and encoding of text files and \
13                        can also convert them to other encodings.
14
15homepage        http://trific.ath.cx/software/enca/
16master_sites    http://www.mirrorservice.org/sites/master.us.finkmirrors.net/distfiles/md5/5c97deb1910fa15cef9e867797143db4/ \
17            http://distfiles.master.finkmirrors.net/md5/5c97deb1910fa15cef9e867797143db4/
18            # http://trific.ath.cx/Ftp/enca/
19            # the above seems to be broken at present
20checksums       md5 5c97deb1910fa15cef9e867797143db4
21use_bzip2       yes
22
23depends_build   port:libtool
24
25depends_lib     port:libiconv
26
27configure.args  --with-libiconv=${prefix}
28configure.cflags-append "-I${prefix}/include"
29
30post-configure {
31        # It's too much of a PITA to autoreconf for universal
32        delete ${worksrcpath}/libtool
33        system "ln -s ${prefix}/bin/glibtool ${worksrcpath}/libtool"
34}
Note: See TracBrowser for help on using the repository browser.