blob: c74518de7cb8e3da9bf8f294dca0f10978d0ebdc (
plain)
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
# New ports collection makefile for: gtg
# Date created: 16 March 2009
# Whom: Ruslan Mahmatkhanov <cvs-src@yandex.ru>
#
# $FreeBSD$
#
PORTNAME= gtg
PORTVERSION= 0.2.9
PORTREVISION= 1
CATEGORIES= deskutils gnome python
MASTER_SITES= http://launchpad.net/gtg/0.3/${PORTVERSION}/+download/
MAINTAINER= rm@FreeBSD.org
COMMENT= GTD organizer for the GNOME desktop environment
LICENSE= GPLv3
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}configobj>=0:${PORTSDIR}/devel/py-configobj \
${PYTHON_PKGNAMEPREFIX}dbus>=0.82.4:${PORTSDIR}/devel/py-dbus \
${PYTHON_PKGNAMEPREFIX}xdg>=0:${PORTSDIR}/devel/py-xdg \
${PYTHON_PKGNAMEPREFIX}liblarch_gtk>=0:${PORTSDIR}/devel/py-liblarch_gtk \
xset:${PORTSDIR}/x11/xset
FETCH_ARGS= -pRr
USE_GNOME= desktopfileutils pygobject pygtk2
USE_GETTEXT= yes
INSTALLS_ICONS= yes
USE_PYTHON= 2.6-2.7
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}|' ${WRKSRC}/gtg.desktop
@${REINPLACE_CMD} -e 's|/usr/bin|${PREFIX}/bin|' \
${WRKSRC}/gtg.desktop ${WRKSRC}/org.gnome.GTG.service
post-install:
@-update-desktop-database
.include <bsd.port.post.mk>
|