- Reword COMMENT

- Use CONFLICTS_INSTALL instead of CONFLICTS
- Use USES=execinfo
- Fix PLIST
- Bump PORTREVISION for package change
- Cosmetic change
- Update pkg-descr
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2014-08-12 18:16:28 +00:00
parent 294548b397
commit e9bde6cdd5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=364729
3 changed files with 27 additions and 21 deletions

View file

@ -3,29 +3,29 @@
PORTNAME= v8 PORTNAME= v8
PORTVERSION= 3.27.7 PORTVERSION= 3.27.7
PORTREVISION= 0 PORTREVISION= 1
CATEGORIES= lang CATEGORIES= lang
MASTER_SITES= LOCAL/vanilla MASTER_SITES= LOCAL/vanilla
PKGNAMESUFFIX= -devel PKGNAMESUFFIX= -devel
MAINTAINER= sunpoet@FreeBSD.org MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Google's open source JavaScript engine COMMENT= Open source JavaScript engine by Google
LICENSE= BSD3CLAUSE LICENSE= BSD3CLAUSE
BUILD_DEPENDS= python:${PORTSDIR}/lang/python BUILD_DEPENDS= ${LOCALBASE}/bin/python:${PORTSDIR}/lang/python
LIB_DEPENDS= libexecinfo.so:${PORTSDIR}/devel/libexecinfo \ LIB_DEPENDS= libicui18n.so:${PORTSDIR}/devel/icu
libicui18n.so:${PORTSDIR}/devel/icu
CONFLICTS= v8-3.19.* CONFLICTS_INSTALL= v8-[0-9]*
USES= gmake shebangfix compiler tar:xz
SHEBANG_FILES= ${WRKSRC}/build/gyp/gyp
USE_PYTHON= 2
USE_LDCONFIG= yes
ALL_TARGET= native ALL_TARGET= native
MAKE_ARGS= library=shared use_system_icu=on MAKE_ARGS= library=shared use_system_icu=on
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 shebangfix tar:xz
SHEBANG_FILES= ${WRKSRC}/build/gyp/gyp
bash_CMD= ${SH} bash_CMD= ${SH}
.include <bsd.port.pre.mk> .include <bsd.port.pre.mk>
@ -52,14 +52,8 @@ post-patch:
do-install: do-install:
${INSTALL_PROGRAM} ${WRKSRC}/out/native/d8 ${STAGEDIR}${PREFIX}/bin/d8 ${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 cd ${WRKSRC}/include/ && ${INSTALL_DATA} *.h ${STAGEDIR}${PREFIX}/include/
${LN} -sf ${PREFIX}/lib/libv8.so.1 ${STAGEDIR}${PREFIX}/lib/libv8.so ${INSTALL_LIB} ${WRKSRC}/out/native/lib.target/libv8.so ${STAGEDIR}${PREFIX}/lib/libv8.so.1
${INSTALL_DATA} ${WRKSRC}/include/v8.h ${STAGEDIR}${PREFIX}/include ${LN} -fs ${PREFIX}/lib/libv8.so.1 ${STAGEDIR}${PREFIX}/lib/libv8.so
${INSTALL_DATA} ${WRKSRC}/include/v8-debug.h ${STAGEDIR}${PREFIX}/include
${INSTALL_DATA} ${WRKSRC}/include/v8-platform.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/v8config.h ${STAGEDIR}${PREFIX}/include
${INSTALL_DATA} ${WRKSRC}/include/v8stdint.h ${STAGEDIR}${PREFIX}/include
.include <bsd.port.post.mk> .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/ WWW: http://code.google.com/p/v8/

View file

@ -3,6 +3,7 @@ include/v8-debug.h
include/v8-platform.h include/v8-platform.h
include/v8-profiler.h include/v8-profiler.h
include/v8-testing.h include/v8-testing.h
include/v8-util.h
include/v8.h include/v8.h
include/v8config.h include/v8config.h
include/v8stdint.h include/v8stdint.h