- 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
This commit is contained in:
OKAZAKI Tetsurou 2002-01-28 23:41:17 +00:00
parent d373925aec
commit 756545763c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=53934
2 changed files with 13 additions and 1 deletions

View file

@ -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

View file

@ -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