Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Aug 2014 22:19:31 +0000 (UTC)
From:      William Grzybowski <wg@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r364061 - head/multimedia/openshot
Message-ID:  <53e006f3.5911.3bfdef4d@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: wg
Date: Mon Aug  4 22:19:31 2014
New Revision: 364061
URL: http://svnweb.freebsd.org/changeset/ports/364061
QAT: https://qat.redports.org/buildarchive/r364061/

Log:
  multimedia/openshot: support stage
  
  PR:		192361
  Submitted by:	christian.mangin gmail com

Modified:
  head/multimedia/openshot/Makefile
  head/multimedia/openshot/pkg-plist

Modified: head/multimedia/openshot/Makefile
==============================================================================
--- head/multimedia/openshot/Makefile	Mon Aug  4 22:17:36 2014	(r364060)
+++ head/multimedia/openshot/Makefile	Mon Aug  4 22:19:31 2014	(r364061)
@@ -6,7 +6,7 @@ PORTVERSION=	1.4.3
 CATEGORIES=	multimedia
 MASTER_SITES=	http://launchpad.net/openshot/${PORTVERSION:C/\.[0-9]+$//}/${PORTVERSION}/+download/
 
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Non-linear video editor
 
 LICENSE=	GPLv3
@@ -21,24 +21,20 @@ RUN_DEPENDS=	ffmpeg:${PORTSDIR}/multimed
 		scrollkeeper-install:${PORTSDIR}/textproc/rarian \
 		sox:${PORTSDIR}/audio/sox
 
-USE_GNOME=	pygtk2 desktopfileutils
+USE_GNOME=	pygtk2
 USE_PYTHON=	2
 USE_PYDISTUTILS=yes
-USES=		gettext
+USES=		desktop-file-utils gettext shared-mime-info
 INSTALLS_OMF=	yes
 
-MAN1=		${PORTNAME}.1 \
-		${PORTNAME}-render.1
-
-NO_STAGE=	yes
 post-patch:
 	@${FIND} ${WRKSRC}/docs/omf -name '*.omf' | ${XARGS} ${REINPLACE_CMD} -e \
 		's|/usr/share|${PREFIX}/share|g'
 
 pre-install:
-	(${MKDIR} ${PREFIX}/share/omf/${PORTNAME} && \
-		cd ${WRKSRC}/docs/omf && ${COPYTREE_SHARE} \*.omf ${PREFIX}/share/omf/${PORTNAME})
-	(${MKDIR} ${PREFIX}/share/gnome/help/${PORTNAME} && \
-		cd ${WRKSRC}/docs/gnome && ${COPYTREE_SHARE} \* ${PREFIX}/share/gnome/help/${PORTNAME})
+	(${MKDIR} ${STAGEDIR}${PREFIX}/share/omf/${PORTNAME} && \
+		cd ${WRKSRC}/docs/omf && ${COPYTREE_SHARE} \*.omf ${STAGEDIR}${PREFIX}/share/omf/${PORTNAME})
+	(${MKDIR} ${STAGEDIR}${PREFIX}/share/gnome/help/${PORTNAME} && \
+		cd ${WRKSRC}/docs/gnome && ${COPYTREE_SHARE} \* ${STAGEDIR}${PREFIX}/share/gnome/help/${PORTNAME})
 
 .include <bsd.port.mk>

Modified: head/multimedia/openshot/pkg-plist
==============================================================================
--- head/multimedia/openshot/pkg-plist	Mon Aug  4 22:17:36 2014	(r364060)
+++ head/multimedia/openshot/pkg-plist	Mon Aug  4 22:19:31 2014	(r364061)
@@ -1,5 +1,7 @@
 bin/openshot
 bin/openshot-render
+man/man1/openshot.1.gz
+man/man1/openshot-render.1.gz
 %%PYTHON_SITELIBDIR%%/openshot/__init__.py
 %%PYTHON_SITELIBDIR%%/openshot/__init__.pyc
 %%PYTHON_SITELIBDIR%%/openshot/__init__.pyo



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53e006f3.5911.3bfdef4d>