1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00
freebsd-ports/x11/terminator/Makefile
William Grzybowski 1e34739b64 Use setuptools for all Python ports.
Setuptools is the preferred method to manage Python distributions after
many changes to the packaging ecosystem over the past couple of years.

Only ports using USE_PYDISTUTILS= yes are affected by this commit, ports using
USE_PYDISTUTILS= easy_install remains the same however this usage is now
deprecated and should be converted to USE_PYDISTUTILS= yes.

Some Python distributions do not work with setuptools out of the box because
they extend the install command from distutils and not setuptools, and
so they need to be patched accordingly.

pip (which leverages setuptools) works around the issue by using eggs, however
we want to get rid of those as well, as support for "flat" installation is
unavailable or has other issues associated with it.

This work allows us to unify how python packages are built, ensure that Python
distributions are installed consistently, reduces complexity for Python port
maintainers and paves the way for simplifying the Python ports framework in
the future.

With hat on:	python
Reviewed by:	koobs, antoine
Exp-run:	bdrewery
Approved by:	bdrewery (portmgr)
2013-12-15 16:22:17 +00:00

56 lines
1.1 KiB
Makefile

# Created by: Thomas Hurst <tom@hur.st>
# $FreeBSD$
PORTNAME= terminator
PORTVERSION= 0.96
PORTREVISION= 4
CATEGORIES= x11 python
MASTER_SITES= http://launchpadlibrarian.net/80778747/ \
http://hur.st/mirror/terminator/
MAINTAINER= tom@hur.st
COMMENT= Multiple GNOME terminals in one window
LICENSE= GPLv2
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}notify>=0:${PORTSDIR}/devel/py-notify \
${PYTHON_SITELIBDIR}/keybinder/_keybinder.so:${PORTSDIR}/x11/keybinder \
${PYTHON_PKGNAMEPREFIX}vte>=0:${PORTSDIR}/x11-toolkits/py-vte
OPTIONS_DEFINE= NLS GCONF
GCONF_DESC= Use GNOME Terminal settings
OPTIONS_DEFAULT= NLS GCONF
USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_PKGNAME= Terminator
INSTALLS_ICONS= yes
WANT_GNOME= yes
NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
USES+= gettext
PLIST_SUB+= NLS=""
.else
PLIST_SUB+= NLS="@comment "
PYSETUP+= --without-gettext
.endif
.include <bsd.port.pre.mk>
PYDISTUTILS_SETUP+= --without-icon-cache
.if ${PORT_OPTIONS:MGCONF}
USE_GNOME+= pygnome2
.endif
USE_GNOME+= pygtk2
MAN1= terminator.1
MAN5= terminator_config.5
.include <bsd.port.post.mk>