summaryrefslogtreecommitdiff
path: root/deskutils/rednotebook/Makefile
blob: 09f011323835efac88721531d20ddff809cb1000 (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
# Ports collection makefile for:	rednotebook
# Date created:				Mon Auguest 1, 2011
# Whom:					Hon-Yu Lawrence Cheung (cheunghonyu@gmail.com)
#
# $FreeBSD$
#

PORTNAME=		rednotebook
PORTVERSION=	1.5.0
CATEGORIES=		deskutils python
MASTER_SITES=		SF
MASTER_SITE_SUBDIR=	rednotebook
PKGNAMEPREFIX=		${PYTHON_PKGNAMEPREFIX}

MAINTAINER=		cheunghonyu@gmail.com
COMMENT=		Modern journal written in Python

LICENSE=		GPLv2

RUN_DEPENDS=${PYTHON_SITELIBDIR}/yaml/__init__.py:${PORTSDIR}/devel/py-yaml \
			${PYTHON_SITELIBDIR}/webkit/__init__.py:${PORTSDIR}/www/py-webkitgtk \
			${LOCALBASE}/bin/xdg-open:${PORTSDIR}/devel/xdg-utils \
			${PYTHON_SITELIBDIR}/chardet/__init__.py:${PORTSDIR}/textproc/py-chardet

USE_GETTEXT=	yes

INSTALLS_ICONS=	yes
USE_GNOME=		pygtk2
USE_PYTHON=		2.6-2.7
USE_PYDISTUTILS=yes

post-install:
	(cp ${WRKSRC}/rednotebook/images/rednotebook-icon/rednotebook.svg ${PYTHON_SITELIBDIR}/${PORTNAME}/images/rednotebook-icon/)

.include <bsd.port.mk>