2006-03-04 22:28:51 +01:00
|
|
|
# $NetBSD: Makefile,v 1.4 2006/03/04 21:29:56 jlam Exp $
|
2006-01-27 20:47:21 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= js-1.5
|
|
|
|
PKGNAME= ${DISTNAME:S/js/spidermonkey/}
|
2006-02-26 21:36:58 +01:00
|
|
|
PKGREVISION= 2
|
2006-01-27 20:47:21 +01:00
|
|
|
CATEGORIES= lang
|
|
|
|
MASTER_SITES= http://ftp.mozilla.org/pub/mozilla.org/js/
|
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2006-01-27 20:47:21 +01:00
|
|
|
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"
|