From 87de6bbbf6873d7aa7140a09829225bf3c5e686e Mon Sep 17 00:00:00 2001 From: William Grzybowski Date: Mon, 4 Aug 2014 22:19:31 +0000 Subject: [PATCH] multimedia/openshot: support stage PR: 192361 Submitted by: christian.mangin gmail com --- multimedia/openshot/Makefile | 18 +++++++----------- multimedia/openshot/pkg-plist | 2 ++ 2 files changed, 9 insertions(+), 11 deletions(-) diff --git a/multimedia/openshot/Makefile b/multimedia/openshot/Makefile index b350b1d2f151..50e23845c75a 100644 --- a/multimedia/openshot/Makefile +++ b/multimedia/openshot/Makefile @@ -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 diff --git a/multimedia/openshot/pkg-plist b/multimedia/openshot/pkg-plist index c7ccb217af43..39fe53758d66 100644 --- a/multimedia/openshot/pkg-plist +++ b/multimedia/openshot/pkg-plist @@ -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