head	1.25;
access;
symbols
	RELEASE_7_4_0:1.23
	RELEASE_8_2_0:1.23
	RELEASE_6_EOL:1.22
	RELEASE_8_1_0:1.22
	RELEASE_7_3_0:1.22
	RELEASE_8_0_0:1.22
	RELEASE_7_2_0:1.21
	RELEASE_7_1_0:1.21
	RELEASE_6_4_0:1.21
	RELEASE_5_EOL:1.21
	RELEASE_7_0_0:1.21
	RELEASE_6_3_0:1.21
	PRE_XORG_7:1.16
	RELEASE_4_EOL:1.16
	RELEASE_6_2_0:1.16
	RELEASE_6_1_0:1.14
	RELEASE_5_5_0:1.14
	RELEASE_6_0_0:1.10
	RELEASE_5_4_0:1.7
	RELEASE_4_11_0:1.7
	RELEASE_5_3_0:1.7
	RELEASE_4_10_0:1.6
	RELEASE_5_2_1:1.5
	RELEASE_5_2_0:1.5
	RELEASE_4_9_0:1.4
	RELEASE_5_1_0:1.4
	RELEASE_4_8_0:1.4
	RELEASE_5_0_0:1.3
	RELEASE_4_7_0:1.3
	RELEASE_4_6_2:1.2
	RELEASE_4_6_1:1.2
	RELEASE_4_6_0:1.2
	RELEASE_5_0_DP1:1.2
	RELEASE_4_5_0:1.1;
locks; strict;
comment	@# @;


1.25
date	2011.06.09.15.45.57;	author bapt;	state dead;
branches;
next	1.24;

1.24
date	2011.03.15.13.45.55;	author bapt;	state Exp;
branches;
next	1.23;

1.23
date	2010.12.04.07.32.22;	author ade;	state Exp;
branches;
next	1.22;

1.22
date	2009.08.02.19.34.28;	author mezz;	state Exp;
branches;
next	1.21;

1.21
date	2007.10.21.17.53.28;	author nox;	state Exp;
branches;
next	1.20;

1.20
date	2007.10.14.14.28.32;	author erwin;	state Exp;
branches;
next	1.19;

1.19
date	2007.07.04.17.08.43;	author danfe;	state Exp;
branches;
next	1.18;

1.18
date	2007.07.04.16.56.22;	author danfe;	state Exp;
branches;
next	1.17;

1.17
date	2007.05.27.03.01.37;	author kris;	state Exp;
branches;
next	1.16;

1.16
date	2006.08.15.00.29.07;	author clsung;	state Exp;
branches;
next	1.15;

1.15
date	2006.05.09.20.52.17;	author edwin;	state Exp;
branches;
next	1.14;

1.14
date	2006.02.23.10.37.41;	author ade;	state Exp;
branches;
next	1.13;

1.13
date	2005.11.15.06.49.55;	author ade;	state Exp;
branches;
next	1.12;

1.12
date	2005.11.13.15.38.53;	author arved;	state Exp;
branches;
next	1.11;

1.11
date	2005.10.09.20.55.07;	author linimon;	state Exp;
branches;
next	1.10;

1.10
date	2005.07.15.08.56.19;	author thierry;	state Exp;
branches;
next	1.9;

1.9
date	2005.07.11.17.40.28;	author thierry;	state Exp;
branches;
next	1.8;

1.8
date	2005.07.10.21.46.57;	author thierry;	state Exp;
branches;
next	1.7;

1.7
date	2004.07.09.17.42.32;	author marcus;	state Exp;
branches;
next	1.6;

1.6
date	2004.03.14.06.16.50;	author ade;	state Exp;
branches;
next	1.5;

1.5
date	2003.10.14.07.13.40;	author edwin;	state Exp;
branches;
next	1.4;

1.4
date	2003.02.21.12.35.05;	author knu;	state Exp;
branches;
next	1.3;

1.3
date	2002.07.07.18.34.06;	author ijliao;	state Exp;
branches;
next	1.2;

