multimedia/openshot: support stage
PR: 192361 Submitted by: christian.mangin gmail com
This commit is contained in:
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
|
@ -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>
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue