summaryrefslogtreecommitdiff
path: root/multimedia/openshot
diff options
context:
space:
mode:
authorWilliam Grzybowski <wg@FreeBSD.org>2014-08-04 22:19:31 +0000
committerWilliam Grzybowski <wg@FreeBSD.org>2014-08-04 22:19:31 +0000
commit87de6bbbf6873d7aa7140a09829225bf3c5e686e (patch)
tree62e6c620b1ea0bc3496e376d35119499c14b9490 /multimedia/openshot
parent34a8a729fd3445180be14fa93ec150f06cd10a54 (diff)
downloadfreebsd-ports-87de6bbbf6873d7aa7140a09829225bf3c5e686e.zip
multimedia/openshot: support stage
PR: 192361 Submitted by: christian.mangin gmail com
Diffstat (limited to 'multimedia/openshot')
-rw-r--r--multimedia/openshot/Makefile18
-rw-r--r--multimedia/openshot/pkg-plist2
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 <bsd.port.mk>
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