aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils
diff options
context:
space:
mode:
authorlwhsu <lwhsu@FreeBSD.org>2010-02-13 22:38:43 +0800
committerlwhsu <lwhsu@FreeBSD.org>2010-02-13 22:38:43 +0800
commit73987d1c9d5f6cdcf798f7b727afcb9b7acc2bf8 (patch)
tree1ad9086b97fa87e641fd1063726dd0289f863ab1 /deskutils
parentbdcd6b343b77037d0e007003b3df56e504a51183 (diff)
downloadfreebsd-ports-gnome-73987d1c9d5f6cdcf798f7b727afcb9b7acc2bf8.tar.gz
freebsd-ports-gnome-73987d1c9d5f6cdcf798f7b727afcb9b7acc2bf8.tar.zst
freebsd-ports-gnome-73987d1c9d5f6cdcf798f7b727afcb9b7acc2bf8.zip
- Fix some portlint warnings
- Add dependency (default off) on devel/py-cheetah (it is needed for export plugin) - Bump PORTREVISION PR: ports/143845 Submitted by: Ruslan Mahmatkhanov <cvs-src AT yandex.ru> (maintainer)
Diffstat (limited to 'deskutils')
-rw-r--r--deskutils/gtg/Makefile13
1 files changed, 12 insertions, 1 deletions
diff --git a/deskutils/gtg/Makefile b/deskutils/gtg/Makefile
index 429e57ec4247..cde2d6c8be18 100644
--- a/deskutils/gtg/Makefile
+++ b/deskutils/gtg/Makefile
@@ -7,6 +7,7 @@
PORTNAME= gtg
PORTVERSION= 0.2.1
+PORTREVISION= 1
CATEGORIES= deskutils gnome python
MASTER_SITES= http://launchpad.net/gtg/0.2/${PORTVERSION}/+download/
@@ -19,11 +20,21 @@ RUN_DEPENDS= ${PYTHON_SITELIBDIR}/configobj.py:${PORTSDIR}/devel/py-configobj \
FETCH_ARGS= -pRr
USE_GNOME= pygtk2 desktopfileutils
+USE_GETTEXT= yes
+INSTALLS_ICONS= yes
USE_PYTHON= 2.6+
USE_PYDISTUTILS= yes
MAN1= gtg.1 gtg_new_task.1
+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
+
post-patch:
@${REINPLACE_CMD} -e 's|share/man|man|' ${WRKSRC}/setup.py
@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|' \
@@ -33,4 +44,4 @@ post-patch:
post-install:
@-update-desktop-database
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>