1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-17 08:01:36 +00:00
freebsd-ports/lang/njs/Makefile
Ade Lovett 3f651573ad 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.
2004-03-14 06:17:56 +00:00

51 lines
1.0 KiB
Makefile

# 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
PORTREVISION= 1
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
COMMENT= NJS (NGS) is a standalone JavaScript/ECMAScript interpreter
CONFLICTS= js-1.5.*
GNU_CONFIGURE= yes
USE_LIBTOOL_VER=13
.if defined(NOPORTDOCS)
USE_REINPLACE= yes
.endif
INSTALLS_SHLIB= yes
CONFIGURE_ARGS= --enable-shared
MAN1= js.1 jsdas.1
post-extract:
@${RM} ${WRKSRC}/docs/js.info*
pre-install:
.if defined(NOPORTDOCS)
@${REINPLACE_CMD} -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>