- Always enable NLS support
- Install po files
This commit is contained in:
parent
1552addba3
commit
11400ee0e9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=554092
@ -3,9 +3,11 @@
|
|||||||
|
|
||||||
PORTNAME= terminator
|
PORTNAME= terminator
|
||||||
PORTVERSION= 2.0.1
|
PORTVERSION= 2.0.1
|
||||||
#PORTREVISION= 0
|
PORTREVISION= 1
|
||||||
CATEGORIES= x11 python
|
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
|
MAINTAINER= ume@FreeBSD.org
|
||||||
COMMENT= Multiple GNOME terminals in one window
|
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} \
|
${PYTHON_PKGNAMEPREFIX}psutil>0:sysutils/py-psutil@${PY_FLAVOR} \
|
||||||
gsettings-desktop-schemas>=0:devel/gsettings-desktop-schemas
|
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_GNOME= intltool pygobject3 vte3
|
||||||
USE_PYTHON= autoplist distutils
|
USE_PYTHON= autoplist distutils
|
||||||
|
|
||||||
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
||||||
|
|
||||||
PYDISTUTILS_PKGNAME= Terminator
|
PYDISTUTILS_PKGNAME= Terminator
|
||||||
|
|
||||||
INSTALLS_ICONS= yes
|
INSTALLS_ICONS= yes
|
||||||
|
|
||||||
OPTIONS_DEFINE= NLS
|
|
||||||
OPTIONS_SUB= yes
|
|
||||||
NLS_USES= gettext
|
|
||||||
|
|
||||||
NO_ARCH= yes
|
NO_ARCH= yes
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.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
|
PYDISTUTILS_SETUP+= --without-icon-cache
|
||||||
|
|
||||||
.include <bsd.port.post.mk>
|
.include <bsd.port.post.mk>
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
TIMESTAMP = 1604495353
|
TIMESTAMP = 1604503553
|
||||||
SHA256 (terminator-2.0.1.tar.gz) = e6a21ea18c48b9dcb8fac3b48fd90bc49768de13c2a749047c46a6e0f14abb24
|
SHA256 (terminator/v2.0.1.tar.gz) = 5f7733f89ea01b3a9910c6fcc071d0183f4796eb4181fdc56252dd611129bf5d
|
||||||
SIZE (terminator-2.0.1.tar.gz) = 195189
|
SIZE (terminator/v2.0.1.tar.gz) = 934263
|
||||||
|
Loading…
Reference in New Issue
Block a user