aboutsummaryrefslogtreecommitdiff
path: root/multimedia/schroedinger/Makefile
diff options
context:
space:
mode:
authorMartin Matuska <mm@FreeBSD.org>2010-03-24 18:44:22 +0000
committerMartin Matuska <mm@FreeBSD.org>2010-03-24 18:44:22 +0000
commit1f694edf29a3f2b16c4347fe4bc8fb6fe93cbd17 (patch)
tree849a95d9f13bac6d3ae051469c6fd673b6ddc99c /multimedia/schroedinger/Makefile
parent5e1d93aa78bbd48edd9cad17158303ae7252fa84 (diff)
downloadports-1f694edf29a3f2b16c4347fe4bc8fb6fe93cbd17.tar.gz
ports-1f694edf29a3f2b16c4347fe4bc8fb6fe93cbd17.zip
Notes
Diffstat (limited to 'multimedia/schroedinger/Makefile')
-rw-r--r--multimedia/schroedinger/Makefile47
1 files changed, 2 insertions, 45 deletions
diff --git a/multimedia/schroedinger/Makefile b/multimedia/schroedinger/Makefile
index f3a48d7aff0b..39a209502a6c 100644
--- a/multimedia/schroedinger/Makefile
+++ b/multimedia/schroedinger/Makefile
@@ -5,67 +5,24 @@
# $FreeBSD$
#
-.if !defined(_BUILDING_GSTREAMER_PLUGIN)
PORTNAME= schroedinger
-.else
-PORTNAME= gstreamer
-.endif
-PORTVERSION= 1.0.7
-PORTREVISION= 2
+PORTVERSION= 1.0.9
CATEGORIES= multimedia
MASTER_SITES= http://diracvideo.org/download/schroedinger/
MASTER_SITE_SUBDIR= ${PORTNAME}
-.if defined(_BUILDING_GSTREAMER_PLUGIN)
-PKGNAMESUFFIX= -schroedinger
-DISTNAME= schroedinger-${PORTVERSION}
-.endif
MAINTAINER= mm@FreeBSD.org
-.if !defined(_BUILDING_GSTREAMER_PLUGIN)
COMMENT= High-speed Dirac codec
-.else
-COMMENT= GStreamer dirac plugin using Schroedinger library
-.endif
-LIB_DEPENDS= oil:${PORTSDIR}/devel/liboil
-.if defined(_BUILDING_GSTREAMER_PLUGIN)
-LIB_DEPENDS+= schroedinger-1.0.2:${PORTSDIR}/multimedia/schroedinger
-.endif
+LIB_DEPENDS= orc-0.4:${PORTSDIR}/devel/orc
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
MAKE_JOBS_SAFE= yes
-.if defined(_BUILDING_GSTREAMER_PLUGIN)
-WANT_GSTREAMER= yes
-USE_GSTREAMER= yes
-BUILD_WRKSRC= ${WRKDIR}/${DISTNAME}/gst
-INSTALL_WRKSRC= ${BUILD_WRKSRC}
-PLIST= ${WRKSRC}/PLIST
-DESCR= ${MASTERDIR}/pkg-descr.gstreamer
-.else
-CONFIGURE_ARGS+= --disable-gstreamer
-.endif
-
.include <bsd.port.pre.mk>
-.if defined(_BUILDING_GSTREAMER_PLUGIN)
-PLIST_FILES+= lib/gstreamer-${GST_VERSION}/libgstschro.a \
- lib/gstreamer-${GST_VERSION}/libgstschro.la \
- lib/gstreamer-${GST_VERSION}/libgstschro.so
-.endif
-
post-patch:
${REINPLACE_CMD} -e 's|^pkgconfigdir=.*|pkgconfigdir="\\$$(prefix)/libdata/pkgconfig"|' ${WRKSRC}/configure
-.if defined(_BUILDING_GSTREAMER_PLUGIN)
-post-configure:
- ${REINPLACE_CMD} -e "s|\$$(top_builddir)/schroedinger/libschroedinger-1.0.la|${LOCALBASE}/lib/libschroedinger-1.0.la|g" \
- ${WRKSRC}/gst/Makefile
-
-pre-build:
- @cd ${WRKSRC}/gst-libs/gst/video && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${_MAKE_JOBS} ${MAKE_ARGS} ${ALL_TARGET}
-
-.endif
-
.include <bsd.port.post.mk>