Date: Sun, 16 Jun 2013 13:50:54 +0000 (UTC) From: Ruslan Makhmatkhanov <rm@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r321048 - in head/finance/electrum: . files Message-ID: <201306161350.r5GDosnE041453@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: rm Date: Sun Jun 16 13:50:54 2013 New Revision: 321048 URL: http://svnweb.freebsd.org/changeset/ports/321048 Log: - change another file, forgotten in previous commit, to make this port actually respect PREFIX - sort pkg-plist, while here Modified: head/finance/electrum/Makefile head/finance/electrum/files/patch-lib__util.py head/finance/electrum/pkg-plist Modified: head/finance/electrum/Makefile ============================================================================== --- head/finance/electrum/Makefile Sun Jun 16 13:50:54 2013 (r321047) +++ head/finance/electrum/Makefile Sun Jun 16 13:50:54 2013 (r321048) @@ -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> Modified: head/finance/electrum/files/patch-lib__util.py ============================================================================== --- head/finance/electrum/files/patch-lib__util.py Sun Jun 16 13:50:54 2013 (r321047) +++ head/finance/electrum/files/patch-lib__util.py Sun Jun 16 13:50:54 2013 (r321048) @@ -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"): Modified: head/finance/electrum/pkg-plist ============================================================================== --- head/finance/electrum/pkg-plist Sun Jun 16 13:50:54 2013 (r321047) +++ head/finance/electrum/pkg-plist Sun Jun 16 13:50:54 2013 (r321048) @@ -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 -@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/dark +@dirrm share/electrum/cleanlook @dirrm share/electrum +@dirrmtry share/applications +@dirrmtry share/app-install/icons +@dirrmtry share/app-install +@dirrm %%PYTHON_SITELIBDIR%%/electrum_plugins +@dirrm %%PYTHON_SITELIBDIR%%/electrum_gui +@dirrm %%PYTHON_SITELIBDIR%%/electrum
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306161350.r5GDosnE041453>