1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/lang/v8/Makefile

44 lines
1.2 KiB
Makefile
Raw Normal View History

2012-12-12 02:02:55 +00:00
# Created by: siasia
# $FreeBSD$
PORTNAME= v8
2012-12-12 02:02:55 +00:00
PORTVERSION= 3.15.10
PORTREVISION= 0
CATEGORIES= lang
2011-11-03 15:13:15 +00:00
MASTER_SITES= LOCAL/vanilla
MAINTAINER= vanilla@FreeBSD.org
COMMENT= Google\'s open source JavaScript engine
2012-12-12 02:02:55 +00:00
LIB_DEPENDS= execinfo:${PORTSDIR}/devel/libexecinfo
2012-05-18 07:34:26 +00:00
USE_GMAKE= yes
USE_PYTHON= 2.7+
2011-11-03 15:13:15 +00:00
USE_XZ= yes
USE_LDCONFIG= yes
2012-05-18 07:34:26 +00:00
ALL_TARGET= native
2012-05-18 07:34:26 +00:00
MAKE_ARGS= library=shared
2012-12-12 02:02:55 +00:00
.if ${CC:T:Mclang} == "clang" || ${CXX:T:Mclang++} == "clang++" || ${OSVERSION} >= 1000024
2012-05-18 07:34:26 +00:00
MAKE_ENV+= LINK=clang++
.else
2012-05-18 07:34:26 +00:00
MAKE_ARGS+= strictaliasing=off
2012-12-12 02:02:55 +00:00
USE_GCC= any
.endif
ONLY_FOR_ARCHS= i386 amd64
do-install:
2012-10-23 16:36:12 +00:00
${INSTALL_PROGRAM} ${WRKSRC}/out/native/d8 ${PREFIX}/bin/d8
2012-05-18 07:34:26 +00:00
${INSTALL_LIB} -m 755 ${WRKSRC}/out/native/lib.target/libv8.so ${PREFIX}/lib/libv8.so.1
${LN} -sf ${PREFIX}/lib/libv8.so.1 ${PREFIX}/lib/libv8.so
${INSTALL_DATA} ${WRKSRC}/include/v8.h ${PREFIX}/include/
${INSTALL_DATA} ${WRKSRC}/include/v8-debug.h ${PREFIX}/include/
${INSTALL_DATA} ${WRKSRC}/include/v8-preparser.h ${PREFIX}/include/
${INSTALL_DATA} ${WRKSRC}/include/v8-profiler.h ${PREFIX}/include/
${INSTALL_DATA} ${WRKSRC}/include/v8-testing.h ${PREFIX}/include/
${INSTALL_DATA} ${WRKSRC}/include/v8stdint.h ${PREFIX}/include/
2012-12-12 02:02:55 +00:00
.include <bsd.port.mk>