1.2
date	2002.01.28.23.41.17;	author okazaki;	state Exp;
branches;
next	1.1;

1.1
date	2002.01.22.11.52.52;	author okazaki;	state Exp;
branches;
next	;


desc
@@


1.25
log
@Remove lang/njs and ports that depends on it, njs has no more public distfile and no more upstream
the other aren't under development anymore

lang/ruby-js
textproc/ruby-xml-script
www/ruby-asp
2011-05-01 lang/njs: Upstream disapear and distfile is no more available
@
text
@# New ports collection makefile for:	NJS
# Date created:				Fri Jan 11 20:45:26 GMT 2002
# Whom:					Thierry Thomas <thierry@@pompo.net>
#
# $FreeBSD: ports/lang/njs/Makefile,v 1.24 2011/03/15 13:45:55 bapt Exp $
#

PORTNAME=	njs
PORTVERSION=	0.2.5
PORTREVISION=	2
CATEGORIES=	lang
MASTER_SITES=	${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR=	arved
DISTNAME=	js-${PORTVERSION}

MAINTAINER=	ports@@FreeBSD.org
COMMENT=	NJS (NGS) is a standalone JavaScript/ECMAScript interpreter

DEPRECATED=     Upstream disapear and distfile is no more available
EXPIRATION_DATE=        2011-05-01

CONFLICTS=	js-1.5.*

USE_LDCONFIG=	yes
USE_AUTOTOOLS=	libtool
CONFIGURE_ARGS=	--enable-shared

MAN1=		js.1 jsdas.1
INFO=		js

post-extract:
	@@${RM} ${WRKSRC}/docs/js.info*
# Fix for GCC 4.2
	@@${REINPLACE_CMD} -E \
		's,\((unsigned char) \*\) (ptr \+=),\2 sizeof(\1) *,' \
			${WRKSRC}/src/iostream.c

.include <bsd.port.mk>
@


1.24
log
@Deprecate unmaintained ports from lang where upstream disapear and/or
where no distfiles can be found and are not used by maintained ports
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.23
log
@Sync to new bsd.autotools.mk
@
text
@d19 3
@


1.22
log
@-Repocopy devel/libtool15 -> libtool22 and libltdl15 -> libltdl22.
-Update libtool and libltdl to 2.2.6a.
-Remove devel/libtool15 and devel/libltdl15.
-Fix ports build with libtool22/libltdl22.
-Bump ports that depend on libltdl22 due to shared library version change.
-Explain what to do update in the UPDATING.

It has been tested with GNOME2, XFCE4, KDE3, KDE4 and other many wm/desktop
and applications in the runtime.

With help:	marcus and kwm
Pointyhat-exp:	a few times by pav
Tested by:	pgollucci, "Romain Tartière" <romain@@blogreen.org>, and
		a few MarcusCom CVS users. Also, I might have missed a few.
Repocopy by:	marcus
Approved by:	portmgr
@
text
@d22 1
a22 1
USE_AUTOTOOLS=	libtool:22
@


1.21
log
@Fix build
@
text
@d22 1
a22 1
USE_AUTOTOOLS=	libtool:15
@


1.20
log
@Mark BROKEN: does not build
@
text
@a18 2
BROKEN=		does not build

d32 1
a32 1
		's,(\(unsigned char \*\) )(ptr \+=),\2 sizeof\1*,' \
@


1.19
log
@The port does not install any additional docs/examples anyways, so remove
the useless target.
@
text
@d19 2
@


1.18
log
@- Fix the build with GCC 4.2 [1]
- Nuke trivial pkg-message.in
- Usual round of Makefile cleanups

Reported by:	pointyhat (logs) [1]
@
text
@a34 6
pre-install:
.if defined(NOPORTDOCS)
	@@${REINPLACE_CMD} -e "s:docs micros examples:micros:g" \
		${WRKSRC}/Makefile
.endif

@


1.17
log
@BROKEN with gcc 4.2
@
text
@d1 3
a3 3
# New ports collection makefile for:	njs
# Date created:		Fri Jan 11 20:45:26 GMT 2002
# Whom:			thierry@@pompo.net
d25 2
a26 11
SUB_FILES=	pkg-message
PKGMESSAGE=	${WRKDIR}/pkg-message

MAN1=	js.1 jsdas.1
INFO=	js

.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 700042
BROKEN=		Broken with gcc 4.2
.endif
d30 4
d37 2
a38 1
	@@${REINPLACE_CMD} -e "s:docs micros examples:micros:g" ${WRKSRC}/Makefile
d41 1
a41 6
post-install:
	@@${ECHO_MSG}
	@@${CAT} ${PKGMESSAGE}
	@@${ECHO_MSG}

.include <bsd.port.post.mk>
@


1.16
log
@- s,INSTALLS_SHLIB,USE_LDCONFIG,g
- these include irc/ japanese/ java/ lang/ mail/ math/ maintained by ports@@

PR:		ports/101916
Submitted by:	Gea-Suan Lin <gslin_AT_gslin dot org>
@
text
@d31 6
d50 1
a50 1
.include <bsd.port.mk>
@


1.15
log
@Remove USE_REINPLACE from the categories starting with L
@
text
@d21 1
a21 1
INSTALLS_SHLIB=	yes
@


1.14
log
@Conversion to a single libtool environment.

Approved by:	portmgr (kris)
@
text
@a20 4
.if defined(NOPORTDOCS)
USE_REINPLACE=	yes
.endif

@


1.13
log
@Mass-conversion to the USE_AUTOTOOLS New World Order.  The code present
in bsd.autotools.mk essentially makes this a no-op given that all the
old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in
exactly the same way as USE_AUTOTOOLS itself.

Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME
team -- all GNOME 2.12.x ports use it.

Preliminary documentation can be found at:
	http://people.FreeBSD.org/~ade/autotools.txt

which is in the process of being SGMLized before introduction into the
Porters Handbook.

Light blue touch-paper.  Run.
@
text
@d10 1
a10 1
PORTREVISION=	1
a20 1
USE_AUTOTOOLS=	libtool:13:inc
d24 1
d26 1
@


1.12
log
@Store a copy of the distfile on MASTER_SITE_LOCAL
@
text
@d21 1
a21 1
USE_INC_LIBTOOL_VER=13
@


1.11
log
@Mark as BROKEN: does not fetch, mastersite disappeared.

Source:		distfile survey
@
text
@d12 2
a13 1
MASTER_SITES=	# disappeared
a18 4
BROKEN=		"mastersite disappeared"
DEPRECATED=	${BROKEN}
EXPIRATION_DATE=	2005-12-09

@


1.10
log
@Switch back to USE_INC_LIBTOOL_VER and don't install .la files.

Reported by:	Kris via pointyhat
@
text
@d12 1
a12 4
MASTER_SITES=	http://www.njs-javascript.org/	\
		http://people.ssh.fi/mtr/js/	\
		http://www.bbassett.net/njs/	\
		http://www.iki.fi/mtr/js/
d18 4
@


1.9
log
@Add two MASTERSITES without redirection.

Requested by:	kris
@
text
@d23 1
a23 1
USE_LIBTOOL_VER=13
@


1.8
log
@- Remove a bogus ftp site from MASTER_SITES (1);
- use external libtool;
- pet portlint;
- release maintainership.

Reported by:	Kris via pointyhat (1)
@
text
@d12 3
a14 1
MASTER_SITES=	http://www.bbassett.net/njs/	\
@


1.7
log
@Apply a big libtool patch to allow porters to use the libtool installed by
the libtoolX ports instead of the one included with each port.  Ports that
set USE_LIBTOOL_VER=X will now use the ports version of libtool instead of
the included version.  To restore previous behavior, use the new macro,
USE_INC_LIBTOOL_VER.  Both macros accept the same argument: a libtool version.

For example, to use the ports version of libtool-1.5, add the following to
your Makefile:

USE_LIBTOOL_VER=        15

To use the included version of libtool with extra hacks provided by
libtool-1.5, add the following to your Makefile:

USE_INC_LIBTOOL_VER=    15

With this change, ports that had to add additional libtool hacks to prevent
.la files from being installed or to fix certain threading issues can now
delete those hacks (after appropriate testing, of course).

PR:		63944
Based on work by:eik and marcus
Approved by:	ade (autotools maintainer)
Tested by:	kris on pointyhat
Bound to be hidden problems:	You bet
@
text
@d12 1
a12 2
MASTER_SITES=	ftp://ftp.bbassett.net/pub/njs/	\
		http://www.bbassett.net/njs/	\
d16 1
a16 1
MAINTAINER=	thierry@@pompo.net
d21 1
a21 2
GNU_CONFIGURE=	yes
USE_INC_LIBTOOL_VER=13
d28 3
d32 1
a42 5
.if !defined(NOPORTDOCS)
.for info in js.info
	install-info ${PREFIX}/info/${info} ${PREFIX}/info/dir
.endfor
.endif
d44 1
a44 1
	@@${CAT} ${PKGMESSAGE} | ${SED} -e "s:%%PREFIX%%:${PREFIX}:g"
@


1.6
log
@Whoa there, boy, that's a mighty big commit y'all have there...

Begin autotools sanitization sequence by requiring ports to explicitly
specify which version of {libtool,autoconf,automake} they need, erasing
the concept of a "system default".

For ports-in-waiting:

	USE_LIBTOOL=YES		->	USE_LIBTOOL_VER=13
	USE_AUTOCONF=YES	->	USE_AUTOCONF_VER=213
	USE_AUTOMAKE=YES	->	USE_AUTOMAKE_VER=14

Ports attempting to use the old style system after June 1st 2004 will be
sorely disappointed.
@
text
@d23 1
a23 1
USE_LIBTOOL_VER=13
@


1.5
log
@lang/njs: changing conflicts.

	- removing conflict detection with converters/kdesupport11;
	- lang/njs and lang/spidermonkey install bin/js
	(noted by Oliver Eikemeier <eikemeier@@fillmore-labs.com>).

PR:		ports/57972
Submitted by:	Thierry Thomas <thierry@@pompo.net>
@
text
@d23 1
a23 1
USE_LIBTOOL=	yes
@


1.4
log
@De-pkg-comment.
@
text
@d20 2
a33 8

pre-configure:
	@@if [ -f ${LOCALBASE}/include/js.h ]; then \
		${ECHO_MSG} "" ; \
		${ECHO_MSG} "Conflict: please deinstall the port converters/kdesupport11." ; \
		${ECHO_MSG} "" ; \
		${FALSE} ; \
	fi
@


1.3
log
@PERL -> REINPLACE_CMD

PR:		40289
Submitted by:	maintainer
@
text
@d18 1
@


1.2
log
@- check the conflict with converters/kdesupport11, which installs
  old versions of njs's files.
- build and install shared library files.
(both requested by Hironori Sakamoto <hsaka@@mth.biglobe.ne.jp>)

- remove a redundant MAKE_ARG setting added at the previous commit.

Bump PORTREVISION.

PR:		34333
Submitted by:	maintainer
@
text
@d21 3
d30 1
a30 4
	${RM} ${WRKSRC}/docs/js.info*

post-patch:
	${PERL} -pi -e 's:=makeinfo:="makeinfo --no-split":g' ${WRKSRC}/configure
d42 1
a42 1
	${PERL} -pi -e "s:docs micros examples:micros:g" ${WRKSRC}/Makefile
@


1.1
log
@Add njs 0.2.5,
NJS (NGS) is a standalone JavaScript/ECMAScript
interpreter.

PR:		33842
Submitted by:	thierry@@pompo.net
@
text
@d10 1
d21 2
a22 1
MAKE_ARG=	MAKEINFO="makeinfo --no-split"
d31 8
@

