From 4bd79c1c4101653ce521ec409378ee221408529a Mon Sep 17 00:00:00 2001 From: Guido Falsi Date: Mon, 9 Jun 2014 18:03:25 +0000 Subject: [PATCH] - Stagify - Fix pydistutils usage PR: 190385 Submitted by: lichray@gmail.com (maintainer) --- graphics/driconf/Makefile | 13 ++++--------- graphics/driconf/pkg-plist | 5 +++++ 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/graphics/driconf/Makefile b/graphics/driconf/Makefile index 853cc439c2bb..56d9eb489f66 100644 --- a/graphics/driconf/Makefile +++ b/graphics/driconf/Makefile @@ -3,7 +3,7 @@ PORTNAME= driconf PORTVERSION= 0.9.1 -PORTREVISION= 8 +PORTREVISION= 9 CATEGORIES= graphics MASTER_SITES= ${MASTER_SITE_DEBIAN} MASTER_SITE_SUBDIR= pool/main/d/${PORTNAME} @@ -18,15 +18,10 @@ USE_GL= glut USE_PYTHON= yes NO_BUILD= yes USES= gettext -INSTALLS_EGGINFO= yes -PYDISTUTILS_EGGINFODIR= lib/driconf +USE_PYDISTUTILS= yes +PYDISTUTILS_EGGINFODIR= ${STAGEDIR}${PREFIX}/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) + @${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|' ${WRKSRC}/driconf* ${WRKSRC}/setup.* .include diff --git a/graphics/driconf/pkg-plist b/graphics/driconf/pkg-plist index 0b23fd4d5d53..470cbc4e274b 100644 --- a/graphics/driconf/pkg-plist +++ b/graphics/driconf/pkg-plist @@ -1,14 +1,19 @@ bin/driconf lib/driconf/dri.py lib/driconf/dri.pyc +lib/driconf/dri.pyo lib/driconf/driconf.py lib/driconf/driconf.pyc +lib/driconf/driconf.pyo lib/driconf/driconf_commonui.py lib/driconf/driconf_commonui.pyc +lib/driconf/driconf_commonui.pyo lib/driconf/driconf_complexui.py lib/driconf/driconf_complexui.pyc +lib/driconf/driconf_complexui.pyo lib/driconf/driconf_simpleui.py lib/driconf/driconf_simpleui.pyc +lib/driconf/driconf_simpleui.pyo %%DATADIR%%/card.png %%DATADIR%%/drilogo.jpg %%DATADIR%%/screen.png