1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-12 07:27:57 +00:00
freebsd-ports/multimedia/openshot/Makefile
Alex Kozlov e159824929 - Convert USE_GETTEXT to USES (part 3)
Approved by:	portmgr (bapt)
2013-04-24 18:10:30 +00:00

45 lines
1.4 KiB
Makefile

# Created by: Charlie Kester <corky1951@comcast.net>
# $FreeBSD$
PORTNAME= openshot
PORTVERSION= 1.4.3
CATEGORIES= multimedia
MASTER_SITES= http://launchpad.net/openshot/${PORTVERSION:C/\.[0-9]+$//}/${PORTVERSION}/+download/
MAINTAINER= rodrigo@bebik.net
COMMENT= Non-linear video editor
LICENSE= GPLv3
RUN_DEPENDS= ffmpeg:${PORTSDIR}/multimedia/ffmpeg \
frei0r-plugins>=0:${PORTSDIR}/graphics/frei0r-plugins \
${PYTHON_PKGNAMEPREFIX}goocanvas>=0:${PORTSDIR}/graphics/py-goocanvas \
${PYTHON_PKGNAMEPREFIX}httplib2>=0:${PORTSDIR}/www/py-httplib2 \
${PYTHON_PKGNAMEPREFIX}imaging>=0:${PORTSDIR}/graphics/py-imaging \
${PYTHON_PKGNAMEPREFIX}mlt>=0:${PORTSDIR}/multimedia/py-mlt \
${PYTHON_PKGNAMEPREFIX}xdg>=0:${PORTSDIR}/devel/py-xdg \
scrollkeeper-install:${PORTSDIR}/textproc/rarian \
sox:${PORTSDIR}/audio/sox
USE_GNOME= pygtk2 desktopfileutils
USE_PYTHON= -2.7
USE_PYDISTUTILS=yes
USES= gettext
INSTALLS_OMF= yes
MAN1= ${PORTNAME}.1 \
${PORTNAME}-render.1
FETCH_ARGS= -pRr
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})
.include <bsd.port.mk>