aboutsummaryrefslogtreecommitdiff
path: root/x11/terminator
diff options
context:
space:
mode:
authorHajimu UMEMOTO <ume@FreeBSD.org>2020-11-04 16:05:59 +0000
committerHajimu UMEMOTO <ume@FreeBSD.org>2020-11-04 16:05:59 +0000
commit11400ee0e99f424445ea72f139a7a1d2e5a80a94 (patch)
tree24a4388a8058f82217231df199dc4afc36af5a44 /x11/terminator
parent1552addba36fd0ab294352651c0b588dfc9e20be (diff)
downloadports-11400ee0e99f424445ea72f139a7a1d2e5a80a94.tar.gz
ports-11400ee0e99f424445ea72f139a7a1d2e5a80a94.zip
- Always enable NLS support
- Install po files
Notes
Notes: svn path=/head/; revision=554092
Diffstat (limited to 'x11/terminator')
-rw-r--r--x11/terminator/Makefile26
-rw-r--r--x11/terminator/distinfo6
2 files changed, 10 insertions, 22 deletions
diff --git a/x11/terminator/Makefile b/x11/terminator/Makefile
index c84b910af4a0..85a627204ee0 100644
--- a/x11/terminator/Makefile
+++ b/x11/terminator/Makefile
@@ -3,9 +3,11 @@
PORTNAME= terminator
PORTVERSION= 2.0.1
-#PORTREVISION= 0
+PORTREVISION= 1
CATEGORIES= x11 python
-MASTER_SITES= https://github.com/gnome-terminator/terminator/releases/download/v${PORTVERSION}/
+MASTER_SITES= https://github.com/gnome-terminator/terminator/archive/
+DISTNAME= v${PORTVERSION}
+DIST_SUBDIR= ${PORTNAME}
MAINTAINER= ume@FreeBSD.org
COMMENT= Multiple GNOME terminals in one window
@@ -19,34 +21,20 @@ RUN_DEPENDS= ${LOCALBASE}/lib/libkeybinder-3.0.so:x11/keybinder-gtk3 \
${PYTHON_PKGNAMEPREFIX}psutil>0:sysutils/py-psutil@${PY_FLAVOR} \
gsettings-desktop-schemas>=0:devel/gsettings-desktop-schemas
-USES= gnome python:3.5+ shebangfix
+USES= gnome python:3.5+ shebangfix gettext
USE_GNOME= intltool pygobject3 vte3
USE_PYTHON= autoplist distutils
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+
PYDISTUTILS_PKGNAME= Terminator
INSTALLS_ICONS= yes
-OPTIONS_DEFINE= NLS
-OPTIONS_SUB= yes
-NLS_USES= gettext
-
NO_ARCH= yes
.include <bsd.port.pre.mk>
-.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
- ${CP} ${WRKSRC}/data/terminator.appdata.xml.in ${WRKSRC}/data/terminator.appdata.xml
- ${REINPLACE_CMD} \
- -e 's|<_|<|' \
- -e 's|</_|</|' \
- ${WRKSRC}/data/terminator.appdata.xml
-.endif
-
PYDISTUTILS_SETUP+= --without-icon-cache
.include <bsd.port.post.mk>
diff --git a/x11/terminator/distinfo b/x11/terminator/distinfo
index c5d9141d2fba..1a0780e5c907 100644
--- a/x11/terminator/distinfo
+++ b/x11/terminator/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1604495353
-SHA256 (terminator-2.0.1.tar.gz) = e6a21ea18c48b9dcb8fac3b48fd90bc49768de13c2a749047c46a6e0f14abb24
-SIZE (terminator-2.0.1.tar.gz) = 195189
+TIMESTAMP = 1604503553
+SHA256 (terminator/v2.0.1.tar.gz) = 5f7733f89ea01b3a9910c6fcc071d0183f4796eb4181fdc56252dd611129bf5d
+SIZE (terminator/v2.0.1.tar.gz) = 934263