aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authorpi <pi@FreeBSD.org>2015-03-30 01:41:11 +0800
committerpi <pi@FreeBSD.org>2015-03-30 01:41:11 +0800
commita0f8c444a88e4cbc774feb7bbe45b8ed08b462b7 (patch)
treebc1501ae3e4f8d9742dfe10bfdf9adb6e8001a3b /x11
parent8ef741daa66918ecac76f9aade14a9039def9b1f (diff)
downloadfreebsd-ports-gnome-a0f8c444a88e4cbc774feb7bbe45b8ed08b462b7.tar.gz
freebsd-ports-gnome-a0f8c444a88e4cbc774feb7bbe45b8ed08b462b7.tar.zst
freebsd-ports-gnome-a0f8c444a88e4cbc774feb7bbe45b8ed08b462b7.zip
x11/terminator: fix build, WWW
PR: 198382 Submitted by: Tyler Duzan <tristor@gmail.com>, Thomas Hurst <tom@hur.st> (maintainer)
Diffstat (limited to 'x11')
-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