diff -ruNa gtg.orig/Makefile gtg/Makefile --- gtg.orig/Makefile 2010-02-11 23:09:40.000000000 +0300 +++ gtg/Makefile 2010-02-12 22:58:05.000000000 +0300 @@ -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 @@ 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 + +.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-install: @-update-desktop-database -.include +.include