aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/blogtk/Makefile
blob: e19727123d756d525e76da402648ffe81b9d5887 (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
# Ports collection makefile for:    blogtk
# Date created:         Jul 30, 2004
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   blogtk
PORTVERSION=    2.0
CATEGORIES= deskutils python
MASTER_SITES=   http://launchpad.net/${PORTNAME}/${PORTVERSION}/${PORTVERSION}/+download/

MAINTAINER= vvelox@vvelox.net
COMMENT=    A client for Blogger, Movable Type, and other blogging systems

RUN_DEPENDS=    ${PYTHON_SITELIBDIR}/feedparser.py:${PORTSDIR}/textproc/py-feedparser \
        ${PYTHON_SITELIBDIR}/atom/__init__.py:${PORTSDIR}/devel/py-gdata \
        ${PYTHON_SITELIBDIR}/webkit/__init__.py:${PORTSDIR}/www/py-webkitgtk

USE_GNOME=  pygnomeextras pygtksourceview
USE_PYTHON= 2.3-2.7 # No Python 3 support

# Is there a better way to handle this? Launchpad depends on 302 directs it seems
FETCH_ARGS= -pRr
NO_BUILD=   yes
MAKE_ENV+=  PYTHON="${PYTHON_CMD}"

DATADIR=    ${PREFIX}/share/${PORTNAME}2

post-install:
    @${RM} -f ${DATADIR}/lib/blogtk2/*.py~

.include <bsd.port.mk>