1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

- add explicit dependency on x11/xset,

it would fix runtime for x11/xorg-minimal users [1]
- move LICENSE into proper block
- strict python versions (python3 isn't yet supported)
- silence REINPLACE_CMD call
- bump PORTREVISION because of dependencies change

Reported by:   vit shatsillo <vit.shatsillo at gmail.com> ([1] via mail)
Approved by:   novel (mentor)
Feature safe:  yes
This commit is contained in:
Ruslan Makhmatkhanov 2011-11-15 01:34:18 +00:00
parent fee457bee0
commit 5c64048369
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=285810

View File

@ -7,25 +7,26 @@
PORTNAME= gtg
PORTVERSION= 0.2.4
PORTREVISION= 4
PORTREVISION= 5
CATEGORIES= deskutils gnome python
MASTER_SITES= http://launchpad.net/gtg/0.2/${PORTVERSION}/+download/
MAINTAINER= rm@FreeBSD.org
COMMENT= GTD organizer for the GNOME desktop environment
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/configobj.py:${PORTSDIR}/devel/py-configobj \
${PYTHON_PKGNAMEPREFIX}dbus>=0.82.4:${PORTSDIR}/devel/py-dbus \
${PYTHON_SITELIBDIR}/xdg/__init__.py:${PORTSDIR}/devel/py-xdg
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/configobj.py:${PORTSDIR}/devel/py-configobj \
${PYTHON_PKGNAMEPREFIX}dbus>=0.82.4:${PORTSDIR}/devel/py-dbus \
${PYTHON_SITELIBDIR}/xdg/__init__.py:${PORTSDIR}/devel/py-xdg \
xset:${PORTSDIR}/x11/xset
FETCH_ARGS= -pRr
USE_GNOME= desktopfileutils pygobject pygtk2
USE_GETTEXT= yes
INSTALLS_ICONS= yes
USE_PYTHON= 2.6+
USE_PYTHON= 2.6-2.7
USE_PYDISTUTILS= yes
MAN1= gtg.1 gtg_new_task.1
@ -42,7 +43,7 @@ post-patch:
@${REINPLACE_CMD} -e 's|share/man|man|' ${WRKSRC}/setup.py
@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|' \
${WRKSRC}/gtg.desktop ${WRKSRC}/GTG/__init__.py
${REINPLACE_CMD} -e 's|/usr/bin|${PREFIX}/bin|' \
@${REINPLACE_CMD} -e 's|/usr/bin|${PREFIX}/bin|' \
${WRKSRC}/gtg.desktop ${WRKSRC}/org.GTG.service
post-install: