openbsd-ports/net/farsight2/Makefile
sthen 3b2bbaacc0 Add MODPY_WANTLIB, adjust MODPY_LIB_DEPENDS to new-style LIB_DEPENDS,
update all ports to match. Plists don't change -> no bump.
Looks ok to jasper.
2010-10-24 15:53:55 +00:00

48 lines
1.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.6 2010/10/24 15:53:55 sthen Exp $
COMMENT= audio/video communications framework
DISTNAME= farsight2-0.0.21
SHARED_LIBS += gstfarsight-0.10 2.0 # .5.1
CATEGORIES= net multimedia
HOMEPAGE= http://farsight.freedesktop.org/
# LGPLv2.1
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${HOMEPAGE}/releases/farsight2/
WANTLIB += ffi glib-2.0 gmodule-2.0 gobject-2.0 gstbase-0.10 gstnetbuffer-0.10
WANTLIB += gstreamer-0.10 gstrtp-0.10 gthread-2.0 m pcre xml2
WANTLIB += z nice util
WANTLIB += ${MODPY_WANTLIB}
BUILD_DEPENDS= ${RUN_DEPENDS}
LIB_DEPENDS= ::net/libnice \
${MODPY_LIB_DEPENDS}
RUN_DEPENDS= :gstreamer-plugins-farsight->=0.12.11p0:multimedia/gstreamer-0.10/plugins-farsight \
::multimedia/gstreamer-0.10/py-gstreamer
MODULES= devel/gettext \
lang/python
USE_GMAKE= Yes
USE_LIBTOOL= Yes
LIBTOOL_FLAGS+= --tag=disable-static
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
--disable-gtk-doc \
--disable-gupnp \
--disable-static \
--disable-silent-rules
pre-configure:
@ln -s ${LOCALBASE}/bin/python${MODPY_VERSION}-config \
${WRKDIR}/bin/python-config
.include <bsd.port.mk>