# New ports collection makefile for:	xvmcinfo
# Date Created:				6 Dec 2008
# Whom:					bms
#
# $FreeBSD: branches/RELEASE_8_4_0/x11/xvmcinfo/Makefile 300897 2012-07-14 14:29:18Z beat $
#

PORTNAME=	xvmcinfo
PORTVERSION=	0.1
CATEGORIES=	x11
DISTFILES=

MAINTAINER=	x11@FreeBSD.org
COMMENT=	Print out XvMC extension adaptor information

USE_XORG=	xvmc xv x11

LDFLAGS+=	-lXvMC -lXv -lX11
NO_WRKSUBDIR=	defined

PLIST_FILES=	bin/xvmcinfo

NO_MAN=		defined

do-build:
	${CC} ${CFLAGS} ${CPPFLAGS} \
	    -I${LOCALBASE}/include -L${LOCALBASE}/lib \
	    -o ${WRKSRC}/xvmcinfo ${FILESDIR}/xvmcinfo.c ${LDFLAGS}

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/xvmcinfo ${PREFIX}/bin

.include <bsd.port.mk>
