public
Description: Git mirror of the MacPorts svn repo
Homepage: http://www.macports.org
Clone URL: git://github.com/kballard/macports.git
Search Repo:
lua-expat is a XML parsing module for lua based on SAX, Simple API for 
XML.


git-svn-id: http://svn.macports.org/repository/macports/trunk@36827 
d073be05-634f-4543-b044-5fe20cf6d1d6
Andrea D'Amore (author)
Thu May 15 22:45:17 -0700 2008
commit  4334982208a88ec59c16e893410e0267daec3dae
tree    c08a29c5fa543822770be633d59c21e401a7337b
parent  9b7033928a814df946d0bede441f133f7bc9706d
...
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
0
@@ -1 +1,59 @@
0
+# $Id:$
0
+
0
+PortSystem 1.0
0
+
0
+name lua-expat
0
+version 1.1
0
+revision 0
0
+categories devel
0
+platforms darwin
0
+maintainers andrea.damore@macports.org
0
+description SAX XML parser
0
+long_description LuaExpat is a SAX XML parser based on the Expat library. \
0
+ LuaExpat is free software and uses the same license as Lua 5.1.
0
+
0
+homepage http://www.keplerproject.org/luaexpat/index.html
0
+master_sites http://luaforge.net/frs/download.php/2469/
0
+
0
+distname luaexpat-${version}
0
+
0
+use_configure no
0
+
0
+checksums \
0
+ luaexpat-1.1.tar.gz \
0
+ md5 6ecb895ccf5cff1e7f2facd438b1f8d0 \
0
+ sha1 ea359bdbd346ee378c47179a17ac3ee410be5c9d \
0
+ rmd160 f661c0e7f22363f51862187e96306498addea9d9
0
+
0
+patchfiles patch-luaexpat.diff
0
+
0
+patch.pre_args -p1
0
+
0
+build.target
0
+
0
+destroot {
0
+ xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
0
+ file copy README ${destroot}${prefix}/share/doc/${name}
0
+ foreach doc [glob doc/us/*] {
0
+ xinstall -m 0644 ${doc} ${destroot}${prefix}/share/doc/${name}
0
+ }
0
+
0
+ # Binaries
0
+ xinstall -m 755 -d ${destroot}${prefix}/lib/lua/5.1
0
+ foreach lib [glob src/*.so.*] {
0
+ xinstall -m 0644 ${lib} ${destroot}${prefix}/lib/lua/5.1
0
+ }
0
+
0
+ # Lua libraries
0
+ xinstall -m 755 -d ${destroot}${prefix}/share/lua/5.1/lxp
0
+ foreach luadat [glob src/lxp/*.lua] {
0
+ xinstall -m 0644 ${luadat} ${destroot}${prefix}/share/lua/5.1/lxp
0
+ }
0
+
0
+ # Lua includes
0
+ xinstall -m 755 -d ${destroot}${prefix}/include/lua5.1
0
+ foreach inc [glob src/*.h] {
0
+ xinstall -m 0644 ${inc} ${destroot}${prefix}/include/lua5.1
0
+ }
0
+}
...
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
0
@@ -1 +1,47 @@
0
+diff -ru luaexpat-1.1-orig/config luaexpat-1.1/config
0
+--- luaexpat-1.1-orig/config 2006-06-08 22:41:48.000000000 +0200
0
++++ luaexpat-1.1/config 2008-05-14 23:27:14.000000000 +0200
0
+@@ -1,23 +1,23 @@
0
+ # Installation directories
0
+ # System's libraries directory (where binary libraries are installed)
0
+-LUA_LIBDIR= /usr/local/lib/lua/5.0
0
++LUA_LIBDIR= /opt/local/lib/lua/5.1
0
+ # System's lua directory (where Lua libraries are installed)
0
+-LUA_DIR= /usr/local/share/lua/5.0
0
++LUA_DIR= /opt/local/share/lua/5.1
0
+ # Lua includes directory
0
+-LUA_INC= /usr/local/include
0
++LUA_INC= /opt/local/include
0
+ # Expat includes directory
0
+-EXPAT_INC= /usr/local/include
0
++EXPAT_INC= /opt/local/include
0
+
0
+ # OS dependent
0
+-LIB_OPTION= -shared #for Linux
0
+-#LIB_OPTION= -bundle -undefined dynamic_lookup #for MacOS X
0
++#LIB_OPTION= -shared #for Linux
0
++LIB_OPTION= -bundle -undefined dynamic_lookup #for MacOS X
0
+
0
+ LIBNAME= $T.so.$V
0
+ # Lua version number
0
+ # (according to Lua 5.1 definition:
0
+ # first version digit * 100 + second version digit
0
+ # e.g. Lua 5.0.2 => 500, Lua 5.1 => 501, Lua 5.1.1 => 501)
0
+-LUA_VERSION_NUM= 500
0
++LUA_VERSION_NUM= 513
0
+ COMPAT_DIR= ../compat/src
0
+
0
+ # Compilation parameters
0
+diff -ru luaexpat-1.1-orig/makefile luaexpat-1.1/makefile
0
+--- luaexpat-1.1-orig/makefile 2006-06-08 22:41:48.000000000 +0200
0
++++ luaexpat-1.1/makefile 2008-05-15 07:56:31.000000000 +0200
0
+@@ -12,7 +12,7 @@
0
+ lib: src/$(LIBNAME)
0
+
0
+ src/$(LIBNAME) : $(OBJS)
0
+- export MACOSX_DEPLOYMENT_TARGET="10.3"; $(CC) -o src/$(LIBNAME) $(LIB_OPTION) $(OBJS) -lexpat
0
++ export MACOSX_DEPLOYMENT_TARGET="10.5"; $(CC) -o src/$(LIBNAME) $(LIB_OPTION) $(OBJS) -lexpat
0
+
0
+ $(COMPAT_DIR)/compat-5.1.o: $(COMPAT_DIR)/compat-5.1.c
0
+ $(CC) -c $(CFLAGS) -o $@ $(COMPAT_DIR)/compat-5.1.c

Comments

    No one has commented yet.