freebsd-ports/multimedia/schroedinger/Makefile
Dmitry Marakasov e33f156926 - Add gstreamer support & fix build when gstreamer is present
PR:		127624
Submitted by:	"Eric L. Chen" <d9364104 at mail dot nchu dot edu dot tw>
Improved by:	me
2008-09-25 18:44:57 +00:00

39 lines
863 B
Makefile

# New ports collection makefile for: schroedinger
# Date created: 2008-06-14
# Whom: Gea-Suan Lin <gslin@gslin.org>
#
# $FreeBSD$
#
PORTNAME= schroedinger
PORTVERSION= 1.0.5
PORTREVISION= 1
CATEGORIES= multimedia
MASTER_SITES= http://www.diracvideo.org/download/%SUBDIR%/
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= High-speed Dirac codec
LIB_DEPENDS= oil:${PORTSDIR}/devel/liboil
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
WANT_GSTREAMER= yes
OPTIONS= GSTREAMER "Enable gstreamer plugin" on
.include <bsd.port.pre.mk>
.if defined(WITHOUT_GSTREAMER)
CONFIGURE_ARGS+= --disable-gstreamer
PLIST_SUB+= GSTREAMER="@comment "
.else
USE_GSTREAMER= yes
PLIST_SUB+= GSTREAMER=""
.endif
post-patch:
${REINPLACE_CMD} -e 's|^pkgconfigdir=.*|pkgconfigdir="\\$$(prefix)/libdata/pkgconfig"|' ${WRKSRC}/configure
.include <bsd.port.post.mk>