summaryrefslogtreecommitdiffstats
path: root/lang/njs/Makefile
diff options
context:
space:
mode:
authorokazaki <okazaki@FreeBSD.org>2002-01-28 23:41:17 +0000
committerokazaki <okazaki@FreeBSD.org>2002-01-28 23:41:17 +0000
commit9b8bd45ba3eed0611ccfcbf26f13f9b150f47b85 (patch)
tree8cf7c03392656357fc690f0e1934623fb07c353c /lang/njs/Makefile
parent25fa0d1b1a41aa80f6335a57104e307f0d20e365 (diff)
downloadFreeBSD-ports-9b8bd45ba3eed0611ccfcbf26f13f9b150f47b85.zip
FreeBSD-ports-9b8bd45ba3eed0611ccfcbf26f13f9b150f47b85.tar.gz
- 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
Diffstat (limited to 'lang/njs/Makefile')
-rw-r--r--lang/njs/Makefile12
1 files changed, 11 insertions, 1 deletions
diff --git a/lang/njs/Makefile b/lang/njs/Makefile
index b323ef0..24ee902 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
OpenPOWER on IntegriCloud