pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/math/octave Generated info files may no longer be spli...
details: https://anonhg.NetBSD.org/pkgsrc/rev/4e85a17fb909
branches: trunk
changeset: 509383:4e85a17fb909
user: jlam <jlam%pkgsrc.org@localhost>
date: Thu Mar 09 15:40:20 2006 +0000
description:
Generated info files may no longer be split, so handle this fact when
installing the liboctave info files.
diffstat:
math/octave/Makefile | 12 +++++++-----
1 files changed, 7 insertions(+), 5 deletions(-)
diffs (33 lines):
diff -r cf88a6cde753 -r 4e85a17fb909 math/octave/Makefile
--- a/math/octave/Makefile Thu Mar 09 14:50:31 2006 +0000
+++ b/math/octave/Makefile Thu Mar 09 15:40:20 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.62 2006/03/05 16:27:27 jlam Exp $
+# $NetBSD: Makefile,v 1.63 2006/03/09 15:40:20 jlam Exp $
DISTNAME= octave-${OCTAVE_VER}
PKGREVISION= 1
@@ -43,8 +43,7 @@
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
@@ -73,8 +72,11 @@
${CHMOD} a+x ${WRKSRC}/mkoctfile
post-install:
-.for f in ${LIBOCTAVE_INFO}
- ${INSTALL_DATA} ${WRKSRC}/doc/liboctave/${f} ${PREFIX}/info
+ cd ${WRKSRC}/doc/liboctave; \
+ for f in ${LIBOCTAVE_INFO}; do \
+ ${TEST} ! -f "$$f" || \
+ ${INSTALL_DATA} "$$f" ${PREFIX}/${INFO_DIR}; \
+ done
.endfor
${INSTALL_DATA_DIR} ${PREFIX}/share/octave/${OCTAVE_VER}/doc
.for f in ${OCTAVE_DOC}
Home |
Main Index |
Thread Index |
Old Index