summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorjtb <jtb@pkgsrc.org>2001-05-16 21:46:08 +0000
committerjtb <jtb@pkgsrc.org>2001-05-16 21:46:08 +0000
commitdcc7293242c8101ad3e5725b07fe4fe45bed652c (patch)
tree9f6f3944bc3fc2ab6b9997b3ab085380cf28bc4e /math
parenta1502b2d9d6f550d411781d341c4915476107d3a (diff)
downloadpkgsrc-dcc7293242c8101ad3e5725b07fe4fe45bed652c.tar.gz
Delete the prebuilt info files after extraction so that they get
regenerated and work properly with the info program in NetBSD. Fixes PR pkg/12962 by Jim Bernard <jbernard@mines.edu>.
Diffstat (limited to 'math')
-rw-r--r--math/octave/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/math/octave/Makefile b/math/octave/Makefile
index ddd7ed33b46..7e7a35e3208 100644
--- a/math/octave/Makefile
+++ b/math/octave/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2001/04/19 03:03:24 dmcmahill Exp $
+# $NetBSD: Makefile,v 1.25 2001/05/16 21:46:08 jtb Exp $
# FreeBSD Id: Makefile,v 1.18 1998/09/27 20:10:45 steve Exp
DISTNAME= octave-2.0.16
@@ -30,6 +30,9 @@ LDFLAGS+= -Wl,-R${PREFIX}/lib -L${PREFIX}/lib
INFO_FILES= liboctave.info octave.info
LIBOCTAVE_INFO= liboctave.info liboctave.info-1 liboctave.info-2 liboctave.info-3
+post-extract:
+ ${FIND} ${WRKSRC}/doc -type f -name \*.info\* | xargs ${RM} -f
+
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/octave/2.0.16/doc
.for file in ${LIBOCTAVE_INFO}