- change another file, forgotten in previous commit, to make this

port actually respect PREFIX
- sort pkg-plist, while here
This commit is contained in:
Ruslan Makhmatkhanov 2013-06-16 13:50:54 +00:00
parent a155398af8
commit d07a39d434
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=321048
3 changed files with 11 additions and 10 deletions

View File

@ -21,6 +21,7 @@ USE_PYDISTUTILS=yes
PYDISTUTILS_PKGNAME= Electrum
post-patch:
@${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},g' ${WRKSRC}/setup.py
@${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},g' \
${WRKSRC}/setup.py ${WRKSRC}/lib/util.py
.include <bsd.port.mk>

View File

@ -6,7 +6,7 @@
return os.path.join(sys.prefix, "share", "electrum")
+ elif (sys.platform.startswith("dragonfly") or
+ sys.platform.startswith("freebsd")):
+ return os.path.join(sys.prefix, "share", "electrum")
+ return os.path.join('%%PREFIX%%', "share", "electrum")
elif (platform.system() == "Darwin" or
- platform.system() == "DragonFly" or
platform.system() == "NetBSD"):

View File

@ -110,9 +110,6 @@ bin/electrum
%%PYTHON_SITELIBDIR%%/electrum_plugins/virtualkeyboard.py
%%PYTHON_SITELIBDIR%%/electrum_plugins/virtualkeyboard.pyc
%%PYTHON_SITELIBDIR%%/electrum_plugins/virtualkeyboard.pyo
@dirrm %%PYTHON_SITELIBDIR%%/electrum_plugins
@dirrm %%PYTHON_SITELIBDIR%%/electrum_gui
@dirrm %%PYTHON_SITELIBDIR%%/electrum
share/app-install/icons/electrum.png
share/applications/electrum.desktop
share/electrum/README
@ -138,10 +135,13 @@ share/locale/sl/LC_MESSAGES/electrum.mo
share/locale/ta/LC_MESSAGES/electrum.mo
share/locale/vi/LC_MESSAGES/electrum.mo
share/locale/zh/LC_MESSAGES/electrum.mo
@dirrm share/electrum/sahara
@dirrm share/electrum/dark
@dirrm share/electrum/cleanlook
@dirrm share/electrum
@dirrmtry share/applications
@dirrmtry share/app-install/icons
@dirrmtry share/app-install
@dirrmtry share/applications
@dirrm share/electrum/cleanlook
@dirrm share/electrum/dark
@dirrm share/electrum/sahara
@dirrm share/electrum
@dirrm %%PYTHON_SITELIBDIR%%/electrum_plugins
@dirrm %%PYTHON_SITELIBDIR%%/electrum_gui
@dirrm %%PYTHON_SITELIBDIR%%/electrum