freebsd-ports/graphics/driconf/Makefile

32 lines
741 B
Makefile

# Created by: anholt@FreeBSD.org
# $FreeBSD$
PORTNAME= driconf
PORTVERSION= 0.9.1
PORTREVISION= 7
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_DEBIAN}
MASTER_SITE_SUBDIR= pool/main/d/${PORTNAME}
DISTFILES= ${PORTNAME}_${PORTVERSION}.orig.tar.gz
MAINTAINER= lichray@gmail.com
COMMENT= Configuration program for DRI drivers
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/gtk-2.0/gtk/__init__.py:${PORTSDIR}/x11-toolkits/py-gtk2
USE_GL= glut
USE_PYTHON= yes
NO_BUILD= yes
USES= gettext
INSTALLS_EGGINFO= yes
PYDISTUTILS_EGGINFODIR= lib/driconf
NO_STAGE= 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>