diff --git a/textproc/opensp/Makefile b/textproc/opensp/Makefile index f6b874ee2a6a..f35c3d75a3b1 100644 --- a/textproc/opensp/Makefile +++ b/textproc/opensp/Makefile @@ -10,10 +10,8 @@ MASTER_SITES= SF/openjade/${PORTNAME:tl}/${PORTVERSION} MAINTAINER= kuriyama@FreeBSD.org COMMENT= This package is a collection of SGML/XML tools called OpenSP -OPTIONS_DEFINE= DOCS NLS - +USES= gmake iconv libtool perl5 USE_LDCONFIG= yes -USES= gmake iconv perl5 GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-default-catalog=${PREFIX}/share/sgml/catalog \ --datadir=${PREFIX}/share/sgml/openjade \ @@ -21,19 +19,13 @@ CONFIGURE_ARGS= --enable-default-catalog=${PREFIX}/share/sgml/catalog \ LDFLAGS+= -L${LOCALBASE}/lib CFLAGS+= -I${LOCALBASE}/include +OPTIONS_DEFINE= DOCS NLS OPTIONS_SUB= yes NLS_CONFIGURE_ENABLE= nls NLS_USES= gettext - PORTDOCS= *.htm NEWS AUTHORS README ABOUT-NLS BUGS ChangeLog -# This port cannot be CFLAGS safe, using optimizations such as -# 'march=-mpentium -Os' produces core dumps with certain input files -# Therefore, we'd better remove all machine optimizations and any -O -# other than -O{0,1,}. Idea taken from palm/prc-tools-gcc. -CPPFLAGS:= -O ${CFLAGS:N-O*:N-m*} - post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/doc/*.htm ${STAGEDIR}${DOCSDIR} diff --git a/textproc/opensp/pkg-plist b/textproc/opensp/pkg-plist index fb1941523f83..344b0494272a 100644 --- a/textproc/opensp/pkg-plist +++ b/textproc/opensp/pkg-plist @@ -143,9 +143,9 @@ include/OpenSP/types.h include/OpenSP/xnew.h @dirrm include/OpenSP lib/libosp.a -lib/libosp.la lib/libosp.so lib/libosp.so.5 +lib/libosp.so.5.0.0 %%NLS%%share/locale/de/LC_MESSAGES/sp5.mo %%NLS%%share/locale/fr/LC_MESSAGES/sp5.mo %%NLS%%share/locale/ja/LC_MESSAGES/sp5.mo