aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/gtg/Makefile
blob: 69c0e24a4b7fbd8a4b4f8084faf8ae7695ba5654 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# New ports collection makefile for:    gtg
# Date created:             16 March 2009
# Whom:                 Ruslan Mahmatkhanov <cvs-src@yandex.ru>
#
# $FreeBSD$
#

PORTNAME=   gtg
PORTVERSION=    0.1.1
PORTREVISION=   2
CATEGORIES= deskutils gnome python
MASTER_SITES=   http://launchpad.net/gtg/trunk/${PORTVERSION}/+download/ \
        http://freebsd.unixfreunde.de/sources/

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
USE_PYTHON= 2.5+
USE_PYDISTUTILS=    yes

MAN1=       gtg.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

post-install:
    @-update-desktop-database

.include <bsd.port.mk>