diff options
author | Sergey A. Osokin <osa@FreeBSD.org> | 2012-03-11 13:07:53 +0000 |
---|---|---|
committer | Sergey A. Osokin <osa@FreeBSD.org> | 2012-03-11 13:07:53 +0000 |
commit | 21ce12b20871eefd12e334fdc7743b1b0b34304e (patch) | |
tree | d7ebf47cf3eed1936101238c681a01d8bc4ba8bc /devel/lua-cjson | |
parent | ab0f26773933d67a6ca045e3339d67c25e86814b (diff) | |
download | ports-21ce12b20871eefd12e334fdc7743b1b0b34304e.tar.gz ports-21ce12b20871eefd12e334fdc7743b1b0b34304e.zip |
Notes
Diffstat (limited to 'devel/lua-cjson')
-rw-r--r-- | devel/lua-cjson/Makefile | 7 | ||||
-rw-r--r-- | devel/lua-cjson/distinfo | 4 | ||||
-rw-r--r-- | devel/lua-cjson/files/patch-Makefile | 16 |
3 files changed, 8 insertions, 19 deletions
diff --git a/devel/lua-cjson/Makefile b/devel/lua-cjson/Makefile index 14431972fb5d..d1d8f1d9f7cf 100644 --- a/devel/lua-cjson/Makefile +++ b/devel/lua-cjson/Makefile @@ -6,7 +6,7 @@ # PORTNAME= cjson -PORTVERSION= 2.0.0 +PORTVERSION= 2.1.0 CATEGORIES= devel MASTER_SITES= http://www.kyne.com.au/~mark/software/download/ PKGNAMEPREFIX= ${LUA_PKGNAMEPREFIX} @@ -19,6 +19,11 @@ USE_LUA?= 5.1 PLIST_FILES= %%LUA_MODLIBDIR%%/cjson.so +post-patch: + @${REINPLACE_CMD} '16,18d; \ + 21s|^\(LUA_INCLUDE.*\)\(PREFIX\)\(.*\)|\1LOCALBASE\3/lua51|' \ + ${WRKSRC}/Makefile + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/cjson.so ${LUA_MODLIBDIR} diff --git a/devel/lua-cjson/distinfo b/devel/lua-cjson/distinfo index f98fe6d01bf9..35ced13be251 100644 --- a/devel/lua-cjson/distinfo +++ b/devel/lua-cjson/distinfo @@ -1,2 +1,2 @@ -SHA256 (lua-cjson-2.0.0.tar.gz) = 800ff64cfb33ff75eec8ec2313d3750ecbe665f7becc6c5a0c58ae740853c27c -SIZE (lua-cjson-2.0.0.tar.gz) = 85149 +SHA256 (lua-cjson-2.1.0.tar.gz) = 51bc69cd55931e0cba2ceae39e9efa2483f4292da3a88a1ed470eda829f6c778 +SIZE (lua-cjson-2.1.0.tar.gz) = 86024 diff --git a/devel/lua-cjson/files/patch-Makefile b/devel/lua-cjson/files/patch-Makefile deleted file mode 100644 index fa208d82046c..000000000000 --- a/devel/lua-cjson/files/patch-Makefile +++ /dev/null @@ -1,16 +0,0 @@ ---- Makefile.orig 2012-01-23 09:42:17.000000000 +0400 -+++ Makefile 2012-01-23 09:44:46.000000000 +0400 -@@ -13,12 +13,10 @@ - ##### Build defaults ##### - LUA_VERSION = 5.1 - TARGET = cjson.so --PREFIX = /usr/local - #CFLAGS = -g -Wall -pedantic -fno-inline --CFLAGS = -O3 -Wall -pedantic -DNDEBUG - CJSON_CFLAGS = -fpic - CJSON_LDFLAGS = -shared --LUA_INCLUDE_DIR = $(PREFIX)/include -+LUA_INCLUDE_DIR = $(PREFIX)/include/lua51 - LUA_CMODULE_DIR = $(PREFIX)/lib/lua/$(LUA_VERSION) - LUA_MODULE_DIR = $(PREFIX)/share/lua/$(LUA_VERSION) - LUA_BIN_DIR = $(PREFIX)/bin |