ports/143845: [MAINTAINER] deskutils/gtg: add dependency on devel/py-cheetah
Ruslan Mahmatkhanov
cvs-src at yandex.ru
Fri Feb 12 20:10:04 UTC 2010
>Number: 143845
>Category: ports
>Synopsis: [MAINTAINER] deskutils/gtg: add dependency on devel/py-cheetah
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Fri Feb 12 20:10:03 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Ruslan Mahmatkhanov
>Release: 8.0-STABLE
>Organization:
>Environment:
FreeBSD 8.0-STABLE i386
>Description:
- fix some portlint warnings
- add dependency (default off) on devel/py-cheetah (it is needed for export plugin)
- bump portversion
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
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 <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-install:
@-update-desktop-database
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list