aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorokazaki <okazaki@FreeBSD.org>2002-01-29 07:41:17 +0800
committerokazaki <okazaki@FreeBSD.org>2002-01-29 07:41:17 +0800
commit9b8bd45ba3eed0611ccfcbf26f13f9b150f47b85 (patch)
tree8cf7c03392656357fc690f0e1934623fb07c353c
parent25fa0d1b1a41aa80f6335a57104e307f0d20e365 (diff)
downloadfreebsd-ports-gnome-9b8bd45ba3eed0611ccfcbf26f13f9b150f47b85.tar.gz
freebsd-ports-gnome-9b8bd45ba3eed0611ccfcbf26f13f9b150f47b85.tar.zst
freebsd-ports-gnome-9b8bd45ba3eed0611ccfcbf26f13f9b150f47b85.zip
- 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
-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