Changeset View
Changeset View
Standalone View
Standalone View
deskutils/zim/Makefile
# Created by: Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe> | # Created by: Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe> | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= zim | PORTNAME= zim | ||||
DISTVERSION= 0.71.0 | DISTVERSION= 0.71.0 | ||||
PORTREVISION= 1 | |||||
CATEGORIES= deskutils python | CATEGORIES= deskutils python | ||||
MASTER_SITES= https://www.zim-wiki.org/downloads/ | MASTER_SITES= https://www.zim-wiki.org/downloads/ | ||||
MAINTAINER= rm@FreeBSD.org | MAINTAINER= rm@FreeBSD.org | ||||
COMMENT= Desktop wiki editor | COMMENT= Desktop wiki editor | ||||
LICENSE= GPLv2 | LICENSE= GPLv2 | ||||
LICENSE_FILE= ${WRKSRC}/LICENSE | LICENSE_FILE= ${WRKSRC}/LICENSE | ||||
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} \ | BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} \ | ||||
${PYTHON_PKGNAMEPREFIX}xdg>0:devel/py-xdg@${PY_FLAVOR} | ${PYTHON_PKGNAMEPREFIX}xdg>0:devel/py-xdg@${PY_FLAVOR} | ||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}xdg>0:devel/py-xdg@${PY_FLAVOR} \ | RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}xdg>0:devel/py-xdg@${PY_FLAVOR} \ | ||||
xdg-open:devel/xdg-utils \ | xdg-open:devel/xdg-utils \ | ||||
${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} | ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} | ||||
USES= desktop-file-utils gettext gnome python:3.3+ shared-mime-info | USES= desktop-file-utils gettext gnome python:3.3+ shared-mime-info | ||||
USE_GNOME= gtk30 pygobject3 | USE_GNOME= gtk30 pygobject3 | ||||
USE_PYTHON= autoplist distutils noflavors | USE_PYTHON= autoplist distutils noflavors | ||||
INSTALLS_ICONS= yes | INSTALLS_ICONS= yes | ||||
NO_ARCH= yes | NO_ARCH= yes | ||||
OPTIONS_DEFINE= BZR DITAA GIT GNUPLOT GNUR GRAPHVIZ LATEX \ | OPTIONS_DEFINE= BAZAAR DITAA GIT GNUPLOT GNUR GRAPHVIZ LATEX \ | ||||
MERCURIAL SCROT | MERCURIAL SCROT | ||||
DITAA_DESC= Diagram editor support | DITAA_DESC= Diagram editor support | ||||
DITAA_RUN_DEPENDS= ditaa:graphics/ditaa | DITAA_RUN_DEPENDS= ditaa:graphics/ditaa | ||||
BZR_DESC= Version control for notebooks using bzr | BAZAAR_RUN_DEPENDS= bzr:devel/bzr | ||||
BZR_RUN_DEPENDS= bzr:devel/bzr | |||||
GIT_DESC= Version control for notebooks using git | |||||
GIT_RUN_DEPENDS= git:devel/git | GIT_RUN_DEPENDS= git:devel/git | ||||
GNUPLOT_RUN_DEPENDS= gnuplot:math/gnuplot | GNUPLOT_RUN_DEPENDS= gnuplot:math/gnuplot | ||||
GNUR_DESC= Support of plot editor based on GNU R | GNUR_DESC= Support of plot editor based on GNU R | ||||
GNUR_RUN_DEPENDS= R:math/R | GNUR_RUN_DEPENDS= R:math/R | ||||
GRAPHVIZ_RUN_DEPENDS= fdp:graphics/graphviz | GRAPHVIZ_RUN_DEPENDS= fdp:graphics/graphviz | ||||
LATEX_USE= tex=latex:run | LATEX_USE= tex=latex:run | ||||
MERCURIAL_DESC= Version control for notebooks using hg | |||||
MERCURIAL_RUN_DEPENDS= hg:devel/mercurial | MERCURIAL_RUN_DEPENDS= hg:devel/mercurial | ||||
SCROT_DESC= Screenshot taking and inserting support | SCROT_DESC= Screenshot taking and inserting support | ||||
SCROT_RUN_DEPENDS= scrot:graphics/scrot | SCROT_RUN_DEPENDS= scrot:graphics/scrot | ||||
post-patch: | post-patch: | ||||
@${REINPLACE_CMD} -e \ | @${REINPLACE_CMD} -e \ | ||||
'/.command.install /s|distutils|setuptools| ; \ | '/.command.install /s|distutils|setuptools| ; \ | ||||
s|share/man|man| ; \ | s|share/man|man| ; \ | ||||
/.skip_xdg_cmd = /s|0|1|' \ | /.skip_xdg_cmd = /s|0|1|' \ | ||||
${WRKSRC}/setup.py | ${WRKSRC}/setup.py | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |