summaryrefslogtreecommitdiff
path: root/lang/spidermonkey/Makefile
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2006-01-27 19:47:21 +0000
committerxtraeme <xtraeme@pkgsrc.org>2006-01-27 19:47:21 +0000
commit345b9200392734e8e604fd04be0c32628d737e5e (patch)
treed78d474de3809042572e09dd6813b347e7e700ad /lang/spidermonkey/Makefile
parentf12cd15a40d71d8e36cf2f5c7d363de270a8f11a (diff)
downloadpkgsrc-345b9200392734e8e604fd04be0c32628d737e5e.tar.gz
Initial import of spidermonkey-1.5.
SpiderMonkey is the code-name for the Mozilla's C implementation of JavaScript.
Diffstat (limited to 'lang/spidermonkey/Makefile')
-rw-r--r--lang/spidermonkey/Makefile35
1 files changed, 35 insertions, 0 deletions
diff --git a/lang/spidermonkey/Makefile b/lang/spidermonkey/Makefile
new file mode 100644
index 00000000000..f16ad1b307c
--- /dev/null
+++ b/lang/spidermonkey/Makefile
@@ -0,0 +1,35 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/01/27 19:47:21 xtraeme Exp $
+#
+
+DISTNAME= js-1.5
+PKGNAME= ${DISTNAME:S/js/spidermonkey/}
+CATEGORIES= lang
+MASTER_SITES= http://ftp.mozilla.org/pub/mozilla.org/js/
+
+MAINTAINER= tech-pkg@NetBSD.org
+HOMEPAGE= http://www.mozilla.org/js/spidermonkey/
+COMMENT= Standalone JavaScript implementation in C
+
+WRKSRC= ${WRKDIR}/js/src
+
+NO_CONFIGURE= yes
+USE_TOOLS+= gmake
+MAKEFILE= Makefile.ref
+
+INSTALLATION_DIRS= bin include lib
+
+DIST_HEADERS= jsapi.h jsautocfg.h jscompat.h jslong.h \
+ jsosdep.h jsotypes.h jspubtd.h jstypes.h
+
+post-extract:
+ ${CP} ${FILESDIR}/pkgsrc.mk ${WRKSRC}/config
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/pkgsrc_DBG.OBJ/js ${PREFIX}/bin
+ ${INSTALL_LIB} ${WRKSRC}/pkgsrc_DBG.OBJ/libjs.so ${PREFIX}/lib
+ ${CP} ${WRKSRC}/pkgsrc_DBG.OBJ/jsautocfg.h ${WRKSRC}
+.for f in ${DIST_HEADERS}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/include
+.endfor
+
+.include "../../mk/bsd.pkg.mk"