2009-03-16 22:11:39 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= gtg
|
2012-11-09 10:05:20 +01:00
|
|
|
PORTVERSION= 0.3
|
2009-03-16 22:11:39 +01:00
|
|
|
CATEGORIES= deskutils gnome python
|
2012-11-09 10:05:20 +01:00
|
|
|
MASTER_SITES= https://launchpadlibrarian.net/122201197/
|
2009-03-16 22:11:39 +01:00
|
|
|
|
2011-11-10 23:20:18 +01:00
|
|
|
MAINTAINER= rm@FreeBSD.org
|
2009-03-16 22:11:39 +01:00
|
|
|
COMMENT= GTD organizer for the GNOME desktop environment
|
|
|
|
|
2011-01-05 08:12:26 +01:00
|
|
|
LICENSE= GPLv3
|
|
|
|
|
2011-12-03 06:40:38 +01:00
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}configobj>=0:${PORTSDIR}/devel/py-configobj \
|
2011-11-15 02:34:18 +01:00
|
|
|
${PYTHON_PKGNAMEPREFIX}dbus>=0.82.4:${PORTSDIR}/devel/py-dbus \
|
2011-12-03 06:40:38 +01:00
|
|
|
${PYTHON_PKGNAMEPREFIX}xdg>=0:${PORTSDIR}/devel/py-xdg \
|
2012-11-09 10:05:20 +01:00
|
|
|
${PYTHON_PKGNAMEPREFIX}liblarch>=2.1:${PORTSDIR}/devel/py-liblarch \
|
2011-11-15 02:34:18 +01:00
|
|
|
xset:${PORTSDIR}/x11/xset
|
|
|
|
|
2009-04-09 14:53:16 +02:00
|
|
|
FETCH_ARGS= -pRr
|
2013-07-18 12:42:14 +02:00
|
|
|
USE_GNOME= pygobject pygtk2
|
|
|
|
USES= gettext desktop-file-utils
|
2010-02-13 15:38:43 +01:00
|
|
|
INSTALLS_ICONS= yes
|
2012-06-03 23:27:06 +02:00
|
|
|
USE_PYTHON= -2.7
|
2009-03-16 22:11:39 +01:00
|
|
|
USE_PYDISTUTILS= yes
|
|
|
|
|
2012-11-09 10:05:20 +01:00
|
|
|
MAN1= gtcli.1 gtg.1 gtg_new_task.1
|
2009-04-09 04:59:31 +02:00
|
|
|
|
2012-06-03 23:27:06 +02:00
|
|
|
OPTIONS_DEFINE= CHEETAH
|
|
|
|
CHEETAH_DESC= Needed for export plugin to work
|
|
|
|
OPTIONS_EXCLUDE=NLS DOCS
|
2010-02-13 15:38:43 +01:00
|
|
|
|
2013-09-20 18:21:37 +02:00
|
|
|
NO_STAGE= yes
|
2012-06-03 23:27:06 +02:00
|
|
|
.include <bsd.port.options.mk>
|
2010-02-13 15:38:43 +01:00
|
|
|
|
2012-06-03 23:27:06 +02:00
|
|
|
.if ${PORT_OPTIONS:MCHEETAH}
|
2011-03-17 18:25:38 +01:00
|
|
|
RUN_DEPENDS+= ${LOCALBASE}/bin/cheetah:${PORTSDIR}/devel/py-cheetah
|
2010-02-13 15:38:43 +01:00
|
|
|
.endif
|
|
|
|
|
2009-04-09 04:59:31 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|share/man|man|' ${WRKSRC}/setup.py
|
2011-11-15 02:34:18 +01:00
|
|
|
@${REINPLACE_CMD} -e 's|/usr/bin|${PREFIX}/bin|' \
|
2012-11-09 10:05:20 +01:00
|
|
|
${WRKSRC}/org.gnome.GTG.service
|
2009-04-09 04:59:31 +02:00
|
|
|
|
2012-06-03 23:27:06 +02:00
|
|
|
.include <bsd.port.mk>
|