3dc84d9d55
PR: ports/143411 Submitted by: Ruslan Mahmatkhanov <cvs-src@yandex.ru> (maintainer)
36 lines
1 KiB
Makefile
36 lines
1 KiB
Makefile
# New ports collection makefile for: gtg
|
|
# Date created: 16 March 2009
|
|
# Whom: Ruslan Mahmatkhanov <cvs-src@yandex.ru>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= gtg
|
|
PORTVERSION= 0.2.1
|
|
CATEGORIES= deskutils gnome python
|
|
MASTER_SITES= http://launchpad.net/gtg/0.2/${PORTVERSION}/+download/
|
|
|
|
MAINTAINER= cvs-src@yandex.ru
|
|
COMMENT= GTD organizer for the GNOME desktop environment
|
|
|
|
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/configobj.py:${PORTSDIR}/devel/py-configobj \
|
|
${PYTHON_SITELIBDIR}/gtk-2.0/gobject/__init__.py:${PORTSDIR}/devel/py-gobject \
|
|
${PYTHON_SITELIBDIR}/xdg/__init__.py:${PORTSDIR}/devel/py-xdg
|
|
|
|
FETCH_ARGS= -pRr
|
|
USE_GNOME= pygtk2 desktopfileutils
|
|
USE_PYTHON= 2.6+
|
|
USE_PYDISTUTILS= yes
|
|
|
|
MAN1= gtg.1 gtg_new_task.1
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|share/man|man|' ${WRKSRC}/setup.py
|
|
@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|' \
|
|
${WRKSRC}/gtg.desktop ${WRKSRC}/GTG/__init__.py
|
|
${REINPLACE_CMD} -e 's|/usr/bin|${PREFIX}/bin|' ${WRKSRC}/gtg.desktop
|
|
|
|
post-install:
|
|
@-update-desktop-database
|
|
|
|
.include <bsd.port.mk>
|