freebsd-ports/graphics/driconf/Makefile
Eric Anholt 99f1e6024b Respect ${PREFIX}
Submitted by:	Soeren Straarup <xride@x12.dk>
2005-06-17 17:10:17 +00:00

30 lines
722 B
Makefile

# New ports collection makefile for: driconf
# Date created: 1 Apr, 2005
# Whom: anholt@FreeBSD.org
#
# $FreeBSD$
#
PORTNAME= driconf
PORTVERSION= 0.2.6
CATEGORIES= graphics
MASTER_SITES= http://dri.freedesktop.org/~fxkuehl/driconf/
MAINTAINER= anholt@FreeBSD.org
COMMENT= Configuration program for DRI drivers
LIB_DEPENDS= glut.3:${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_REINPLACE= 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>