From bd46afc40b890251d3008a5f63e9065603387c3e Mon Sep 17 00:00:00 2001 From: jlam Date: Thu, 9 Mar 2006 18:48:29 +0000 Subject: Generated info files may no longer be split, so handle this fact when installing the liboctave info files. --- math/octave-current/Makefile | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'math/octave-current') diff --git a/math/octave-current/Makefile b/math/octave-current/Makefile index 4b943d3af16..fd4ffb0759d 100644 --- a/math/octave-current/Makefile +++ b/math/octave-current/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.55 2006/03/05 16:27:27 jlam Exp $ +# $NetBSD: Makefile,v 1.56 2006/03/09 18:48:29 jlam Exp $ DISTNAME= octave-${OCTAVE_VER} PKGNAME= octave-current-${OCTAVE_VER} @@ -46,8 +46,7 @@ GNU_PLATFORM_DIR!= ${.CURDIR}/../../mk/gnu-config/config.sub ${MACHINE_GNU_PLATF PLIST_SUBST+= GNU_PLATFORM_DIR=${GNU_PLATFORM_DIR:Q} INFO_FILES= octave.info liboctave.info -LIBOCTAVE_INFO= liboctave.info liboctave.info-1 \ - liboctave.info-2 liboctave.info-3 +LIBOCTAVE_INFO= liboctave.info liboctave.info-[0-9]* OCTAVE_DOC= faq/Octave-FAQ.ps interpreter/octave.ps \ liboctave/liboctave.ps refcard/refcard-a4.ps \ refcard/refcard-legal.ps refcard/refcard-letter.ps @@ -74,9 +73,11 @@ post-build: ${CHMOD} a+x ${WRKSRC}/mkoctfile post-install: -.for f in ${LIBOCTAVE_INFO} - ${INSTALL_DATA} ${WRKSRC}/doc/liboctave/${f} ${PREFIX}/info -.endfor + cd ${WRKSRC}/doc/liboctave; \ + for f in ${LIBOCTAVE_INFO}; do \ + ${TEST} ! -f "$$f" || \ + ${INSTALL_DATA} "$$f" ${PREFIX}/${INFO_DIR}; \ + done ${INSTALL_DATA_DIR} ${PREFIX}/share/octave/${OCTAVE_VER}/doc .for f in ${OCTAVE_DOC} ${INSTALL_DATA} ${WRKSRC}/doc/${f} ${PREFIX}/share/octave/${OCTAVE_VER}/doc -- cgit v1.2.3