aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/treeline/Makefile
blob: 8e2fd14239f466e0abe31fdaea0a0d1bf72805ef (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
38
39
40
41
42
43
44
45
46
47
48
# Created by: Tobias Roth <ports@fsck.ch>
# $FreeBSD$

PORTNAME=   treeline
PORTVERSION=    1.4.1
PORTREVISION=   9
CATEGORIES= deskutils python
MASTER_SITES=   SF/${PORTNAME}/${PORTVERSION}/:treeline \
        http://treeline.bellz.org/plugins/:plugins \
        http://depot.fsck.ch/mirror/distfiles/:treeline,plugins
DISTFILES=  ${DISTNAME}${EXTRACT_SUFX}:treeline
EXTRACT_ONLY=   ${DISTNAME}${EXTRACT_SUFX}

MAINTAINER= pawel@FreeBSD.org
COMMENT=    Structured information storage program

LICENSE=    GPLv2
LICENSE_FILE=   ${WRKSRC}/doc/LICENSE

BUILD_DEPENDS=  aspell:textproc/aspell
RUN_DEPENDS=    aspell:textproc/aspell

USES=       python:2 pyqt:4
USE_PYQT=   gui network sip_build   
NO_BUILD=   yes
NO_ARCH=    yes

WRKSRC=     ${WRKDIR}/TreeLine

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

do-install:
    (cd ${WRKSRC} && ${PYTHON_CMD} install.py -b ${STAGEDIR} -p ${PREFIX} \
        -d ${DOCSDIR} -i ${DATADIR}/icons)
    @${MKDIR} ${STAGEDIR}${PREFIX}/lib/${PORTNAME}/plugins

do-install-HTTPLOAD-on:
    ${INSTALL_DATA} ${DISTDIR}/httpload2.py \
        ${STAGEDIR}${PREFIX}/lib/${PORTNAME}/plugins

.include <bsd.port.mk>