2009-03-16 22:11:39 +01:00
|
|
|
# New ports collection makefile for: gtg
|
|
|
|
# Date created: 16 March 2009
|
|
|
|
# Whom: Ruslan Mahmatkhanov <cvs-src@yandex.ru>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= gtg
|
2010-04-19 11:21:32 +02:00
|
|
|
PORTVERSION= 0.2.4
|
2011-01-07 01:11:33 +01:00
|
|
|
PORTREVISION= 3
|
2009-03-16 22:11:39 +01:00
|
|
|
CATEGORIES= deskutils gnome python
|
2010-02-11 21:09:40 +01:00
|
|
|
MASTER_SITES= http://launchpad.net/gtg/0.2/${PORTVERSION}/+download/
|
2009-03-16 22:11:39 +01:00
|
|
|
|
|
|
|
MAINTAINER= cvs-src@yandex.ru
|
|
|
|
COMMENT= GTD organizer for the GNOME desktop environment
|
|
|
|
|
|
|
|
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/configobj.py:${PORTSDIR}/devel/py-configobj \
|
2011-01-05 08:12:26 +01:00
|
|
|
${PYTHON_PKGNAMEPREFIX}dbus>=0.82.4:${PORTSDIR}/devel/py-dbus \
|
2009-03-16 22:11:39 +01:00
|
|
|
${PYTHON_SITELIBDIR}/gtk-2.0/gobject/__init__.py:${PORTSDIR}/devel/py-gobject \
|
|
|
|
${PYTHON_SITELIBDIR}/xdg/__init__.py:${PORTSDIR}/devel/py-xdg
|
|
|
|
|
2011-01-05 08:12:26 +01:00
|
|
|
LICENSE= GPLv3
|
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
|
2009-04-09 14:53:16 +02:00
|
|
|
FETCH_ARGS= -pRr
|
2009-09-14 09:53:01 +02:00
|
|
|
USE_GNOME= pygtk2 desktopfileutils
|
2010-02-13 15:38:43 +01:00
|
|
|
USE_GETTEXT= yes
|
|
|
|
INSTALLS_ICONS= yes
|
2009-09-14 09:53:01 +02:00
|
|
|
USE_PYTHON= 2.6+
|
2009-03-16 22:11:39 +01:00
|
|
|
USE_PYDISTUTILS= yes
|
|
|
|
|
2009-12-11 03:22:31 +01:00
|
|
|
MAN1= gtg.1 gtg_new_task.1
|
2009-04-09 04:59:31 +02:00
|
|
|
|
2010-02-13 15:38:43 +01:00
|
|
|
OPTIONS= CHEETAH "Needed for export plugin to work" off
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if defined(WITH_CHEETAH)
|
|
|
|
RUN_DEPENDS+=${LOCALBASE}/bin/cheetah:${PORTSDIR}/devel/py-cheetah
|
|
|
|
.endif
|
|
|
|
|
2009-04-09 04:59:31 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|share/man|man|' ${WRKSRC}/setup.py
|
2009-06-17 21:20:33 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|' \
|
|
|
|
${WRKSRC}/gtg.desktop ${WRKSRC}/GTG/__init__.py
|
2010-03-06 20:35:10 +01:00
|
|
|
${REINPLACE_CMD} -e 's|/usr/bin|${PREFIX}/bin|' \
|
|
|
|
${WRKSRC}/gtg.desktop ${WRKSRC}/org.GTG.service
|
2009-04-09 04:59:31 +02:00
|
|
|
|
2009-03-16 22:11:39 +01:00
|
|
|
post-install:
|
|
|
|
@-update-desktop-database
|
|
|
|
|
2010-02-13 15:38:43 +01:00
|
|
|
.include <bsd.port.post.mk>
|