blob: 319b3681e6fd3f3991dc933bc1d2c824b4649492 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
# Created by: Thomas Hurst <tom@hur.st>
# $FreeBSD$
PORTNAME= terminator
PORTVERSION= 1.91
PORTREVISION= 1
CATEGORIES= x11 python
MASTER_SITES= http://launchpad.net/terminator/gtk3/${PORTVERSION}/+download/
MAINTAINER= tom@hur.st
COMMENT= Multiple GNOME terminals in one window
LICENSE= GPLv2
DEPRECATED= Old, uses EOLed python27
EXPIRATION_DATE= 2020-02-28
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}notify>=0:devel/py-notify@${PY_FLAVOR} \
${PYTHON_SITELIBDIR}/keybinder/_keybinder.so:x11/keybinder \
${PYTHON_PKGNAMEPREFIX}vte>=0:x11-toolkits/py-vte@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}psutil>0:sysutils/py-psutil@${PY_FLAVOR}
USES= gnome python:2.7 shebangfix
USE_GNOME= pygobject3 intltool vte3
USE_PYTHON= distutils
PYDISTUTILS_PKGNAME= Terminator
INSTALLS_ICONS= yes
SHEBANG_FILES= terminator.wrapper
OPTIONS_DEFINE= NLS
OPTIONS_SUB= yes
NLS_USES= gettext
.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>
|