freebsd-ports/multimedia/gstreamer-ffmpeg80/Makefile
Joe Marcus Clarke f890ae4b23 Fix build on amd64 and ia64 by removing an extra patch that add -fpic and
-DPIC.  The port now does the right thing without our help.

PR:		65732
Submitted by:	maintainer
Reported by:	bento via kris
Tested by:	marcel (ia64), arved (amd64)
2004-04-18 19:17:32 +00:00

48 lines
1.1 KiB
Makefile

# New ports collection makefile for: gstreamer ffmpeg
# Date created: Thu Feb 26 20:10:39 CET 2004
# Whom: Koop Mast <kwm@rainbow-runner.nl>
#
# $FreeBSD$
#
PORTNAME= gstreamer
PORTVERSION= 0.8.0
CATEGORIES= multimedia
MASTER_SITES= http://gstreamer.freedesktop.org/src/gst-ffmpeg/
PKGNAMESUFFIX= -ffmpeg
DISTNAME= gst-ffmpeg-${PORTVERSION}
MAINTAINER= kwm@rainbow-runner.nl
COMMENT= GStreamer plug-in for manipulating MPEG video streams
LIB_DEPENDS= gstreamer-0.8.1:${PORTSDIR}/multimedia/gstreamer
USE_X_PREFIX= yes
USE_BZIP2= yes
USE_REINPLACE= yes
USE_GMAKE= yes
USE_GNOME= gnomehack \
gnomeprefix
GNU_CONFIGURE= yes
CONFIGURE_ENV= PKG_CONFIG=${PKG_CONFIG} \
CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
PLIST_SUB= \
VERSION="${GST_VERSION}"
INSTALLS_SHLIB= yes
PKG_CONFIG?="${LOCALBASE}/bin/pkg-config"
GST_VERSION=${PORTVERSION:C/..$//}
.include <bsd.port.pre.mk>
post-patch:
@${REINPLACE_CMD} -E -e \
's|make|${GMAKE}|' \
${WRKSRC}/gst-libs/ext/Makefile.in
post-install:
# register plugins
-@${X11BASE}/bin/gst-register-${GST_VERSION} 2>/dev/null
.include <bsd.port.post.mk>