blob: 7a626f8f1a7a25941350493e4193951e9eceaaee (
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
|
# Created by: Tobias Roth <ports@fsck.ch>
# $FreeBSD$
PORTNAME= treeline
PORTVERSION= 1.4.1
PORTREVISION= 7
CATEGORIES= deskutils python
MASTER_SITES= SF/${PORTNAME}/${PORTVERSION}/:treeline \
http://treeline.bellz.org/plugins/:plugins \
http://depot.fsck.ch/mirror/distfiles/:treeline,plugins
MASTER_SITE_SUBDIR=treeline/:treeline
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:treeline
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= pawel@FreeBSD.org
COMMENT= Structured information storage program
LICENSE= GPLv2
BUILD_DEPENDS= aspell:${PORTSDIR}/textproc/aspell
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}qt4-gui>=0:${PORTSDIR}/x11-toolkits/py-qt4-gui \
${PYTHON_PKGNAMEPREFIX}qt4-network>=0:${PORTSDIR}/net/py-qt4-network \
aspell:${PORTSDIR}/textproc/aspell
WRKSRC= ${WRKDIR}/TreeLine
USE_QT4= # empty
USE_PYTHON= 2
NO_BUILD= yes
DESKTOP_ENTRIES= "TreeLine" "" "${DATADIR}/icons/tree/treeline.png" \
"${PORTNAME}" "Utility;" false
OPTIONS_DEFINE= DOCS HTTPLOAD
OPTIONS_SUB= yes
HTTPLOAD_DESC= httpLoad plugin
HTTPLOAD_DISTFILES= httpload2.py:plugins
.include <bsd.port.options.mk>
do-install:
(cd ${WRKSRC} && ${PYTHON_CMD} install.py -b ${STAGEDIR} -p ${PREFIX} \
-d ${DOCSDIR} -i ${DATADIR}/icons)
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/${PORTNAME}/plugins
.if ${PORT_OPTIONS:MHTTPLOAD}
${INSTALL_DATA} ${DISTDIR}/httpload2.py \
${STAGEDIR}${PREFIX}/lib/${PORTNAME}/plugins
.endif
.include <bsd.port.mk>
|