aboutsummaryrefslogtreecommitdiff
path: root/x11/terminator/Makefile
blob: 3186593c43f708c583c5aedc8151aae168f2a7c6 (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
54
55
56
# New ports collection makefile for:	terminator
# Date created:		2008-03-14
# Whom:			Thomas Hurst <tom@hur.st>
#
# $FreeBSD$
#

PORTNAME=	terminator
PORTVERSION=	0.13
PORTREVISION=	1
CATEGORIES=	x11 python
MASTER_SITES=	https://launchpad.net/terminator/trunk/${PORTVERSION}/+download/ \
		https://launchpadlibrarian.net/28258738/ \
		http://hur.st/mirror/terminator/
DISTNAME=	${PORTNAME}_${PORTVERSION}

MAINTAINER=	tom@hur.st
COMMENT=	Multiple GNOME terminals in one window

OPTIONS=	NLS	"Native language support" 	on \
		GCONF	"Use GNOME Terminal settings"	on

WRKSRC=		${WRKDIR}/${PORTVERSION}
USE_PYTHON=	2.4+
USE_PYDISTUTILS=	yes
PYDISTUTILS_PKGNAME=	Terminator

INSTALLS_ICONS=	yes

WANT_GNOME=	yes

.include <bsd.port.pre.mk>

PYSETUP+=	--without-icon-cache
.ifdef(WITHOUT_NLS)
PLIST_SUB+=	NLS="@comment "
PYSETUP+=	--without-gettext
.else
USE_GETTEXT=	yes
PLIST_SUB+=	NLS=""
.endif

RUN_DEPENDS+=	${PYTHON_SITELIBDIR}/gtk-2.0/vtemodule.so:${PORTSDIR}/x11-toolkits/py-vte
.if defined(WITH_GCONF)
USE_GNOME+=	pygnome2
.endif
USE_GNOME+=	pygtk2

MAN1=	terminator.1
MAN5=	terminator_config.5

post-patch:
	# setup.py installs 32x32 icons in the wrong place.
	@${REINPLACE_CMD} -e "s|24x24/apps', glob.glob('data/icons/32x32|32x32/apps', glob.glob('data/icons/32x32|" ${WRKSRC}/setup.py

.include <bsd.port.post.mk>