- Stagify

- Fix pydistutils usage

PR:		190385
Submitted by:	lichray@gmail.com (maintainer)
This commit is contained in:
Guido Falsi 2014-06-09 18:03:25 +00:00
parent da8ee64fe9
commit 4bd79c1c41
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=357191
2 changed files with 9 additions and 9 deletions

View file

@ -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>

View file

@ -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