diff options
author | jlam <jlam> | 2006-03-20 18:15:37 +0000 |
---|---|---|
committer | jlam <jlam> | 2006-03-20 18:15:37 +0000 |
commit | ba56a6d962bf14bb906ae2ad6fbe36b11088e35f (patch) | |
tree | 0f05903ff61fcd859ec72aa544fa1e5eda653bf6 /math/octave/Makefile | |
parent | cd12b581e049b51b7dda38fa3ff87b479c78aec2 (diff) | |
download | pkgsrc-ba56a6d962bf14bb906ae2ad6fbe36b11088e35f.tar.gz |
* Nuke all references to and definitions of INFO_DIR in package Makefiles
and replace with appropriate references to PKGINFODIR instead.
* Properly account for split info files during installation.
* Move info file listings directly into the package PLISTs.
This fixes info-file-related PLIST problems.
Diffstat (limited to 'math/octave/Makefile')
-rw-r--r-- | math/octave/Makefile | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/math/octave/Makefile b/math/octave/Makefile index 07ada8df0fb..59ba87b4233 100644 --- a/math/octave/Makefile +++ b/math/octave/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.64 2006/03/09 15:43:46 jlam Exp $ +# $NetBSD: Makefile,v 1.65 2006/03/20 18:15:38 jlam Exp $ DISTNAME= octave-${OCTAVE_VER} PKGREVISION= 1 @@ -42,8 +42,7 @@ CONFIGURE_ARGS+= --enable-dl GNU_PLATFORM_DIR!= ${.CURDIR}/../../mk/gnu-config/config.sub ${MACHINE_GNU_PLATFORM} PLIST_SUBST+= GNU_PLATFORM_DIR=${GNU_PLATFORM_DIR:Q} -INFO_FILES= octave.info liboctave.info -LIBOCTAVE_INFO= liboctave.info liboctave.info-[0-9]* +INFO_FILES= # PLIST 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,9 +72,9 @@ post-build: post-install: cd ${WRKSRC}/doc/liboctave; \ - for f in ${LIBOCTAVE_INFO}; do \ + for f in liboctave.info liboctave.info-[0-9]*; do \ ${TEST} ! -f "$$f" || \ - ${INSTALL_DATA} "$$f" ${PREFIX}/${INFO_DIR}; \ + ${INSTALL_DATA} "$$f" ${PREFIX}/${PKGINFODIR}; \ done ${INSTALL_DATA_DIR} ${PREFIX}/share/octave/${OCTAVE_VER}/doc .for f in ${OCTAVE_DOC} |