freebsd-ports/multimedia/emotion/Makefile
Stanislav Sedov 8b34ce6ab3 - Fix OPTIONS handling in the case of batch build
Reported by:	corl3ss <corl3ss@corl3ss.com>
2006-12-17 13:52:02 +00:00

53 lines
1.2 KiB
Makefile

# New ports collection makefile for: emotion
# Date created: 2006-07-16
# Whom: Stanislav Sedov <ssedov@mbsd.msk.ru>
#
# $MBSDlabs$
# $FreeBSD$
#
PORTNAME= emotion
PORTVERSION= 20060926
PORTREVISION= 1
CATEGORIES= multimedia
MASTER_SITES= http://sunner.elcomnet.ru/~stas/
MAINTAINER= stas@FreeBSD.org
COMMENT= Video playback wrapper library for e17
USE_BZIP2= yes
USE_GMAKE= yes
USE_GNOME= gnomehack pkgconfig gnometarget
USE_EFL= ecore edje eet embryo evas
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
OPTIONS= XINE "Build Xine module" on \
GST "Build GStreamer module" on
.include <bsd.port.pre.mk>
.include "../../x11-wm/enlightenment-devel/bsd.efl.mk"
.if defined(WITHOUT_XINE) && defined(WITHOUT_GST)
IGNORE= is useless without playback library. Please run 'make config' and choose one of XINE and GST
.endif
.if !defined(WITHOUT_XINE)
LIB_DEPENDS+= xine.16:${PORTSDIR}/multimedia/libxine
CONFIGURE_ARGS+=--enable-xine
PLIST_SUB+= XINE=""
.else
CONFIGURE_ARGS+=--disable-xine
PLIST_SUB+= XINE="@comment "
.endif
.if !defined(WITHOUT_GST)
USE_GSTREAMER= ffmpeg good
CONFIGURE_ARGS+=--enable-gstreamer
PLIST_SUB+= GST=""
.else
CONFIGURE_ARGS+=--disable-gstreamer
PLIST_SUB+= GST="@comment "
.endif
.include <bsd.port.post.mk>