freebsd-ports/deskutils/treeline/Makefile
Pawel Pekala 39a8738591 - Update to version 2.0.2, now python3 based
- Remove dead mirror site
- Use shebangfix to fix python path
- Now that we have 3 additional plugins rename
  HTTLOAD option to PLUGINS

Changelog: http://treeline.bellz.org/index.html
2017-12-08 17:05:59 +00:00

48 lines
1.2 KiB
Makefile

# Created by: Tobias Roth <ports@fsck.ch>
# $FreeBSD$
PORTNAME= treeline
PORTVERSION= 2.0.2
CATEGORIES= deskutils python
MASTER_SITES= SF/${PORTNAME}/${PORTVERSION}/:treeline \
http://treeline.bellz.org/plugins2/: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:3.4+ pyqt:4 shebangfix
SHEBANG_FILES= source/treeline.py
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 PLUGINS
OPTIONS_SUB= yes
PLUGINS_DESC= Additional plugins: httpload, treepadexport, updateref
PLUGINS_DISTFILES= httpload.py:plugins \
treepadexport.py:plugins \
updateref.py:plugins \
do-install:
(cd ${WRKSRC} && ${PYTHON_CMD} install.py -b ${STAGEDIR} -p ${PREFIX} \
-d ${DOCSDIR} -i ${DATADIR}/icons)
do-install-PLUGINS-on:
(cd ${DISTDIR} && ${INSTALL_DATA} ${PLUGINS_DISTFILES:S/:plugins//} \
${STAGEDIR}${DATADIR}/plugins)
.include <bsd.port.mk>