Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Jan 2014 17:14:55 +0000 (UTC)
From:      Olivier Duchateau <olivierd@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r341434 - head/graphics/electrix
Message-ID:  <201401271714.s0RHEttP008506@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: olivierd
Date: Mon Jan 27 17:14:55 2014
New Revision: 341434
URL: http://svnweb.freebsd.org/changeset/ports/341434
QAT: https://qat.redports.org/buildarchive/r341434/

Log:
  - Support STAGEDIR
  - Fix Python version
  - Remove indefinite article in COMMENT entry
  - Use new LIB_DEPENDS syntax
  - Replace USE_GNOME= desktopfileutils to USES= desktop-file-utils
  - Replace tab by space in WWW entry (pkg-descr)

Modified:
  head/graphics/electrix/Makefile
  head/graphics/electrix/pkg-descr
  head/graphics/electrix/pkg-plist

Modified: head/graphics/electrix/Makefile
==============================================================================
--- head/graphics/electrix/Makefile	Mon Jan 27 17:06:29 2014	(r341433)
+++ head/graphics/electrix/Makefile	Mon Jan 27 17:14:55 2014	(r341434)
@@ -7,17 +7,16 @@ CATEGORIES=	graphics print
 MASTER_SITES=	SF/${PORTNAME:L}/${PORTVERSION}
 
 MAINTAINER=	olivierd@FreeBSD.org
-COMMENT=	An application to view PDF files
+COMMENT=	Application to view PDF files
 
 LICENSE=	GPLv2
-LICENSE_FILE=	${WRKSRC}/COPYING
 
-USES=		pkgconfig
+USES=		pkgconfig desktop-file-utils
 USE_BZIP2=	yes
-USE_GNOME=	gtk20 desktopfileutils intltool intlhack
-USE_PYTHON=	yes
+USE_GNOME=	gtk20 glib20 intltool intlhack
+USE_PYTHON=	2
 
-CONFIGURE_ARGS=	--prefix=${PREFIX}
+CONFIGURE_ARGS=	--prefix=${STAGEDIR}${PREFIX}
 
 OPTIONS_DEFINE=	DBUS NLS PDF PS
 OPTIONS_DEFAULT=	DBUS PDF
@@ -25,11 +24,10 @@ OPTIONS_DEFAULT=	DBUS PDF
 PDF_DESC=	Portable Document Format Support
 PS_DESC=	PostScript Support
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MDBUS}
-LIB_DEPENDS+=	dbus-glib-1:${PORTSDIR}/devel/dbus-glib
+LIB_DEPENDS+=	libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib
 .else
 CONFIGURE_ARGS+=	--disable-dbus
 .endif
@@ -49,7 +47,7 @@ CONFIGURE_ARGS+=	--disable-pdf
 .endif
 
 .if ${PORT_OPTIONS:MPS}
-LIB_DEPENDS+=	spectre:${PORTSDIR}/print/libspectre
+LIB_DEPENDS+=	libspectre.so:${PORTSDIR}/print/libspectre
 .else
 CONFIGURE_ARGS+=	--disable-ps
 .endif
@@ -64,7 +62,4 @@ do-build:
 do-install:
 	@cd ${WRKSRC} && ${SETENV} ${PYTHON_CMD} waf install && ${TRUE}
 
-post-install:
-	@-update-desktop-database
-
 .include <bsd.port.mk>

Modified: head/graphics/electrix/pkg-descr
==============================================================================
--- head/graphics/electrix/pkg-descr	Mon Jan 27 17:06:29 2014	(r341433)
+++ head/graphics/electrix/pkg-descr	Mon Jan 27 17:14:55 2014	(r341434)
@@ -6,4 +6,4 @@ Features:
 - fullscreen mode
 - tabs
 
-WWW:	http://electrix.sourceforge.net/
+WWW: http://electrix.sourceforge.net/

Modified: head/graphics/electrix/pkg-plist
==============================================================================
--- head/graphics/electrix/pkg-plist	Mon Jan 27 17:06:29 2014	(r341433)
+++ head/graphics/electrix/pkg-plist	Mon Jan 27 17:14:55 2014	(r341434)
@@ -3,5 +3,3 @@ share/applications/electrix.desktop
 %%NLS%%share/locale/ru/LC_MESSAGES/electrix.mo
 %%NLS%%share/locale/sv/LC_MESSAGES/electrix.mo
 %%NLS%%share/locale/tr/LC_MESSAGES/electrix.mo
-@exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
-@unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401271714.s0RHEttP008506>