multimedia/openshot: support stage

PR:		192361
Submitted by:	christian.mangin gmail com
This commit is contained in:
William Grzybowski 2014-08-04 22:19:31 +00:00
parent 34a8a729fd
commit 87de6bbbf6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=364061
2 changed files with 9 additions and 11 deletions

View file

@ -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}/multimedia/ffmpeg \
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>

View file

@ -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