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

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

MAINTAINER= ports@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
USE_GETTEXT=    yes
INSTALLS_EGGINFO=   yes
PYDISTUTILS_EGGINFODIR= lib/driconf

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>