mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
7eb91ea7b9
Reported by: mat > PR: If and which Problem Report is related. > Submitted by: If someone else sent in the change. > Reported by: If someone else reported the issue. > Reviewed by: If someone else reviewed your modification. > Approved by: If you needed approval for this commit. > Obtained from: If the change is from a third party. > MFC after: N [day[s]|week[s]|month[s]]. Request a reminder email. > MFH: Ports tree branch name. Request approval for merge. > Relnotes: Set to 'yes' for mention in release notes. > Security: Vulnerability reference (one per line) or description. > Sponsored by: If the change was sponsored by an organization. > Differential Revision: https://reviews.freebsd.org/D### (*full* phabric URL needed). > Empty fields above will be automatically removed. M libvdpau/Makefile
35 lines
869 B
Makefile
35 lines
869 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= libvdpau
|
|
PORTVERSION= 1.1.1
|
|
CATEGORIES= multimedia
|
|
MASTER_SITES= http://cgit.freedesktop.org/~aplattner/libvdpau/snapshot/
|
|
|
|
MAINTAINER= madpilot@FreeBSD.org
|
|
COMMENT= VDPAU wrapper and tracing library
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
USES= autoreconf libtool pkgconfig tar:xz
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --disable-documentation
|
|
USE_XORG= dri2proto xext
|
|
USE_LDCONFIG= yes
|
|
INSTALL_TARGET= install-strip
|
|
|
|
OPTIONS_DEFINE= DEBUG
|
|
|
|
DEBUG_CFLAGS= -D_DEBUG
|
|
DEBUG_CFLAGS_OFF= -DNDEBUG
|
|
|
|
post-patch: .SILENT
|
|
${REINPLACE_CMD} 's|$$(libdir)/\(pkgconfig\)|$$(prefix)/libdata/\1|' \
|
|
${WRKSRC}/Makefile.am
|
|
${REINPLACE_CMD} '/^export /d' ${WRKSRC}/doc/Makefile.am
|
|
cd ${WRKSRC}/src && ${MV} vdpau_wrapper.cfg vdpau_wrapper.cfg.sample
|
|
${REINPLACE_CMD} 's/vdpau_wrapper.cfg/&.sample/' \
|
|
${WRKSRC}/src/Makefile.am
|
|
|
|
.include <bsd.port.mk>
|