2010-09-24 21:06:00 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= libvdpau
|
2012-09-18 22:53:20 +02:00
|
|
|
PORTVERSION= 0.5
|
2010-09-24 21:06:00 +02:00
|
|
|
CATEGORIES= multimedia
|
2012-09-19 01:05:43 +02:00
|
|
|
MASTER_SITES= http://people.freedesktop.org/~aplattner/vdpau/
|
2010-09-24 21:06:00 +02:00
|
|
|
|
2011-12-26 17:12:27 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2010-09-24 21:06:00 +02:00
|
|
|
COMMENT= VDPAU wrapper and tracing library
|
|
|
|
|
2012-09-18 22:53:20 +02:00
|
|
|
LICENSE= MIT
|
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
|
|
|
|
USE_AUTOTOOLS= autoconf:env automake:env libtool:env
|
2010-09-24 21:06:00 +02:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --disable-documentation
|
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_XORG= dri2proto xext
|
|
|
|
USE_LDCONFIG= yes
|
|
|
|
|
2011-01-13 11:20:52 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if defined(WITH_DEBUG)
|
|
|
|
CFLAGS+= -DDEBUG
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(STRIP) && ${STRIP} != ""
|
|
|
|
INSTALL_TARGET= install-strip
|
|
|
|
.endif
|
|
|
|
|
2012-09-18 22:53:20 +02:00
|
|
|
pre-configure:
|
|
|
|
@cd ${WRKSRC} && ${SETENV} ${AUTOTOOLS_ENV} ./autogen.sh
|
|
|
|
|
|
|
|
post-patch:
|
2010-09-24 21:06:00 +02:00
|
|
|
${REINPLACE_CMD} 's|$$(libdir)/\(pkgconfig\)|$$(prefix)/libdata/\1|' \
|
2012-09-18 22:53:20 +02:00
|
|
|
${WRKSRC}/Makefile.am
|
2010-09-24 21:06:00 +02:00
|
|
|
|
2011-01-13 11:20:52 +01:00
|
|
|
.include <bsd.port.post.mk>
|