Ticket #6687: Portfile.2

File Portfile.2, 831 bytes (added by glasser@…, 19 years ago)

newer version, cleaned up use of libtoolize (thanks olegb)

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 bin:glibtoolize:libtool
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    system "glibtoolize"
30    system "aclocal"
31    system "autoheader"
32}
33
34# Empty so it gets set for pre-configure
35variant darwin {
36}
37