aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/gtg
diff options
context:
space:
mode:
authorrm <rm@FreeBSD.org>2012-06-04 05:27:06 +0800
committerrm <rm@FreeBSD.org>2012-06-04 05:27:06 +0800
commit45a96071956f9b1399b6bf4adea018642ac4af1c (patch)
treee2ca948ac1061ffbbd07fc4fabb5dbd595dbe141 /deskutils/gtg
parentd075a9610f3111b05783c2c45d6964fea12c0432 (diff)
downloadfreebsd-ports-gnome-45a96071956f9b1399b6bf4adea018642ac4af1c.tar.gz
freebsd-ports-gnome-45a96071956f9b1399b6bf4adea018642ac4af1c.tar.zst
freebsd-ports-gnome-45a96071956f9b1399b6bf4adea018642ac4af1c.zip
- convert to optionsNG
Diffstat (limited to 'deskutils/gtg')
-rw-r--r--deskutils/gtg/Makefile12
-rw-r--r--deskutils/gtg/pkg-descr2
2 files changed, 8 insertions, 6 deletions
diff --git a/deskutils/gtg/Makefile b/deskutils/gtg/Makefile
index c74518de7cb8..14e798effcbe 100644
--- a/deskutils/gtg/Makefile
+++ b/deskutils/gtg/Makefile
@@ -26,16 +26,18 @@ FETCH_ARGS= -pRr
USE_GNOME= desktopfileutils pygobject pygtk2
USE_GETTEXT= yes
INSTALLS_ICONS= yes
-USE_PYTHON= 2.6-2.7
+USE_PYTHON= -2.7
USE_PYDISTUTILS= yes
MAN1= gtg.1 gtg_new_task.1
-OPTIONS= CHEETAH "Needed for export plugin to work" off
+OPTIONS_DEFINE= CHEETAH
+CHEETAH_DESC= Needed for export plugin to work
+OPTIONS_EXCLUDE=NLS DOCS
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
-.if defined(WITH_CHEETAH)
+.if ${PORT_OPTIONS:MCHEETAH}
RUN_DEPENDS+= ${LOCALBASE}/bin/cheetah:${PORTSDIR}/devel/py-cheetah
.endif
@@ -48,4 +50,4 @@ post-patch:
post-install:
@-update-desktop-database
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/deskutils/gtg/pkg-descr b/deskutils/gtg/pkg-descr
index 08d56d75d120..80a7263a6a4a 100644
--- a/deskutils/gtg/pkg-descr
+++ b/deskutils/gtg/pkg-descr
@@ -2,4 +2,4 @@ GTG is a personal organizer for the GNOME desktop environment,
it focuses on ease of use and flexibility, while keeping things
simple.
-WWW: http://gtg.fritalk.com/
+WWW: http://gtg.fritalk.com/