Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Aug 2014 23:20:54 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r364330 - head/editors/zim
Message-ID:  <53e409d6.2d59.1b299e02@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Thu Aug  7 23:20:54 2014
New Revision: 364330
URL: http://svnweb.freebsd.org/changeset/ports/364330
QAT: https://qat.redports.org/buildarchive/r364330/

Log:
  editors/zim: Upgrade version 0.60 => 0.61 and stage
  
  PR:		192475
  Submitted by:	Ports Fury

Deleted:
  head/editors/zim/pkg-plist
Modified:
  head/editors/zim/Makefile
  head/editors/zim/distinfo
  head/editors/zim/pkg-descr

Modified: head/editors/zim/Makefile
==============================================================================
--- head/editors/zim/Makefile	Thu Aug  7 23:20:40 2014	(r364329)
+++ head/editors/zim/Makefile	Thu Aug  7 23:20:54 2014	(r364330)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	zim
-PORTVERSION=	0.60
+PORTVERSION=	0.61
 CATEGORIES=	editors python
 MASTER_SITES=	http://www.zim-wiki.org/downloads/
 
@@ -11,66 +11,46 @@ COMMENT=	Desktop wiki editor
 
 LICENSE=	GPLv2
 
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}xdg>=0:${PORTSDIR}/devel/py-xdg \
-		${LOCALBASE}/bin/xdg-open:${PORTSDIR}/devel/xdg-utils \
-		${PYTHON_PKGNAMEPREFIX}sqlite3>=0:${PORTSDIR}/databases/py-sqlite3
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}xdg>0:${PORTSDIR}/devel/py-xdg \
+		xdg-open:${PORTSDIR}/devel/xdg-utils \
+		${PYTHON_PKGNAMEPREFIX}sqlite3>0:${PORTSDIR}/databases/py-sqlite3
 
-INSTALLS_ICONS=	yes
-USES=		gettext desktop-file-utils
-USE_GNOME=	gtk20 pygtk2 pygobject
+NO_ARCH=	yes
+
+USES=		desktop-file-utils gettext shared-mime-info
+USE_GNOME=	pygtk2
 USE_PYTHON=	2
 USE_PYDISTUTILS=	yes
+PYDISTUTILS_AUTOPLIST=	yes
+INSTALLS_ICONS=	yes
 
-MAN1=		zim.1
+OPTIONS_DEFINE=		BZR DITAA GIT GNUPLOT GNUR GRAPHVIZ LATEX \
+			MERCURIAL SCROT
 
-OPTIONS_DEFINE=	GNUR LATEX GRAPHVIZ SCROT GNUPLOT BZR GIT MERCURIAL DITAA
-OPTIONS_EXCLUDE=DOCS NLS
-GNUR_DESC=	Support of plot editor based on GNU R
-SCROT_DESC=	Screenshot taking and inserting support
-BZR_DESC=	Version control for notebooks using bzr
-GIT_DESC=	Version control for notebooks using git
-MERCURIAL_DESC=	Version control for notebooks using hg
 DITAA_DESC=		Diagram editor support
