Prune x11/xpra
[dports.git] / deskutils / zim / Makefile
1 # Created by: Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
2 # $FreeBSD$
3
4 PORTNAME=       zim
5 PORTVERSION=    0.68
6 CATEGORIES=     deskutils python
7 MASTER_SITES=   http://www.zim-wiki.org/downloads/
8
9 MAINTAINER=     rm@FreeBSD.org
10 COMMENT=        Desktop wiki editor
11
12 LICENSE=        GPLv2
13 LICENSE_FILE=   ${WRKSRC}/LICENSE.txt
14
15 BUILD_DEPENDS=  ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${FLAVOR}
16 RUN_DEPENDS=    ${PYTHON_PKGNAMEPREFIX}xdg>0:devel/py-xdg@${FLAVOR} \
17                 xdg-open:devel/xdg-utils \
18                 ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${FLAVOR}
19
20 NO_ARCH=        yes
21 USES=           desktop-file-utils gettext python:-2.7 shared-mime-info
22 USE_GNOME=      pygtk2
23 USE_PYTHON=     autoplist distutils
24 INSTALLS_ICONS= yes
25
26 OPTIONS_DEFINE=         BZR DITAA GIT GNUPLOT GNUR GRAPHVIZ LATEX \
27                         MERCURIAL SCROT
28
29 DITAA_DESC=             Diagram editor support
30 DITAA_RUN_DEPENDS=      ditaa:graphics/ditaa
31 BZR_DESC=               Version control for notebooks using bzr
32 BZR_RUN_DEPENDS=        bzr:devel/bzr
33 GIT_DESC=               Version control for notebooks using git
34 GIT_RUN_DEPENDS=        git:devel/git
35 GNUPLOT_RUN_DEPENDS=    gnuplot:math/gnuplot
36 GNUR_DESC=              Support of plot editor based on GNU R
37 GNUR_RUN_DEPENDS=       R:math/R
38 GRAPHVIZ_RUN_DEPENDS=   fdp:graphics/graphviz
39 LATEX_USE=              tex=latex:run
40 MERCURIAL_DESC=         Version control for notebooks using hg
41 MERCURIAL_RUN_DEPENDS=  hg:devel/mercurial
42 SCROT_DESC=             Screenshot taking and inserting support
43 SCROT_RUN_DEPENDS=      scrot:graphics/scrot
44
45 post-patch:
46         @${REINPLACE_CMD} -e \
47                 '/.command.install /s|distutils|setuptools| ; \
48                  s|share/man|man| ; \
49                  /.skip_xdg_cmd = /s|0|1|' \
50                 ${WRKSRC}/setup.py
51
52 .include <bsd.port.mk>