diff options
author | jlam <jlam@pkgsrc.org> | 2006-03-09 18:48:29 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2006-03-09 18:48:29 +0000 |
commit | 00e59082ca69239c65adb51da4b0b4fc177949b0 (patch) | |
tree | dd0fe39f0b17e424f227414aafe5ce79dcda5cde | |
parent | 8c870c7e7c614890c00834d6cde64d83164d2655 (diff) | |
download | pkgsrc-00e59082ca69239c65adb51da4b0b4fc177949b0.tar.gz |
Generated info files may no longer be split, so handle this fact when
installing the liboctave info files.
-rw-r--r-- | math/octave-current/Makefile | 13 |
1 files changed, 7 insertions, 6 deletions
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 |