1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-06 06:30:19 +00:00

- Fix shebangs

Approved by:	portmgr blanket
MFH:		2015Q3 (blanket)
This commit is contained in:
Dmitry Marakasov 2015-07-28 21:38:03 +00:00
parent c35eb20603
commit 189b382713
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=393117

View File

@ -3,6 +3,7 @@
PORTNAME= BitcoinArmory
PORTVERSION= 0.92.3
PORTREVISION= 1
DISTVERSIONPREFIX= v
CATEGORIES= finance
@ -23,7 +24,8 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}qt4-core>=${PYQT4_VERSION}:${PORTSDIR}/devel
USE_GITHUB= yes
GH_ACCOUNT= etotheipi
USES= gmake python
USES= gmake python shebangfix
SHEBANG_FILES= extras/extractKeysFromWallet.py
USE_GCC= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
@ -34,9 +36,11 @@ ONLY_FOR_ARCHS_REASON= low-level code available only for i386 and amd64
post-patch:
@${REINPLACE_CMD} 's/python-config/$${PYTHON_CONFIG}/' ${WRKSRC}/cppForSwig/Makefile
post-stage:
@${SED} -i.bak -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${STAGEDIR}/${LOCALBASE}/bin/armory && \
${RM} -f ${STAGEDIR}/${LOCALBASE}/bin/armory.bak
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/armory/_CppBlockUtils.so