Ticket #6687: Portfile

File Portfile, 892 bytes (added by glasser@…, 19 years ago)

the portfile

Line 
1# $Id: $
2PortSystem        1.0
3name              wbxml2
4version           0.9.0
5categories        textproc devel
6maintainers       glasser@mit.edu
7description       converts between XML and Wireless Binary XML (WBXML)
8long_description  ${description}
9homepage          http://libwbxml.aymerick.com/
10
11master_sites      sourceforge
12master_sites.mirror_subdir wbxmllib
13
14distfiles  ${name}-${version}-src.tar.gz
15checksums md5 3f9b5bf104ec523b8eebe69f93919ded
16
17depends_lib lib:libexpat:expat
18
19use_automake yes
20automake.args --add-missing
21
22use_autoconf yes
23
24configure.env   CPPFLAGS=-I${prefix}/include    \
25        LDFLAGS=-L${prefix}/lib
26
27pre-configure {
28    cd ${worksrcpath}
29    if {[variant_isset darwin]} {
30        system "glibtoolize"
31    } else {
32        system "libtoolize"
33    }
34    system "aclocal"
35    system "autoheader"
36}
37
38# Empty so it gets set for pre-configure
39variant darwin {
40}
41