aboutsummaryrefslogtreecommitdiffstats
path: root/x11/xvmcinfo/Makefile
blob: 3524a282e9796cda10c60ad3178626051bcac3fc (plain) (blame)
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
28
29
30
31
32
33
# New ports collection makefile for:    xvmcinfo
# Date Created:             6 Dec 2008
# Whom:                 bms
#
# $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

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>