aboutsummaryrefslogtreecommitdiff
path: root/deskutils/treeline
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-09-08 14:42:55 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-09-08 14:42:55 +0000
commit31a68a27a6ce87b969c6836a2f047bd8f898584a (patch)
tree0da3e9b13ef5da09430ed127e0bfd1e6a25915fe /deskutils/treeline
parent018cbb3dbcca162f6a59c780b3025b0f107ed104 (diff)
downloadports-31a68a27a6ce87b969c6836a2f047bd8f898584a.tar.gz
ports-31a68a27a6ce87b969c6836a2f047bd8f898584a.zip
- Add NO_ARCH
- Switch to options helpers - Add empty directory and ignored files into plist Approved by: portmgr blanket
Notes
Notes: svn path=/head/; revision=396383
Diffstat (limited to 'deskutils/treeline')
-rw-r--r--deskutils/treeline/Makefile9
-rw-r--r--deskutils/treeline/pkg-plist3
2 files changed, 7 insertions, 5 deletions
diff --git a/deskutils/treeline/Makefile b/deskutils/treeline/Makefile
index 98ce95ee004c..98e22f049397 100644
--- a/deskutils/treeline/Makefile
+++ b/deskutils/treeline/Makefile
@@ -3,7 +3,7 @@
PORTNAME= treeline
PORTVERSION= 1.4.1
-PORTREVISION= 8
+PORTREVISION= 9
CATEGORIES= deskutils python
MASTER_SITES= SF/${PORTNAME}/${PORTVERSION}/:treeline \
http://treeline.bellz.org/plugins/:plugins \
@@ -25,6 +25,7 @@ WRKSRC= ${WRKDIR}/TreeLine
USE_QT4= # empty
USES= python:2
NO_BUILD= yes
+NO_ARCH= yes
DESKTOP_ENTRIES= "TreeLine" "" "${DATADIR}/icons/tree/treeline.png" \
"${PORTNAME}" "Utility;" false
@@ -35,15 +36,13 @@ 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}
+
+do-install-HTTPLOAD-on:
${INSTALL_DATA} ${DISTDIR}/httpload2.py \
${STAGEDIR}${PREFIX}/lib/${PORTNAME}/plugins
-.endif
.include <bsd.port.mk>
diff --git a/deskutils/treeline/pkg-plist b/deskutils/treeline/pkg-plist
index c297e40af4af..7c6021dd072e 100644
--- a/deskutils/treeline/pkg-plist
+++ b/deskutils/treeline/pkg-plist
@@ -231,3 +231,6 @@ lib/treeline/undo.pyc
%%PORTDOCS%%%%DOCSDIR%%/sample_intern_links.trl
%%PORTDOCS%%%%DOCSDIR%%/sample_other_fields.trl
%%PORTDOCS%%%%DOCSDIR%%/sample_table_booklist.trl
+@comment %%DOCSDIR%%/INSTALL
+@comment %%DOCSDIR%%/LICENSE
+@dir lib/treeline/plugins