mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
- Add LICENSE
- Fix build for users with python 3.x as default - Simplify shebang fix Submitted by: sunpoet (myself) Approved by: vanilla (maintainer)
This commit is contained in:
parent
f35a01d203
commit
0d30bd7c79
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=343316
1 changed files with 6 additions and 3 deletions
|
@ -11,6 +11,8 @@ PKGNAMESUFFIX= -devel
|
|||
MAINTAINER= vanilla@FreeBSD.org
|
||||
COMMENT= Google\'s open source JavaScript engine
|
||||
|
||||
LICENSE= BSD3CLAUSE
|
||||
|
||||
BUILD_DEPENDS= python:${PORTSDIR}/lang/python
|
||||
LIB_DEPENDS= libexecinfo.so:${PORTSDIR}/devel/libexecinfo \
|
||||
libicui18n.so:${PORTSDIR}/devel/icu
|
||||
|
@ -18,7 +20,6 @@ LIB_DEPENDS= libexecinfo.so:${PORTSDIR}/devel/libexecinfo \
|
|||
CONFLICTS= v8-3.19.*
|
||||
|
||||
USES= gmake shebangfix compiler
|
||||
SHEBANG_LANG= sh
|
||||
SHEBANG_FILES= ${WRKSRC}/build/gyp/gyp
|
||||
USE_XZ= yes
|
||||
USE_PYTHON= 2
|
||||
|
@ -26,8 +27,7 @@ USE_LDCONFIG= yes
|
|||
ALL_TARGET= native
|
||||
MAKE_ARGS= library=shared use_system_icu=on
|
||||
MAKE_ENV+= CC.host=${CC} CXX.host=${CXX} LINK.host=${CXX} LINK.target=${CXX}
|
||||
sh_OLD_CMD= /bin/bash
|
||||
sh_CMD= ${SH}
|
||||
bash_CMD= ${SH}
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
|
@ -45,6 +45,9 @@ USE_GCC= any
|
|||
|
||||
ONLY_FOR_ARCHS= i386 amd64
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e '/^exec python / s| python | ${PYTHON_CMD} |' ${WRKSRC}/build/gyp/gyp
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/out/native/d8 ${STAGEDIR}${PREFIX}/bin/d8
|
||||
${INSTALL_LIB} -m 755 ${WRKSRC}/out/native/lib.target/libv8.so ${STAGEDIR}${PREFIX}/lib/libv8.so.1
|
||||
|
|
Loading…
Add table
Reference in a new issue