41 lines
925 B
Makefile
41 lines
925 B
Makefile
# Ports collection makefile for: spidermonkey
|
|
# Date created: Fri Apr 18, 2003
|
|
# Whom: Dan Rench (citric@cubicone.tmetic.com)
|
|
#
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= js
|
|
PORTVERSION= 1.5.p5
|
|
PORTREVISION= 2
|
|
CATEGORIES= lang
|
|
MASTER_SITES= ${MASTER_SITE_MOZILLA}
|
|
MASTER_SITE_SUBDIR= js
|
|
DISTNAME= js-1.5-rc5a
|
|
|
|
MAINTAINER= citric@cubicone.tmetic.com
|
|
COMMENT= A standalone JavaScript interpreter from the Mozilla project
|
|
|
|
CONFLICTS= njs-*
|
|
|
|
PLIST_FILES= bin/js
|
|
USE_GMAKE= YES
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${ARCH} == "amd64" || ${ARCH} == "ia64"
|
|
BROKEN= "Does not compile on amd64 or ia64 (missing -fPIC)"
|
|
.endif
|
|
|
|
post-extract:
|
|
${MV} ${WRKDIR}/js/src ${WRKSRC} && \
|
|
${RM} -rf js && \
|
|
${CP} ${WRKSRC}/config/Linux_All.mk \
|
|
${WRKSRC}/config/`uname -s``uname -r`.mk && \
|
|
${CP} ${WRKSRC}/Makefile.ref ${WRKSRC}/Makefile
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/`uname -s``uname -r`_DBG.OBJ/js \
|
|
${PREFIX}/bin
|
|
|
|
.include <bsd.port.post.mk>
|