mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-03 06:04:53 +00:00
54a09b4d0b
PR: 131662 Submitted by: Thomas Hurst <tom@hur.st> (maintainer)
55 lines
1.2 KiB
Makefile
55 lines
1.2 KiB
Makefile
# New ports collection makefile for: terminator
|
|
# Date created: 2008-03-14
|
|
# Whom: Thomas Hurst <tom@hur.st>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= terminator
|
|
PORTVERSION= 0.12
|
|
CATEGORIES= x11 python
|
|
MASTER_SITES= https://launchpad.net/terminator/trunk/${PORTVERSION}/+download/ \
|
|
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}/${PORTNAME}-${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>
|