mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-20 04:02:27 +00:00
0fae2e9e0e
Change x11/xorgproto to become a build time dependency when added to USE_XORG. Change the dependency to be on the port, rather than a file the port installs. Fix fallout. Bump portrevision on depending ports. PR: 230909 Reviewed by: eadler Approved by: portmgr (antoine) Obtained from: https://github.com/FreeBSDDesktop/freebsd-ports/tree/feature/xorgproto exp-run: antoine Differential Revision: https://reviews.freebsd.org/D16906
36 lines
885 B
Makefile
36 lines
885 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= libvdpau
|
|
PORTVERSION= 1.1.1
|
|
PORTREVISION= 2
|
|
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= xorgproto 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>
|