summaryrefslogtreecommitdiffstats
path: root/lang/njs/Makefile
diff options
context:
space:
mode:
authorokazaki <okazaki@FreeBSD.org>2002-01-22 11:52:52 +0000
committerokazaki <okazaki@FreeBSD.org>2002-01-22 11:52:52 +0000
commit06d6651df631e410baca5efa6fb2d961f3a44da5 (patch)
treef30d56656f1b62862458418bb278453652d52980 /lang/njs/Makefile
parent577ba7ef5cd29b74727b4bd32676dc32c26dd52d (diff)
downloadFreeBSD-ports-06d6651df631e410baca5efa6fb2d961f3a44da5.zip
FreeBSD-ports-06d6651df631e410baca5efa6fb2d961f3a44da5.tar.gz
Add njs 0.2.5,
NJS (NGS) is a standalone JavaScript/ECMAScript interpreter. PR: 33842 Submitted by: thierry@pompo.net
Diffstat (limited to 'lang/njs/Makefile')
-rw-r--r--lang/njs/Makefile45
1 files changed, 45 insertions, 0 deletions
diff --git a/lang/njs/Makefile b/lang/njs/Makefile
new file mode 100644
index 0000000..b323ef0
--- /dev/null
+++ b/lang/njs/Makefile
@@ -0,0 +1,45 @@
+# 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
+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
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+MAKE_ARG= MAKEINFO="makeinfo --no-split"
+
+MAN1= js.1 jsdas.1
+
+post-extract:
+ ${RM} ${WRKSRC}/docs/js.info*
+
+post-patch:
+ ${PERL} -pi -e 's:=makeinfo:="makeinfo --no-split":g' ${WRKSRC}/configure
+
+pre-install:
+.if defined(NOPORTDOCS)
+ ${PERL} -pi -e "s:docs micros examples:micros:g" ${WRKSRC}/Makefile
+.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>
OpenPOWER on IntegriCloud