From 756545763cff4a4f9294f54f2a0fee91ed9b8f84 Mon Sep 17 00:00:00 2001 From: OKAZAKI Tetsurou Date: Mon, 28 Jan 2002 23:41:17 +0000 Subject: - 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 ) - remove a redundant MAKE_ARG setting added at the previous commit. Bump PORTREVISION. PR: 34333 Submitted by: maintainer --- lang/njs/Makefile | 12 +++++++++++- lang/njs/pkg-plist | 2 ++ 2 files changed, 13 insertions(+), 1 deletion(-) (limited to 'lang/njs') diff --git a/lang/njs/Makefile b/lang/njs/Makefile index b323ef0ad592..24ee902d63c9 100644 --- a/lang/njs/Makefile +++ b/lang/njs/Makefile @@ -7,6 +7,7 @@ PORTNAME= njs PORTVERSION= 0.2.5 +PORTREVISION= 1 CATEGORIES= lang MASTER_SITES= ftp://ftp.bbassett.net/pub/njs/ \ http://www.bbassett.net/njs/ \ @@ -17,7 +18,8 @@ MAINTAINER= thierry@pompo.net GNU_CONFIGURE= yes USE_LIBTOOL= yes -MAKE_ARG= MAKEINFO="makeinfo --no-split" +INSTALLS_SHLIB= yes +CONFIGURE_ARGS= --enable-shared MAN1= js.1 jsdas.1 @@ -27,6 +29,14 @@ post-extract: post-patch: ${PERL} -pi -e 's:=makeinfo:="makeinfo --no-split":g' ${WRKSRC}/configure +pre-configure: + @if [ -f ${LOCALBASE}/include/js.h ]; then \ + ${ECHO_MSG} "" ; \ + ${ECHO_MSG} "Conflict: please deinstall the port converters/kdesupport11." ; \ + ${ECHO_MSG} "" ; \ + ${FALSE} ; \ + fi + pre-install: .if defined(NOPORTDOCS) ${PERL} -pi -e "s:docs micros examples:micros:g" ${WRKSRC}/Makefile diff --git a/lang/njs/pkg-plist b/lang/njs/pkg-plist index 3657b984fbbd..d9e8c9fcefeb 100644 --- a/lang/njs/pkg-plist +++ b/lang/njs/pkg-plist @@ -9,3 +9,5 @@ include/jsconfig.h %%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 -- cgit v1.2.3