aboutsummaryrefslogtreecommitdiff
path: root/databases/tokyotyrant
diff options
context:
space:
mode:
authorLi-Wen Hsu <lwhsu@FreeBSD.org>2009-05-27 02:17:20 +0000
committerLi-Wen Hsu <lwhsu@FreeBSD.org>2009-05-27 02:17:20 +0000
commitbb90c1af7b901ffbcd41f794325db03265f438e0 (patch)
tree4263757d7e94165257be1fe9dff350ea22142cfe /databases/tokyotyrant
parent9086dcc2dc3f52c8daa19a12e655a9801344692c (diff)
downloadports-bb90c1af7b901ffbcd41f794325db03265f438e0.tar.gz
ports-bb90c1af7b901ffbcd41f794325db03265f438e0.zip
Notes
Diffstat (limited to 'databases/tokyotyrant')
-rw-r--r--databases/tokyotyrant/Makefile18
-rw-r--r--databases/tokyotyrant/distinfo6
-rw-r--r--databases/tokyotyrant/pkg-plist3
3 files changed, 19 insertions, 8 deletions
diff --git a/databases/tokyotyrant/Makefile b/databases/tokyotyrant/Makefile
index ad6a1b57c94d..3075761e915b 100644
--- a/databases/tokyotyrant/Makefile
+++ b/databases/tokyotyrant/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= tokyotyrant
-PORTVERSION= 1.1.26
+PORTVERSION= 1.1.27
CATEGORIES= databases
MASTER_SITES= SF
MASTER_SITE_SUBDIR= tokyocabinet
@@ -14,9 +14,8 @@ MASTER_SITE_SUBDIR= tokyocabinet
MAINTAINER= gslin@gslin.org
COMMENT= Network interface of Tokyo Cabinet
-BUILD_DEPENDS= tokyocabinet>=1.4.7:${PORTSDIR}/databases/tokyocabinet
+BUILD_DEPENDS= tokyocabinet>=1.4.20:${PORTSDIR}/databases/tokyocabinet
LIB_DEPENDS= tokyocabinet:${PORTSDIR}/databases/tokyocabinet
-RUN_DEPENDS= tokyocabinet>=1.4.7:${PORTSDIR}/databases/tokyocabinet
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
@@ -27,10 +26,21 @@ MAN1= tcrmgr.1 tcrmttest.1 tcrtest.1 ttserver.1 ttulmgr.1 ttultest.1
MAN3= tcrdb.3 tculog.3 ttutil.3
MAN8= ttservctl.8
+OPTIONS= LUA "Enable LUA support" off
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_LUA)
+CONFIGURE_ARGS+= --enable-lua
+CONFIGURE_ENV+= LDFLAGS="-L${LUA_LIBDIR}"
+CFLAGS+= -I${LUA_INCDIR}
+USE_LUA= yes
+.endif
+
# Since gnomehack only works for "(libdir)" case, we need to patch it
# manually.
post-patch:
${REINPLACE_CMD} -e 's|@libdir@/pkgconfig|@prefix@/libdata/pkgconfig|g' \
${WRKSRC}/Makefile.in
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/databases/tokyotyrant/distinfo b/databases/tokyotyrant/distinfo
index 2fce54573e52..e4af887ab66a 100644
--- a/databases/tokyotyrant/distinfo
+++ b/databases/tokyotyrant/distinfo
@@ -1,3 +1,3 @@
-MD5 (tokyotyrant-1.1.26.tar.gz) = 99fc118a6bf6577d067a3a77badc085d
-SHA256 (tokyotyrant-1.1.26.tar.gz) = 8f4e0e9525ee29803970d66b5d4579eeaecb1c3fa6e9e70adaacd4b325f1a7e8
-SIZE (tokyotyrant-1.1.26.tar.gz) = 179384
+MD5 (tokyotyrant-1.1.27.tar.gz) = 35a6be737ee17f02fd9712f548a274ca
+SHA256 (tokyotyrant-1.1.27.tar.gz) = 089eb3f430e63570e6644498241123ad9eaad6c904b0401e788cccc64ec729e9
+SIZE (tokyotyrant-1.1.27.tar.gz) = 181340
diff --git a/databases/tokyotyrant/pkg-plist b/databases/tokyotyrant/pkg-plist
index 7d5c661f3f87..c21204f1aa6a 100644
--- a/databases/tokyotyrant/pkg-plist
+++ b/databases/tokyotyrant/pkg-plist
@@ -18,9 +18,10 @@ include/ttutil.h
lib/libtokyotyrant.a
lib/libtokyotyrant.so
lib/libtokyotyrant.so.3
-lib/libtokyotyrant.so.3.9.0
+lib/libtokyotyrant.so.3.10.0
lib/ttskeldir.so
lib/ttskelmock.so
+lib/ttskelnull.so
lib/ttskelproxy.so
libdata/pkgconfig/tokyotyrant.pc
sbin/ttservctl