mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
- change another file, forgotten in previous commit, to make this
port actually respect PREFIX - sort pkg-plist, while here
This commit is contained in:
parent
a155398af8
commit
d07a39d434
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=321048
@ -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>
|
||||
|
@ -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"):
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user