aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/driconf
diff options
context:
space:
mode:
authormadpilot <madpilot@FreeBSD.org>2014-06-10 02:03:25 +0800
committermadpilot <madpilot@FreeBSD.org>2014-06-10 02:03:25 +0800
commite20af9e83fb87c0776f0791413d6367989b8d300 (patch)
tree40f6891068b8f5cfd4016429308921dc671975ce /graphics/driconf
parentc925fa1be90501ab4196e1af9b0a71c48551a6ed (diff)
downloadfreebsd-ports-gnome-e20af9e83fb87c0776f0791413d6367989b8d300.tar.gz
freebsd-ports-gnome-e20af9e83fb87c0776f0791413d6367989b8d300.tar.zst
freebsd-ports-gnome-e20af9e83fb87c0776f0791413d6367989b8d300.zip
- Stagify
- Fix pydistutils usage PR: 190385 Submitted by: lichray@gmail.com (maintainer)
Diffstat (limited to 'graphics/driconf')
-rw-r--r--graphics/driconf/Makefile13
-rw-r--r--graphics/driconf/pkg-plist5
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 <bsd.port.mk>
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