1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00
freebsd-ports/x11/terminator/Makefile
Mathieu Arnold 4376dbbb58 Use PY_FLAVOR for dependencies.
FLAVOR is the current port's flavor, it should not be used outside of
this scope.

Sponsored by:	Absolight
2018-06-20 17:05:41 +00:00

48 lines
1.2 KiB
Makefile

# Created by: Thomas Hurst <tom@hur.st>
# $FreeBSD$
PORTNAME= terminator
PORTVERSION= 0.97
PORTREVISION= 2
CATEGORIES= x11 python
MASTER_SITES= http://launchpad.net/terminator/trunk/0.97/+download/
MAINTAINER= tom@hur.st
COMMENT= Multiple GNOME terminals in one window
LICENSE= GPLv2
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}
USES= python:2.7
USE_GNOME= pygtk2 intltool
USE_PYTHON= distutils
PYDISTUTILS_PKGNAME= Terminator
INSTALLS_ICONS= yes
OPTIONS_DEFINE= NLS GCONF
OPTIONS_DEFAULT= GCONF
OPTIONS_SUB= yes
GCONF_DESC= Use GNOME Terminal settings
GCONF_USE= GNOME=pygnome2
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
.endif
PYDISTUTILS_SETUP+= --without-icon-cache
pre-patch:
${REINPLACE_CMD} -e 's/libc\.so/libc.so.7/' ${WRKSRC}/terminatorlib/freebsd.py
.include <bsd.port.post.mk>