summaryrefslogtreecommitdiffstats
path: root/x11/xvmcinfo/Makefile
blob: a85d9cf198189c7329c47abb5c50724e168d7212 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Created by: Bruce M Simpson <bms@FreeBSD.org>
# $FreeBSD$

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

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

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

.include <bsd.port.mk>
OpenPOWER on IntegriCloud