aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/driconf/Makefile
blob: 2d11ae10f149d5625417a016bd665f3b83231eab (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
# New ports collection makefile for:    driconf
# Date created:                 1 Apr, 2005
# Whom:                 anholt@FreeBSD.org
#
# $FreeBSD$
#

PORTNAME=   driconf
PORTVERSION=    0.2.6
PORTREVISION=   1
CATEGORIES= graphics
MASTER_SITES=   http://people.freedesktop.org/~fxkuehl/driconf/

MAINTAINER= anholt@FreeBSD.org
COMMENT=    Configuration program for DRI drivers

LIB_DEPENDS=    glut.4:${PORTSDIR}/graphics/libglut
RUN_DEPENDS=    ${PYTHON_SITELIBDIR}/gtk-2.0/gtk/__init__.py:${PORTSDIR}/x11-toolkits/py-gtk2

USE_PYTHON= yes
NO_BUILD=   yes

pre-patch:
    @${FIND} ${WRKSRC} -type f | ${XARGS} ${REINPLACE_CMD} \
        -e 's|/usr/local|${PREFIX}|'

do-install:
    @(cd ${WRKSRC} && ${PYTHON_CMD} setup.py install)

.include <bsd.port.mk>