Prune irc/undernet-ircu
[dports.git] / multimedia / openshot / Makefile
1 # Created by: Charlie Kester <corky1951@comcast.net>
2 # $FreeBSD$
3
4 PORTNAME=       openshot
5 PORTVERSION=    1.4.3
6 PORTREVISION=   1
7 CATEGORIES=     multimedia
8 MASTER_SITES=   http://launchpad.net/openshot/${PORTVERSION:C/\.[0-9]+$//}/${PORTVERSION}/+download/
9
10 MAINTAINER=     ports@FreeBSD.org
11 COMMENT=        Non-linear video editor
12
13 LICENSE=        GPLv3
14
15 RUN_DEPENDS=    ffmpeg:${PORTSDIR}/multimedia/ffmpeg \
16                 frei0r-plugins>=0:${PORTSDIR}/graphics/frei0r-plugins \
17                 ${PYTHON_PKGNAMEPREFIX}goocanvas>=0:${PORTSDIR}/graphics/py-goocanvas \
18                 ${PYTHON_PKGNAMEPREFIX}httplib2>=0:${PORTSDIR}/www/py-httplib2 \
19                 ${PYTHON_PKGNAMEPREFIX}imaging>=0:${PORTSDIR}/graphics/py-imaging \
20                 ${PYTHON_PKGNAMEPREFIX}mlt>=0:${PORTSDIR}/multimedia/py-mlt \
21                 ${PYTHON_PKGNAMEPREFIX}xdg>=0:${PORTSDIR}/devel/py-xdg \
22                 scrollkeeper-install:${PORTSDIR}/textproc/rarian \
23                 sox:${PORTSDIR}/audio/sox
24
25 USE_GNOME=      pygtk2
26 USE_PYTHON=     2
27 USE_PYDISTUTILS=yes
28 USES=           desktop-file-utils gettext shared-mime-info
29 INSTALLS_OMF=   yes
30
31 post-patch:
32         @${FIND} ${WRKSRC}/docs/omf -name '*.omf' | ${XARGS} ${REINPLACE_CMD} -e \
33                 's|/usr/share|${PREFIX}/share|g'
34
35 pre-install:
36         (${MKDIR} ${STAGEDIR}${PREFIX}/share/omf/${PORTNAME} && \
37                 cd ${WRKSRC}/docs/omf && ${COPYTREE_SHARE} \*.omf ${STAGEDIR}${PREFIX}/share/omf/${PORTNAME})
38         (${MKDIR} ${STAGEDIR}${PREFIX}/share/gnome/help/${PORTNAME} && \
39                 cd ${WRKSRC}/docs/gnome && ${COPYTREE_SHARE} \* ${STAGEDIR}${PREFIX}/share/gnome/help/${PORTNAME})
40
41 .include <bsd.port.mk>