aboutsummaryrefslogtreecommitdiffstats
path: root/lang/njs
diff options
context:
space:
mode:
authorthierry <thierry@FreeBSD.org>2005-07-11 05:46:58 +0800
committerthierry <thierry@FreeBSD.org>2005-07-11 05:46:58 +0800
commitfe917008cdf1077c601c51834894c7ce8548786e (patch)
treeb301472959b28190baac79281d6f5c123787c0da /lang/njs
parentb6f4eb7d442396ea3e54e299005b2a0ec57c9117 (diff)
downloadfreebsd-ports-gnome-fe917008cdf1077c601c51834894c7ce8548786e.tar.gz
freebsd-ports-gnome-fe917008cdf1077c601c51834894c7ce8548786e.tar.zst
freebsd-ports-gnome-fe917008cdf1077c601c51834894c7ce8548786e.zip
- Remove a bogus ftp site from MASTER_SITES (1);
- use external libtool; - pet portlint; - release maintainership. Reported by: Kris via pointyhat (1)
Diffstat (limited to 'lang/njs')
-rw-r--r--lang/njs/Makefile19
-rw-r--r--lang/njs/files/pkg-message.in (renamed from lang/njs/pkg-message)0
-rw-r--r--lang/njs/pkg-descr2
-rw-r--r--lang/njs/pkg-plist3
4 files changed, 8 insertions, 16 deletions
diff --git a/lang/njs/Makefile b/lang/njs/Makefile
index 0af06dc70d76..f9b06a936160 100644
--- a/lang/njs/Makefile
+++ b/lang/njs/Makefile
@@ -9,25 +9,27 @@ PORTNAME= njs
PORTVERSION= 0.2.5
PORTREVISION= 1
CATEGORIES= lang
-MASTER_SITES= ftp://ftp.bbassett.net/pub/njs/ \
- http://www.bbassett.net/njs/ \
+MASTER_SITES= http://www.bbassett.net/njs/ \
http://www.iki.fi/mtr/js/
DISTNAME= js-${PORTVERSION}
-MAINTAINER= thierry@pompo.net
+MAINTAINER= ports@FreeBSD.org
COMMENT= NJS (NGS) is a standalone JavaScript/ECMAScript interpreter
CONFLICTS= js-1.5.*
-GNU_CONFIGURE= yes
-USE_INC_LIBTOOL_VER=13
+USE_LIBTOOL_VER=13
.if defined(NOPORTDOCS)
USE_REINPLACE= yes
.endif
INSTALLS_SHLIB= yes
CONFIGURE_ARGS= --enable-shared
+SUB_FILES= pkg-message
+PKGMESSAGE= ${WRKDIR}/pkg-message
+
MAN1= js.1 jsdas.1
+INFO= js
post-extract:
@${RM} ${WRKSRC}/docs/js.info*
@@ -38,13 +40,8 @@ pre-install:
.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"
+ @${CAT} ${PKGMESSAGE}
@${ECHO_MSG}
.include <bsd.port.mk>
diff --git a/lang/njs/pkg-message b/lang/njs/files/pkg-message.in
index 25b08b319886..25b08b319886 100644
--- a/lang/njs/pkg-message
+++ b/lang/njs/files/pkg-message.in
diff --git a/lang/njs/pkg-descr b/lang/njs/pkg-descr
index cac3ee9f7c5d..74d0d781587c 100644
--- a/lang/njs/pkg-descr
+++ b/lang/njs/pkg-descr
@@ -2,6 +2,4 @@ NJS is an independent implementation of the JavaScript language developed
by Netscape and standardized by ECMA. It is designed to be re-entrant,
extendible, fast, and programmable.
-Warning: it is still under development.
-
WWW: http://www.bbassett.net/njs/
diff --git a/lang/njs/pkg-plist b/lang/njs/pkg-plist
index d9e8c9fcefeb..bc2ac4a81ab6 100644
--- a/lang/njs/pkg-plist
+++ b/lang/njs/pkg-plist
@@ -5,9 +5,6 @@ bin/jswrap
include/js.h
include/jsint.h
include/jsconfig.h
-%%PORTDOCS%%@unexec install-info --delete %D/info/js.info %D/info/dir
-%%PORTDOCS%%info/js.info
-%%PORTDOCS%%@exec install-info %D/info/js.info %D/info/dir
lib/libjs.a
lib/libjs.so
lib/libjs.so.0