freebsd-ports/multimedia/kdenlive/Makefile
Mathieu Arnold 60d1a83c2a MASTER_SITES cleanup.
- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
  of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
  no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.

While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.

Also, replace some EXTRACT_SUFX occurences with USES=tar:*.

Checked by:	make fetch-urlall-list
With hat:	portmgr
Sponsored by:	Absolight
2015-05-14 10:15:04 +00:00

61 lines
1.9 KiB
Makefile

# $FreeBSD$
PORTNAME= kdenlive
PORTVERSION= 0.9.10
CATEGORIES= multimedia kde
MASTER_SITES= KDE/stable/${PORTNAME}/${PORTVERSION}/src/
MAINTAINER= avilla@FreeBSD.org
COMMENT= KDE professional quality non-linear video editing suite
LICENSE= GPLv2
LIB_DEPENDS= libmlt.so:${PORTSDIR}/multimedia/mlt \
libqjson.so:${PORTSDIR}/devel/qjson
RUN_DEPENDS= ffmpeg${FFMPEG_SUFX}:${PORTSDIR}/multimedia/ffmpeg${FFMPEG_SUFX}
USE_KDE4= automoc4 kdelibs kdeprefix nepomuk-core
USE_QT4= corelib dbus gui opengl script svg xml \
moc_build qmake_build rcc_build uic_build
USE_XORG= x11
USES= cmake pkgconfig shared-mime-info tar:bzip2
CMAKE_ARGS= -DFFMPEG_SUFFIX:STRING="${FFMPEG_SUFX}"
# Keep in sync with multimedia/mlt, possibly.
FFMPEG_SUFX= # Currently empty.
OPTIONS_DEFINE= DOCS DVDWIZARD FREI0R LADSPA NLS SCREENCAST V4L XINE
OPTIONS_DEFAULT=DVDWIZARD FREI0R LADSPA SCREENCAST V4L XINE
OPTIONS_SUB= yes
DVDWIZARD_DESC= DVD authoring via DVDAuthor and cdrtools
SCREENCAST_DESC=Screen capture support via recordMyDesktop
V4L_DESC= Webcam support via Video4Linux
XINE_DESC= DVD preview support via xine
DOCS_CMAKE_OFF= -DBUILD_doc:BOOL=FALSE
DVDWIZARD_RUN_DEPENDS= dvdauthor:${PORTSDIR}/multimedia/dvdauthor \
cdrecord:${PORTSDIR}/sysutils/cdrtools
FREI0R_RUN_DEPENDS= frei0r-plugins>=0:${PORTSDIR}/graphics/frei0r-plugins
LADSPA_RUN_DEPENDS= swhplugins>=0:${PORTSDIR}/audio/swhplugins
NLS_USES= gettext
NLS_CMAKE_OFF= -DBUILD_po:BOOL=FALSE
SCREENCAST_RUN_DEPENDS= recordmydesktop:${PORTSDIR}/multimedia/recordmydesktop
V4L_LIB_DEPENDS= libv4l2.so:${PORTSDIR}/multimedia/libv4l
V4L_BUILD_DEPENDS= ${LOCALBASE}/include/linux/videodev2.h:${PORTSDIR}/multimedia/v4l_compat
V4L_CMAKE_OFF= -DWITH_LibV4L2:BOOL=FALSE
XINE_RUN_DEPENDS= xine:${PORTSDIR}/multimedia/xine
post-patch:
@${REINPLACE_CMD} -E -e '/${PORTNAME}.(menu|xpm)/ d' \
-e '/^update_xdg_mimetypes/ d; /SharedMimeInfo/ d' \
${PATCH_WRKSRC}/data/CMakeLists.txt
.include <bsd.port.mk>