freebsd-ports/multimedia/gstreamer80/Makefile

69 lines
1.7 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: gstreamer
# Date created: Tue Jul 9 20:24:02 UTC 2002
# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= gstreamer
2004-08-16 23:21:59 +02:00
PORTVERSION= 0.8.5
CATEGORIES= multimedia
MASTER_SITES= ${MASTER_SITE_GNOME} \
http://gstreamer.freedesktop.org/src/gstreamer/pre/
MASTER_SITE_SUBDIR= sources/${PORTNAME}/0.8
DIST_SUBDIR= gnome2
MAINTAINER= lioux@FreeBSD.org
2003-02-23 20:58:35 +01:00
COMMENT= Development framework for creating media applications
2003-04-22 07:46:20 +02:00
LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt
USE_X_PREFIX= yes
USE_BISON= yes
USE_BZIP2= yes
USE_PYTHON= yes
2002-10-26 18:25:05 +02:00
USE_GMAKE= yes
USE_REINPLACE= yes
2003-04-22 07:46:20 +02:00
WANT_GNOME= yes
USE_GNOME= gnomehack \
2003-04-22 07:46:20 +02:00
gnomeprefix \
glib20 \
pkgconfig \
2003-04-22 07:46:20 +02:00
libxml2
USE_LIBTOOL_VER=15
CONFIGURE_ARGS= --disable-tests \
--disable-failing-tests
CONFIGURE_ENV= PKG_CONFIG=${PKG_CONFIG} \
CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
PLIST_SUB= \
VERSION="${GST_VERSION}" \
SHLIB_VERSION="${SHLIB_VERSION}" \
PORTVERSION="${PORTVERSION}"
INSTALLS_SHLIB= yes
MAN1= gst-complete-${GST_VERSION}.1 gst-compprep-${GST_VERSION}.1 \
gst-feedback-${GST_VERSION}.1 gst-inspect-${GST_VERSION}.1 \
gst-launch-${GST_VERSION}.1 gst-md5sum-${GST_VERSION}.1 \
gst-register-${GST_VERSION}.1 gst-typefind-${GST_VERSION}.1 \
gst-xmllaunch-${GST_VERSION}.1 gst-xmlinspect-${GST_VERSION}.1
PKG_CONFIG?="${LOCALBASE}/bin/pkg-config"
GST_VERSION=${PORTVERSION:C/..$//}
# library minor number
2004-08-16 23:21:59 +02:00
SHLIB_VERSION= 5
2002-10-26 18:25:05 +02:00
post-install:
# register plugins
-@${PREFIX}/bin/gst-register-${GST_VERSION} \
--gst-registry=${PREFIX}/share/gnome/cache/gstreamer-${GST_VERSION}/registry.xml 2>/dev/null
2002-10-26 18:25:05 +02:00
.include <bsd.port.pre.mk>
2003-04-22 07:46:20 +02:00
.if ${HAVE_GNOME:Mlibgnomeui}!=""
USE_GNOME+= libgnomeui
.endif
.include <bsd.port.post.mk>