aboutsummaryrefslogtreecommitdiff
path: root/x11/terminator
diff options
context:
space:
mode:
authorKurt Jaeger <pi@FreeBSD.org>2015-03-29 17:41:11 +0000
committerKurt Jaeger <pi@FreeBSD.org>2015-03-29 17:41:11 +0000
commit75039a75a7fa40d5cb21dd286fe31136dc58d313 (patch)
treebc1501ae3e4f8d9742dfe10bfdf9adb6e8001a3b /x11/terminator
parent6bae0496e5db95c2f7481999e5ed9c74b78f1184 (diff)
downloadports-75039a75a7fa40d5cb21dd286fe31136dc58d313.tar.gz
ports-75039a75a7fa40d5cb21dd286fe31136dc58d313.zip
x11/terminator: fix build, WWW
PR: 198382 Submitted by: Tyler Duzan <tristor@gmail.com>, Thomas Hurst <tom@hur.st> (maintainer)
Notes
Notes: svn path=/head/; revision=382618
Diffstat (limited to 'x11/terminator')
-rw-r--r--x11/terminator/Makefile37
-rw-r--r--x11/terminator/pkg-descr2
2 files changed, 17 insertions, 22 deletions
diff --git a/x11/terminator/Makefile b/x11/terminator/Makefile
index 8ce3c813125a..a742d89c4b66 100644
--- a/x11/terminator/Makefile
+++ b/x11/terminator/Makefile
@@ -3,6 +3,7 @@
PORTNAME= terminator
PORTVERSION= 0.97
+PORTREVISION= 1
CATEGORIES= x11 python
MASTER_SITES= http://launchpad.net/terminator/trunk/0.97/+download/
@@ -15,38 +16,32 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}notify>=0:${PORTSDIR}/devel/py-notify \
${PYTHON_SITELIBDIR}/keybinder/_keybinder.so:${PORTSDIR}/x11/keybinder \
${PYTHON_PKGNAMEPREFIX}vte>=0:${PORTSDIR}/x11-toolkits/py-vte
-OPTIONS_DEFINE= NLS GCONF
-GCONF_DESC= Use GNOME Terminal settings
-OPTIONS_DEFAULT= NLS GCONF
-
USES= python
+USE= GNOME=pygtk2
USE_PYTHON= distutils
PYDISTUTILS_PKGNAME= Terminator
INSTALLS_ICONS= yes
-WANT_GNOME= yes
+OPTIONS_DEFINE= NLS GCONF
+OPTIONS_DEFAULT= NLS GCONF
+OPTIONS_SUB= yes
+GCONF_DESC= Use GNOME Terminal settings
+GCONF_USE= GNOME=pygnome2
+NLS_USES= gettext
-.include <bsd.port.options.mk>
+.include <bsd.port.pre.mk>
-.if ${PORT_OPTIONS:MNLS}
-USES+= gettext
-PLIST_SUB+= NLS=""
-.else
-PLIST_SUB+= NLS="@comment "
-PYSETUP+= --without-gettext
+.if !${PORT_OPTIONS:MNLS}
+PYDISTUTILS_SETUP+= --without-gettext
+post-patch:
+ ${CP} ${WRKSRC}/data/terminator.desktop.in ${WRKSRC}/data/terminator.desktop
+ ${REINPLACE_CMD} -e 's/^_//' ${WRKSRC}/data/terminator.desktop
.endif
-.include <bsd.port.pre.mk>
-
PYDISTUTILS_SETUP+= --without-icon-cache
-.if ${PORT_OPTIONS:MGCONF}
-USE_GNOME+= pygnome2
-.endif
-USE_GNOME+= pygtk2
-
-MAN1= terminator.1
-MAN5= terminator_config.5
+pre-patch:
+ ${REINPLACE_CMD} -e 's/libc\.so/libc.so.7/' ${WRKSRC}/terminatorlib/freebsd.py
.include <bsd.port.post.mk>
diff --git a/x11/terminator/pkg-descr b/x11/terminator/pkg-descr
index b5abc463cba1..dd03074277de 100644
--- a/x11/terminator/pkg-descr
+++ b/x11/terminator/pkg-descr
@@ -2,4 +2,4 @@ Terminator is a Python terminal program, using the same widget as
gnome-terminal to provide a tiled set of terminals in as little
space as possible.
-WWW: http://www.tenshu.net/p/terminator.html
+WWW: http://gnometerminator.blogspot.co.uk/p/introduction.html