Date: Mon, 30 Jan 2017 11:37:16 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r432836 - in branches/2017Q1/net-p2p/bitmessage: . files Message-ID: <201701301137.v0UBbGdN033294@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Mon Jan 30 11:37:16 2017 New Revision: 432836 URL: https://svnweb.freebsd.org/changeset/ports/432836 Log: MFH: r432835 - Fix python paths PR: 213717 Submitted by: yuri@rawbw.com (maintainer) Approved by: ports-secteam (with hat) Modified: branches/2017Q1/net-p2p/bitmessage/Makefile branches/2017Q1/net-p2p/bitmessage/files/patch-Makefile Directory Properties: branches/2017Q1/ (props changed) Modified: branches/2017Q1/net-p2p/bitmessage/Makefile ============================================================================== --- branches/2017Q1/net-p2p/bitmessage/Makefile Mon Jan 30 11:35:18 2017 (r432835) +++ branches/2017Q1/net-p2p/bitmessage/Makefile Mon Jan 30 11:37:16 2017 (r432836) @@ -3,6 +3,7 @@ PORTNAME= bitmessage PORTVERSION= 0.6.1 +PORTREVISION= 1 DISTVERSIONPREFIX= v CATEGORIES= net-p2p @@ -32,12 +33,11 @@ OPTIONS_SUB= yes REINPLACE_ARGS= -i '' post-patch: - @${REINPLACE_CMD} -e 's|python2|${PYTHON_CMD}| ; s|share/man|man|' \ + @${REINPLACE_CMD} -e 's|@PYTHON@|${PYTHON_CMD}|' \ ${WRKSRC}/Makefile @${REINPLACE_CMD} -e "s|\((CCFLAGS)\)|\1 -I${OPENSSLINC} |g" \ -e "s|\(-lcrypto\)|-L${OPENSSLLIB} \1|g" \ ${WRKSRC}/src/bitmsghash/Makefile - @${REINPLACE_CMD} -e 's|python2|${PYTHON_CMD}| ; s|share/man|man|' ${WRKSRC}/Makefile ${WRKSRC}/src/depends.py @${REINPLACE_CMD} -e 's|^#!.*$$|#!${PYTHON_CMD}|' \ ${WRKSRC}/compiletest.py ${WRKSRC}/src/bitmessagecli.py ${WRKSRC}/src/bitmessagemain.py \ ${WRKSRC}/src/depends.py \ Modified: branches/2017Q1/net-p2p/bitmessage/files/patch-Makefile ============================================================================== --- branches/2017Q1/net-p2p/bitmessage/files/patch-Makefile Mon Jan 30 11:35:18 2017 (r432835) +++ branches/2017Q1/net-p2p/bitmessage/files/patch-Makefile Mon Jan 30 11:37:16 2017 (r432836) @@ -26,7 +26,7 @@ + echo ' echo "BitMessage directory not found"' >> ${DESTDIR}${PREFIX}/bin/${APP} + echo ' exit 1' >> ${DESTDIR}${PREFIX}/bin/${APP} echo 'fi' >> ${DESTDIR}${PREFIX}/bin/${APP} -+ echo 'exec /usr/local/bin/python2.7 bitmessagemain.py' >> ${DESTDIR}${PREFIX}/bin/${APP} ++ echo 'exec @PYTHON@ bitmessagemain.py' >> ${DESTDIR}${PREFIX}/bin/${APP} chmod +x ${DESTDIR}${PREFIX}/bin/${APP} uninstall: - rm -f ${PREFIX}/share/man/man1/${APP}.1.gz
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201701301137.v0UBbGdN033294>