diff options
author | jlam <jlam> | 2006-03-09 18:48:29 +0000 |
---|---|---|
committer | jlam <jlam> | 2006-03-09 18:48:29 +0000 |
commit | bd46afc40b890251d3008a5f63e9065603387c3e (patch) | |
tree | dd0fe39f0b17e424f227414aafe5ce79dcda5cde /math/octave-current | |
parent | 0cf7f2d584484795640b5662c95cdc88d6e40631 (diff) | |
download | pkgsrc-bd46afc40b890251d3008a5f63e9065603387c3e.tar.gz |
Generated info files may no longer be split, so handle this fact when
installing the liboctave info files.
Diffstat (limited to 'math/octave-current')
-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 |