summaryrefslogtreecommitdiff
path: root/lang/njs
diff options
context:
space:
mode:
authorOKAZAKI Tetsurou <okazaki@FreeBSD.org>2002-01-28 23:41:17 +0000
committerOKAZAKI Tetsurou <okazaki@FreeBSD.org>2002-01-28 23:41:17 +0000
commit756545763cff4a4f9294f54f2a0fee91ed9b8f84 (patch)
tree09ecac92704000cd1794f684d7bc83782ef769a4 /lang/njs
parentAdjust port for distfile repacking. Diffs between old and new only (diff)
- 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
Notes
Notes: svn path=/head/; revision=53934
Diffstat (limited to 'lang/njs')
-rw-r--r--lang/njs/Makefile12
-rw-r--r--lang/njs/pkg-plist2
2 files changed, 13 insertions, 1 deletions
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