summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2013-09-24 22:07:10 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2013-09-24 22:07:10 +0000
commitd616a342105f759a6c846cba57e3bf19517d3be4 (patch)
tree86c4c240673911ec3ac0b07fd21f15a1edca204f /lang
parentSupport stage. (diff)
Add support STAGEDIR.
Notes
Notes: svn path=/head/; revision=328202
Diffstat (limited to 'lang')
-rw-r--r--lang/v8/Makefile19
-rw-r--r--lang/v8/pkg-plist2
2 files changed, 10 insertions, 11 deletions
diff --git a/lang/v8/Makefile b/lang/v8/Makefile
index 91de903423dd..fa7183aac5bf 100644
--- a/lang/v8/Makefile
+++ b/lang/v8/Makefile
@@ -18,7 +18,6 @@ USE_LDCONFIG= yes
ALL_TARGET= native
MAKE_ARGS= library=shared
-NO_STAGE= yes
.include <bsd.port.pre.mk>
.if ${CC:T:Mclang} == "clang" || ${CXX:T:Mclang++} == "clang++" || ${OSVERSION} >= 1000024
@@ -40,14 +39,14 @@ post-patch:
${WRKSRC}/build/common.gypi ${WRKSRC}/tools/gyp/v8.gyp
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/out/native/d8 ${PREFIX}/bin/d8
- ${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/
+ ${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
.include <bsd.port.post.mk>
diff --git a/lang/v8/pkg-plist b/lang/v8/pkg-plist
index 6f5d8cd5798c..4af66611b0a9 100644
--- a/lang/v8/pkg-plist
+++ b/lang/v8/pkg-plist
@@ -1,9 +1,9 @@
bin/d8
-include/v8.h
include/v8-debug.h
include/v8-preparser.h
include/v8-profiler.h
include/v8-testing.h
+include/v8.h
include/v8stdint.h
lib/libv8.so
lib/libv8.so.1