aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--x11/roxterm/Makefile16
-rw-r--r--x11/roxterm/distinfo4
-rw-r--r--x11/roxterm/pkg-plist5
3 files changed, 18 insertions, 7 deletions
diff --git a/x11/roxterm/Makefile b/x11/roxterm/Makefile
index 5bc1463e9dd4..94b8ca1a3d4d 100644
--- a/x11/roxterm/Makefile
+++ b/x11/roxterm/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= roxterm
-PORTVERSION= 2.6.5
+PORTVERSION= 2.7.1
CATEGORIES= x11
MASTER_SITES= SF
@@ -19,9 +19,9 @@ LIB_DEPENDS= dbus-glib-1:${PORTSDIR}/devel/dbus-glib
OPTIONS_DEFINE= DOCS
USE_BZIP2= yes
+USES= gettext pkgconfig
USE_GNOME= libglade2 vte
USE_PYTHON_BUILD= yes
-USES= pkgconfig gettext
USE_AUTOTOOLS= libtool:env
INSTALLS_ICONS= yes
MAKE_JOBS_SAFE= yes
@@ -29,15 +29,15 @@ MAKE_JOBS_SAFE= yes
MAN1= roxterm.1 \
roxterm-config.1
-MAITCHFLAGS= CC=${CC};CPP=${CC};CFLAGS=${CFLAGS};PARALLEL=${_make_jobs}
+MAITCHFLAGS= CC=${CC};CPP=${CC};CFLAGS=${CFLAGS};PARALLEL=${MAKE_JOBS_NUMBER}
.include <bsd.port.options.mk>
-_make_jobs= ${MAKE_JOBS_NUMBER}
-
post-patch:
@${REINPLACE_CMD} -e \
's|/usr/local|${LOCALBASE}|' ${WRKSRC}/maitch.py
+ @${REINPLACE_CMD} -e \
+ 's|= "-T"|= ""|' ${WRKSRC}/mscript.py
do-configure:
@(cd ${WRKSRC} && ${SETENV} MAITCHFLAGS="${MAITCHFLAGS}" \
@@ -63,6 +63,12 @@ do-install:
(cd ${WRKSRC}/build/usr/local/share/icons/hicolor/scalable/apps \
&& ${INSTALL_DATA} * \
${PREFIX}/share/icons/hicolor/scalable/apps)
+.for i in es fr pt_BR ru uk
+ @${MKDIR} ${PREFIX}/share/locale/${i}/LC_MESSAGES
+ (cd ${WRKSRC}/build/usr/local/share/locale/${i}/LC_MESSAGES/roxterm.mo \
+ && ${INSTALL_DATA} ${i}.mo \
+ ${PREFIX}/share/locale/${i}/LC_MESSAGES/roxterm.mo)
+.endfor
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
@(cd ${WRKSRC}/build/usr/local/share/doc/roxterm \
diff --git a/x11/roxterm/distinfo b/x11/roxterm/distinfo
index 24fc1d8df9a8..937fa41a12b0 100644
--- a/x11/roxterm/distinfo
+++ b/x11/roxterm/distinfo
@@ -1,2 +1,2 @@
-SHA256 (roxterm-2.6.5.tar.bz2) = e8b2dd5ce320b763b66590ebef77c422ab90181bb1a84d30fea8c47da0d46cab
-SIZE (roxterm-2.6.5.tar.bz2) = 300892
+SHA256 (roxterm-2.7.1.tar.bz2) = 24d6d5523d47f32bdf787b70d7d78463df079d644047214982b825403fac99b3
+SIZE (roxterm-2.7.1.tar.bz2) = 349478
diff --git a/x11/roxterm/pkg-plist b/x11/roxterm/pkg-plist
index 6138a17f1ea4..4218a58ba626 100644
--- a/x11/roxterm/pkg-plist
+++ b/x11/roxterm/pkg-plist
@@ -21,6 +21,11 @@ share/icons/hicolor/scalable/apps/roxterm.svg
%%DATADIR%%/Config/Colours/Tango
%%DATADIR%%/Config/Shortcuts/Default
%%DATADIR%%/roxterm-config.ui
+share/locale/es/LC_MESSAGES/roxterm.mo
+share/locale/fr/LC_MESSAGES/roxterm.mo
+share/locale/pt_BR/LC_MESSAGES/roxterm.mo
+share/locale/ru/LC_MESSAGES/roxterm.mo
+share/locale/uk/LC_MESSAGES/roxterm.mo
@dirrm %%DATADIR%%/Config/Shortcuts
@dirrm %%DATADIR%%/Config/Colours
@dirrm %%DATADIR%%/Config