summaryrefslogtreecommitdiff
path: root/math/scilab/Makefile
diff options
context:
space:
mode:
authordmcmahill <dmcmahill@pkgsrc.org>2001-12-22 00:03:25 +0000
committerdmcmahill <dmcmahill@pkgsrc.org>2001-12-22 00:03:25 +0000
commitc3e589ec476634d65a3c3cf0c4e92f0fe29bb0b6 (patch)
tree63016f836c88e47773b3bad396c7244f6629cfa4 /math/scilab/Makefile
parent57cbdbe877973206913c2dfc5ea6667bd7ac4f18 (diff)
downloadpkgsrc-c3e589ec476634d65a3c3cf0c4e92f0fe29bb0b6.tar.gz
- fix a bug in the ascii() function noticed on sparc. Patch from
Serge Steer on comp.soft-sys.scilab - minor man page fixes - make the 'whatis' files used for the online help be lined up in columns which significantly enhances readability - minor fixes to the Makefile fragment for building scilab shared objects. bump rev to scilab-2.6nb2
Diffstat (limited to 'math/scilab/Makefile')
-rw-r--r--math/scilab/Makefile15
1 files changed, 12 insertions, 3 deletions
diff --git a/math/scilab/Makefile b/math/scilab/Makefile
index c027a1d2d03..76d4cab5eb4 100644
--- a/math/scilab/Makefile
+++ b/math/scilab/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.28 2001/11/29 01:12:41 hubertf Exp $
+# $NetBSD: Makefile,v 1.29 2001/12/22 00:03:25 dmcmahill Exp $
#
DISTNAME= ${SCIBASE}.src
PKGNAME= ${SCIBASE}
-PKGREVISION= 1
+PKGREVISION= 2
SCIBASE= scilab-2.6
WRKSRC= ${WRKDIR}/${DISTNAME:.src=}
CATEGORIES= math
@@ -45,11 +45,20 @@ post-extract:
${RM} -f ${WRKSRC}/examples/callsci/callsciC/config/config
${RM} -f ${WRKSRC}/examples/callsci/callsciC++/config/config
+# make sure that the 'whatis' files in the man directories get rebuilt
+pre-build:
+ cd ${WRKSRC}/man && ${MAKE_ENV} ${MAKE_PROGRAM} cleanall
+
+post-build:
+ cd ${WRKSRC}/man && ${MAKE_ENV} ${MAKE_PROGRAM} all
+
# clean up any possible leftovers from 'make test' so that our PLIST
-# will still be right
+# will still be right. Also clean up .orig files we may have
+# created during patching so they don't corrupt our PLIST
pre-install:
cd ${WRKSRC}/tests && ${MAKE_PROGRAM} distclean
cd ${WRKSRC}/examples && ${MAKE_PROGRAM} distclean
+ find ${WRKSRC}/ -name \*.orig -print -exec rm {} \;
post-install:
${LN} -sf ${X11PREFIX}/bin/xless ${PREFIX}/${SCIBASE}/bin/xless