aboutsummaryrefslogtreecommitdiff
path: root/lang/tolua
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2008-05-05 07:04:27 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2008-05-05 07:04:27 +0000
commiteeb426902a53153269c849ae50196ded4fc0e2c4 (patch)
treeb38ca0a677ae217c23810e80eac4f1c36bc2e47b /lang/tolua
parentf1691be9092c41e19597cda2de2cb3db07614c31 (diff)
downloadports-eeb426902a53153269c849ae50196ded4fc0e2c4.tar.gz
ports-eeb426902a53153269c849ae50196ded4fc0e2c4.zip
Notes
Diffstat (limited to 'lang/tolua')
-rw-r--r--lang/tolua/Makefile10
-rw-r--r--lang/tolua/distinfo6
-rw-r--r--lang/tolua/files/patch-src::tests::Makefile25
3 files changed, 17 insertions, 24 deletions
diff --git a/lang/tolua/Makefile b/lang/tolua/Makefile
index 06c65e7f2196..05d6a4392649 100644
--- a/lang/tolua/Makefile
+++ b/lang/tolua/Makefile
@@ -7,8 +7,7 @@
#
PORTNAME= tolua
-PORTVERSION= 5.0.1
-PORTREVISION= 1
+PORTVERSION= 5.1
CATEGORIES= lang
MASTER_SITES= ftp://ftp.tecgraf.puc-rio.br/pub/users/celes/tolua/ \
http://www.tecgraf.puc-rio.br/~celes/tolua/
@@ -17,8 +16,11 @@ MAINTAINER= edwin@mavetju.org
COMMENT= toLua: accessing C/C++ code from Lua
USE_GMAKE= yes
-USE_LUA= 5.0
-WRKSRC= ${WRKDIR}/${PORTNAME}-5.0
+USE_LUA= 5.1
+WRKSRC= ${WRKDIR}/${PORTNAME}-5.1
+
+post-extract:
+ ${RM} ${WRKSRC}/src/bin/tolua_lua.o
post-patch:
@${REINPLACE_CMD} -e 's|make|$${MAKE}|' ${WRKSRC}/${MAKEFILE}
diff --git a/lang/tolua/distinfo b/lang/tolua/distinfo
index fc31789603d5..476226bdead7 100644
--- a/lang/tolua/distinfo
+++ b/lang/tolua/distinfo
@@ -1,3 +1,3 @@
-MD5 (tolua-5.0.1.tar.gz) = da18137d4583880ae474f1e632fcbdc2
-SHA256 (tolua-5.0.1.tar.gz) = a5cc355ecd84c2f8f22588eec41dd047ebe9bad89706c046bcbff4a2e1f7cecb
-SIZE (tolua-5.0.1.tar.gz) = 88676
+MD5 (tolua-5.1.tar.gz) = 0d515fcc81afae02fabcba4e91095f3e
+SHA256 (tolua-5.1.tar.gz) = 0f8a67f35e40584cb9bc6db4171f22846597687c9cf83250cde634d8264dfab3
+SIZE (tolua-5.1.tar.gz) = 190728
diff --git a/lang/tolua/files/patch-src::tests::Makefile b/lang/tolua/files/patch-src::tests::Makefile
index a2aa53e7018d..fa65a402933a 100644
--- a/lang/tolua/files/patch-src::tests::Makefile
+++ b/lang/tolua/files/patch-src::tests::Makefile
@@ -1,27 +1,18 @@
---- src/tests/Makefile.orig Wed Feb 11 23:01:58 2004
-+++ src/tests/Makefile Sun Nov 21 19:17:49 2004
+--- src/tests/Makefile.orig 2008-02-21 15:06:21.000000000 +0000
++++ src/tests/Makefile 2008-05-05 06:56:29.000000000 +0000
@@ -4,7 +4,7 @@
include $(TOLUA)/config
--LIBS = -ltolua -llua -llualib
-+LIBS = -ltolua -llua -llualib -lm
+-LIBS = -ltolua -llua
++LIBS = -ltolua -llua -lm
- all: tmodule tnamespace tclass tconstant tvariable tfunction tarray tdirective
- ./tmodule; ./tnamespace; ./tclass; ./tconstant; ./tvariable; ./tfunction; ./tarray; ./tdirective;
-@@ -25,7 +25,7 @@
- $(TOLUA)/bin/tolua -o $@ $<
-
- tnamespace: tnamespace.o tnamespacebind.o
-- $(CC) $(CPPFLAGS) -o $@ tnamespace.o tnamespacebind.o $(TLIB) $(LIB) $(LIBS)
-+ $(CC) $(CPPFLAGS) -Iedwin -o $@ tnamespace.o tnamespacebind.o $(TLIB) $(LIB) $(LIBS)
- tnamespacebind.cpp: tnamespace.pkg
- $(TOLUA)/bin/tolua -o $@ $<
-
-@@ -61,6 +61,3 @@
+ all: tmodule tnamespace tclass tinheritance tconstant tvariable tfunction tarray tdirective tenum
+ ./tmodule; ./tnamespace; ./tclass; ./tinheritance; ./tconstant; ./tvariable; ./tfunction; ./tarray; ./tdirective; ./tfunction; ./tenum
+@@ -71,6 +71,3 @@
klean:
- rm -f tmodule tnamespace tclass tconstant tvariable tfunction tarray tdirective
+ rm -f tmodule tnamespace tclass tinheritance tconstant tvariable tfunction tarray tdirective
-
-
-