summaryrefslogtreecommitdiff
path: root/x11-toolkits/termit
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2012-06-12 14:59:18 +0000
committerPawel Pekala <pawel@FreeBSD.org>2012-06-12 14:59:18 +0000
commit096fcebf6d5a808c5c192df33ec5d4e7936048c7 (patch)
tree6c30aaafeb01bd2e0e9c088fe47c72f11bacc254 /x11-toolkits/termit
parent- Add a new port: www/rubygem-cookiejar (diff)
Update to version 2.9.4
Notes
Notes: svn path=/head/; revision=299112
Diffstat (limited to 'x11-toolkits/termit')
-rw-r--r--x11-toolkits/termit/Makefile9
-rw-r--r--x11-toolkits/termit/distinfo4
-rw-r--r--x11-toolkits/termit/pkg-plist1
3 files changed, 9 insertions, 5 deletions
diff --git a/x11-toolkits/termit/Makefile b/x11-toolkits/termit/Makefile
index 5ab76d12e463..ffe195ac28e1 100644
--- a/x11-toolkits/termit/Makefile
+++ b/x11-toolkits/termit/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= termit
-PORTVERSION= 2.9.3
-PORTREVISION= 1
+PORTVERSION= 2.9.4
CATEGORIES= x11-toolkits gnome
MASTER_SITES= http://cloud.github.com/downloads/nonstop/termit/
@@ -19,10 +18,11 @@ LICENSE= GPLv2
USE_BZIP2= yes
USE_GNOME= vte
USE_LUA= yes
-USE_GETTEXT= yes
USE_CMAKE= yes
MAKE_JOBS_SAFE= yes
+CFLAGS+= -I${LUA_INCDIR}
+
MAN1= ${PORTNAME}.1
TERMIT_ETC= ${PREFIX}/etc/xdg/${PORTNAME}
@@ -37,6 +37,7 @@ CMAKE_ARGS+= -DDEBUG:BOOL=YES
.if ${PORT_OPTIONS:MNLS}
PLIST_SUB+= NLS=""
+USE_GETTEXT= yes
.else
CMAKE_ARGS+= -DENABLE_NLS:BOOL=NO
PLIST_SUB+= NLS="@comment "
@@ -51,6 +52,8 @@ post-patch:
@${REINPLACE_CMD} 's|share/man|man|' ${WRKSRC}/doc/CMakeLists.txt
@${REINPLACE_CMD} 's|ADD_SUBDIRECTORY(etc)||' ${WRKSRC}/CMakeLists.txt
@${REINPLACE_CMD} 's|/etc|${PREFIX}/etc|' ${WRKSRC}/src/lua_conf.c
+ @${REINPLACE_CMD} -e 's|/usr/lib/liblua.a|${LUA_LIBDIR}/liblua.a|' \
+ -e 's|-ldl||' ${WRKSRC}/src/CMakeLists.txt
post-install:
${MKDIR} ${TERMIT_ETC}
diff --git a/x11-toolkits/termit/distinfo b/x11-toolkits/termit/distinfo
index 841632526f40..631df111d321 100644
--- a/x11-toolkits/termit/distinfo
+++ b/x11-toolkits/termit/distinfo
@@ -1,2 +1,2 @@
-SHA256 (termit-2.9.3.tar.bz2) = 81a7577441a4d6dacb8c6cd2b074eb99629475372cb0e369cbbceee9a6033139
-SIZE (termit-2.9.3.tar.bz2) = 46008
+SHA256 (termit-2.9.4.tar.bz2) = c6e81ed7d50c96141202ac8406af52e13fad65e89d1cd9a24717a160f54c62e5
+SIZE (termit-2.9.4.tar.bz2) = 47400
diff --git a/x11-toolkits/termit/pkg-plist b/x11-toolkits/termit/pkg-plist
index 16212d0da6d0..a99a609888b9 100644
--- a/x11-toolkits/termit/pkg-plist
+++ b/x11-toolkits/termit/pkg-plist
@@ -18,6 +18,7 @@ share/applications/termit.desktop
%%NLS%%share/locale/hu/LC_MESSAGES/termit.mo
%%NLS%%share/locale/ja/LC_MESSAGES/termit.mo
%%NLS%%share/locale/ko/LC_MESSAGES/termit.mo
+%%NLS%%share/locale/pl/LC_MESSAGES/termit.mo
%%NLS%%share/locale/ru/LC_MESSAGES/termit.mo
%%NLS%%share/locale/zh_TW/LC_MESSAGES/termit.mo
%%PORTDOCS%%@dirrm %%DOCSDIR%%