40f4a5dcd3
Use distfile hosted at debian (this is cheating :)) undeprecate PR: ports/156688 Submitted by: Zhihao Yuan <lichray _at_ gmail.com>
35 lines
829 B
Makefile
35 lines
829 B
Makefile
# New ports collection makefile for: driconf
|
|
# Date created: 1 Apr, 2005
|
|
# Whom: anholt@FreeBSD.org
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= driconf
|
|
PORTVERSION= 0.9.1
|
|
PORTREVISION= 6
|
|
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
|
|
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>
|