- Reword COMMENT

- Use CONFLICTS_INSTALL instead of CONFLICTS
- Use USES=execinfo
- Cosmetic change
- Update pkg-descr
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2014-08-12 18:15:53 +00:00
parent 0b3845059b
commit 294548b397
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=364728
2 changed files with 23 additions and 18 deletions

View file

@ -7,21 +7,20 @@ CATEGORIES= lang
MASTER_SITES= LOCAL/vanilla
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Google's open source JavaScript engine
COMMENT= Open source JavaScript engine by Google
LICENSE= BSD3CLAUSE
BUILD_DEPENDS= python:${PORTSDIR}/lang/python
LIB_DEPENDS= libexecinfo.so:${PORTSDIR}/devel/libexecinfo
BUILD_DEPENDS= ${LOCALBASE}/bin/python:${PORTSDIR}/lang/python
CONFLICTS= v8-3.27.*
CONFLICTS_INSTALL= v8-devel-[0-9]*
USES= gmake compiler tar:xz
USE_PYTHON= 2
USE_LDCONFIG= yes
ALL_TARGET= native
MAKE_ARGS= library=shared
MAKE_ENV+= CC.host=${CC} CXX.host=${CXX} LINK.host=${CXX} LINK.target=${CXX}
MAKE_ENV= CC.host=${CC} CXX.host=${CXX} LINK.host=${CXX} LINK.target=${CXX}
USE_LDCONFIG= yes
USE_PYTHON= 2
USES= compiler execinfo gmake tar:xz
.include <bsd.port.pre.mk>
@ -47,14 +46,9 @@ post-patch:
@${REINPLACE_CMD} -e '1 s|${SETENV} python|&2|' ${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
${LN} -sf ${PREFIX}/lib/libv8.so.1 ${STAGEDIR}/${PREFIX}/lib/libv8.so
${INSTALL_DATA} ${WRKSRC}/include/v8.h ${STAGEDIR}/${PREFIX}/include
${INSTALL_DATA} ${WRKSRC}/include/v8-debug.h ${STAGEDIR}/${PREFIX}/include
${INSTALL_DATA} ${WRKSRC}/include/v8-preparser.h ${STAGEDIR}/${PREFIX}/include
${INSTALL_DATA} ${WRKSRC}/include/v8-profiler.h ${STAGEDIR}/${PREFIX}/include
${INSTALL_DATA} ${WRKSRC}/include/v8-testing.h ${STAGEDIR}/${PREFIX}/include
${INSTALL_DATA} ${WRKSRC}/include/v8stdint.h ${STAGEDIR}/${PREFIX}/include
${INSTALL_PROGRAM} ${WRKSRC}/out/native/d8 ${STAGEDIR}${PREFIX}/bin/d8
cd ${WRKSRC}/include/ && ${INSTALL_DATA} *.h ${STAGEDIR}${PREFIX}/include/
${INSTALL_LIB} ${WRKSRC}/out/native/lib.target/libv8.so ${STAGEDIR}${PREFIX}/lib/libv8.so.1
${LN} -fs ${PREFIX}/lib/libv8.so.1 ${STAGEDIR}${PREFIX}/lib/libv8.so
.include <bsd.port.post.mk>

View file

@ -1,3 +1,14 @@
Google's open source JavaScript engine
V8 is Google's open source JavaScript engine.
V8 is written in C++ and is used in Google Chrome, the open source browser from
Google.
V8 implements ECMAScript as specified in ECMA-262, 5th edition, and runs on
Windows (XP or newer), Mac OS X (10.5 or newer), and Linux systems that use
IA-32, x64, or ARM processors.
V8 can run standalone, or can be embedded into any C++ application.
Git repository at https://github.com/v8/v8
WWW: http://code.google.com/p/v8/