svn commit: r396383 - head/deskutils/treeline

Dmitry Marakasov amdmi3 at FreeBSD.org
Tue Sep 8 14:42:57 UTC 2015


Author: amdmi3
Date: Tue Sep  8 14:42:55 2015
New Revision: 396383
URL: https://svnweb.freebsd.org/changeset/ports/396383

Log:
  - Add NO_ARCH
  - Switch to options helpers
  - Add empty directory and ignored files into plist
  
  Approved by:	portmgr blanket

Modified:
  head/deskutils/treeline/Makefile
  head/deskutils/treeline/pkg-plist

Modified: head/deskutils/treeline/Makefile
==============================================================================
--- head/deskutils/treeline/Makefile	Tue Sep  8 14:42:11 2015	(r396382)
+++ head/deskutils/treeline/Makefile	Tue Sep  8 14:42:55 2015	(r396383)
@@ -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>

Modified: head/deskutils/treeline/pkg-plist
==============================================================================
--- head/deskutils/treeline/pkg-plist	Tue Sep  8 14:42:11 2015	(r396382)
+++ head/deskutils/treeline/pkg-plist	Tue Sep  8 14:42:55 2015	(r396383)
@@ -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
+ at comment %%DOCSDIR%%/INSTALL
+ at comment %%DOCSDIR%%/LICENSE
+ at dir lib/treeline/plugins


More information about the svn-ports-all mailing list