-
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MGNUR}
-RUN_DEPENDS+=	R:${PORTSDIR}/math/R
-.endif
-.if ${PORT_OPTIONS:MLATEX}
-USE_TEX=	latex
-.endif
-.if ${PORT_OPTIONS:MGRAPHVIZ}
-RUN_DEPENDS+=	fdp:${PORTSDIR}/graphics/graphviz
-.endif
-.if ${PORT_OPTIONS:MSCROT}
-RUN_DEPENDS+=	scrot:${PORTSDIR}/graphics/scrot
-.endif
-.if ${PORT_OPTIONS:MGNUPLOT}
-RUN_DEPENDS+=	gnuplot:${PORTSDIR}/math/gnuplot
-.endif
-.if ${PORT_OPTIONS:MBZR}
-RUN_DEPENDS+=	bzr:${PORTSDIR}/devel/bzr
-.endif
-.if ${PORT_OPTIONS:MGIT}
-RUN_DEPENDS+=	git:${PORTSDIR}/devel/git
-.endif
-.if ${PORT_OPTIONS:MMERCURIAL}
-RUN_DEPENDS+=	hg:${PORTSDIR}/devel/mercurial
-.endif
-.if ${PORT_OPTIONS:MDITAA}
-RUN_DEPENDS+=	ditaa:${PORTSDIR}/graphics/ditaa
-.endif
+DITAA_RUN_DEPENDS=	ditaa:${PORTSDIR}/graphics/ditaa
+BZR_DESC=		Version control for notebooks using bzr
+BZR_RUN_DEPENDS=	bzr:${PORTSDIR}/devel/bzr
+GIT_DESC=		Version control for notebooks using git
+GIT_RUN_DEPENDS=	git:${PORTSDIR}/devel/git
+GNUPLOT_RUN_DEPENDS=	gnuplot:${PORTSDIR}/math/gnuplot
+GNUR_DESC=		Support of plot editor based on GNU R
+GNUR_RUN_DEPENDS=	R:${PORTSDIR}/math/R
+GRAPHVIZ_RUN_DEPENDS=	fdp:${PORTSDIR}/graphics/graphviz
+LATEX_USE=		tex=latex:run
+MERCURIAL_DESC=		Version control for notebooks using hg
+MERCURIAL_RUN_DEPENDS=	hg:${PORTSDIR}/devel/mercurial
+SCROT_DESC=		Screenshot taking and inserting support
+SCROT_RUN_DEPENDS=	scrot:${PORTSDIR}/graphics/scrot
 
 post-patch:
-	@${REINPLACE_CMD} \
-		-e 's|share/man|man|' \
-		-e 's,distutils\.command\.install ,setuptools\.command\.install ,' \
+	@${REINPLACE_CMD} -e \
+		'/.command.install /s|distutils|setuptools| ; \
+		 s|share/man|man| ; \
+		 /.skip_xdg_cmd = /s|0|1|' \
 		${WRKSRC}/setup.py
-	@${REINPLACE_CMD} -e "s|decode('utf-8')|decode('utf-8','replace')|g" ${WRKSRC}/zim/utils.py
-
-post-install:
-	-@update-desktop-database
+	@${REINPLACE_CMD} -e \
+		's|decode('utf-8')|decode('utf-8','replace')|g' \
+		${WRKSRC}/zim/utils.py
 
 .include <bsd.port.mk>

Modified: head/editors/zim/distinfo
==============================================================================
--- head/editors/zim/distinfo	Thu Aug  7 23:20:40 2014	(r364329)
+++ head/editors/zim/distinfo	Thu Aug  7 23:20:54 2014	(r364330)
@@ -1,2 +1,2 @@
-SHA256 (zim-0.60.tar.gz) = 1093f7bf0051eda8eaad33f037b03df66b30c24da275d59cedbf8f792011196b
-SIZE (zim-0.60.tar.gz) = 1634256
+SHA256 (zim-0.61.tar.gz) = 5843a9b2fb41f153b7b628732ac157889709b9937b4921c05099af81dceccc4a
+SIZE (zim-0.61.tar.gz) = 1733251

Modified: head/editors/zim/pkg-descr
==============================================================================
--- head/editors/zim/pkg-descr	Thu Aug  7 23:20:40 2014	(r364329)
+++ head/editors/zim/pkg-descr	Thu Aug  7 23:20:54 2014	(r364330)
@@ -1,12 +1,13 @@
 Zim - A Desktop Wiki Editor
 
-Zim is a graphical text editor used to maintain a collection of wiki pages.
-Each page can contain links to other pages, simple formatting and images.
-Pages are stored in a folder structure, like in an outliner, and can have
-attachments. Creating a new page is as easy as linking to a nonexistent page.
-All data is stored in plain text files with wiki formatting. Various plugins
-provide additional functionality, like a task list manager, an equation
-editor, a tray icon, and support for version control.
+Zim is a graphical text editor used to maintain a collection of wiki
+pages. Each page can contain links to other pages, simple formatting and
+images. Pages are stored in a folder structure, like in an outliner, and
+can have attachments. Creating a new page is as easy as linking to a
+nonexistent page. All data is stored in plain text files with wiki
+formatting. Various plugins provide additional functionality, like a
+task list manager, an equation editor, a tray icon, and support for
+version control.
 
 Zim can be used to:
 * Keep an archive of notes



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53e409d6.2d59.1b299e02>