2002-01-22 11:52:52 +00:00
|
|
|
# New ports collection makefile for: njs
|
|
|
|
# Date created: Fri Jan 11 20:45:26 GMT 2002
|
|
|
|
# Whom: thierry@pompo.net
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= njs
|
|
|
|
PORTVERSION= 0.2.5
|
2002-01-28 23:41:17 +00:00
|
|
|
PORTREVISION= 1
|
2002-01-22 11:52:52 +00:00
|
|
|
CATEGORIES= lang
|
|
|
|
MASTER_SITES= ftp://ftp.bbassett.net/pub/njs/ \
|
|
|
|
http://www.bbassett.net/njs/ \
|
|
|
|
http://www.iki.fi/mtr/js/
|
|
|
|
DISTNAME= js-${PORTVERSION}
|
|
|
|
|
|
|
|
MAINTAINER= thierry@pompo.net
|
2003-02-21 12:35:09 +00:00
|
|
|
COMMENT= NJS (NGS) is a standalone JavaScript/ECMAScript interpreter
|
2002-01-22 11:52:52 +00:00
|
|
|
|
2003-10-14 07:13:40 +00:00
|
|
|
CONFLICTS= js-1.5.*
|
|
|
|
|
2002-01-22 11:52:52 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2004-07-09 17:43:11 +00:00
|
|
|
USE_INC_LIBTOOL_VER=13
|
2002-07-07 18:34:07 +00:00
|
|
|
.if defined(NOPORTDOCS)
|
|
|
|
USE_REINPLACE= yes
|
|
|
|
.endif
|
2002-01-28 23:41:17 +00:00
|
|
|
INSTALLS_SHLIB= yes
|
|
|
|
CONFIGURE_ARGS= --enable-shared
|
2002-01-22 11:52:52 +00:00
|
|
|
|
|
|
|
MAN1= js.1 jsdas.1
|
|
|
|
|
|
|
|
post-extract:
|
2002-07-07 18:34:07 +00:00
|
|
|
@${RM} ${WRKSRC}/docs/js.info*
|
2002-01-22 11:52:52 +00:00
|
|
|
|
|
|
|
pre-install:
|
|
|
|
.if defined(NOPORTDOCS)
|
2002-07-07 18:34:07 +00:00
|
|
|
@${REINPLACE_CMD} -e "s:docs micros examples:micros:g" ${WRKSRC}/Makefile
|
2002-01-22 11:52:52 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
.for info in js.info
|
|
|
|
install-info ${PREFIX}/info/${info} ${PREFIX}/info/dir
|
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
@${ECHO_MSG}
|
|
|
|
@${CAT} ${PKGMESSAGE} | ${SED} -e "s:%%PREFIX%%:${PREFIX}:g"
|
|
|
|
@${ECHO_MSG}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|