Mon Jul 4 22:08:01 2011 UTC ()
check-interpreter fix.


(jym)
diff -r1.1.1.1 -r1.2 pkgsrc/editors/TeXmacs-devel/Makefile

cvs diff -r1.1.1.1 -r1.2 pkgsrc/editors/TeXmacs-devel/Attic/Makefile (expand / switch to unified diff)

--- pkgsrc/editors/TeXmacs-devel/Attic/Makefile 2011/03/11 14:19:09 1.1.1.1
+++ pkgsrc/editors/TeXmacs-devel/Attic/Makefile 2011/07/04 22:08:01 1.2
@@ -1,56 +1,63 @@ @@ -1,56 +1,63 @@
1# $NetBSD: Makefile,v 1.1.1.1 2011/03/11 14:19:09 drochner Exp $ 1# $NetBSD: Makefile,v 1.2 2011/07/04 22:08:01 jym Exp $
2 2
3DISTNAME= TeXmacs-1.0.7.10-src 3DISTNAME= TeXmacs-1.0.7.10-src
4PKGNAME= ${DISTNAME:S/-src//} 4PKGNAME= ${DISTNAME:S/-src//}
5CATEGORIES= editors 5CATEGORIES= editors
6MASTER_SITES= ftp://ftp.texmacs.org/pub/TeXmacs/targz/ 6MASTER_SITES= ftp://ftp.texmacs.org/pub/TeXmacs/targz/
7MASTER_SITES+= http://www.texmacs.org/Download/ftp/targz/ 7MASTER_SITES+= http://www.texmacs.org/Download/ftp/targz/
8 8
9MAINTAINER= pkgsrc-users@NetBSD.org 9MAINTAINER= pkgsrc-users@NetBSD.org
10HOMEPAGE= http://www.texmacs.org/ 10HOMEPAGE= http://www.texmacs.org/
11COMMENT= GNU TeXmacs (free scientific text editor) 11COMMENT= GNU TeXmacs (free scientific text editor)
12 12
13PKG_DESTDIR_SUPPORT= user-destdir 13PKG_DESTDIR_SUPPORT= user-destdir
14 14
15BUILD_TARGET= TEXMACS 15BUILD_TARGET= TEXMACS
16 16
17USE_TOOLS+= gmake 17USE_TOOLS+= gmake
18USE_LANGUAGES= c c++ 18USE_LANGUAGES= c c++
19GNU_CONFIGURE= yes 19GNU_CONFIGURE= yes
20# XXX workaround for bug in configure 20# XXX workaround for bug in configure
21CONFIGURE_ARGS+= --datadir=${PREFIX}/share 21CONFIGURE_ARGS+= --datadir=${PREFIX}/share
22TEX_ACCEPTED= teTeX3 22TEX_ACCEPTED= teTeX3
23 23
24PYTHON_PATCH_SCRIPTS= plugins/python/bin/tm_python 24PYTHON_PATCH_SCRIPTS= plugins/python/bin/tm_python
 25PYTHON_PATCH_SCRIPTS+= plugins/mathematica/bin/realpath.py
 26PYTHON_PATCH_SCRIPTS+= plugins/sage/bin/tm_sage
25 27
26SUBST_CLASSES+= init 28SUBST_CLASSES+= init
27SUBST_STAGE.init= post-patch 29SUBST_STAGE.init= post-patch
28SUBST_FILES.init= plugins/python/progs/init-python.scm 30SUBST_FILES.init= plugins/python/progs/init-python.scm
29SUBST_SED.init= -e 's,@PYTHONBIN@,${PYTHONBIN},g' 31SUBST_SED.init= -e 's,@PYTHONBIN@,${PYTHONBIN},g'
30 32
 33REPLACE_SH+= plugins/asymptote/bin/tm_asy
31REPLACE_SH+= plugins/dratex/bin/tm_dratex 34REPLACE_SH+= plugins/dratex/bin/tm_dratex
32REPLACE_SH+= plugins/eukleides/bin/tm_eukleides 35REPLACE_SH+= plugins/eukleides/bin/tm_eukleides
33REPLACE_SH+= plugins/gnuplot/bin/tm_gnuplot 36REPLACE_SH+= plugins/gnuplot/bin/tm_gnuplot
34REPLACE_SH+= plugins/lisp/bin/tm_lisp 37REPLACE_SH+= plugins/lisp/bin/tm_lisp
35REPLACE_SH+= plugins/lush/bin/tm_lush 38REPLACE_SH+= plugins/lush/bin/tm_lush
36REPLACE_SH+= plugins/matlab/bin/tm_matlab 39REPLACE_SH+= plugins/matlab/bin/tm_matlab
37REPLACE_SH+= plugins/maxima/bin/maxima_detect 40REPLACE_SH+= plugins/maxima/bin/maxima_detect
38REPLACE_SH+= plugins/maxima/bin/tm_maxima 41REPLACE_SH+= plugins/maxima/bin/tm_maxima
39REPLACE_SH+= plugins/mupad/bin/tm_mupad_help 42REPLACE_SH+= plugins/mupad/bin/tm_mupad_help
40REPLACE_SH+= plugins/octave/bin/tm_octave 43REPLACE_SH+= plugins/octave/bin/tm_octave
41REPLACE_SH+= plugins/reduce/bin/tm_reduce 44REPLACE_SH+= plugins/reduce/bin/tm_reduce
 45REPLACE_SH+= plugins/texgraph/bin/tm_texgraph
42REPLACE_SH+= plugins/xypic/bin/tm_xypic 46REPLACE_SH+= plugins/xypic/bin/tm_xypic
43 47
 48REPLACE_PERL+= plugins/asymptote/bin/perl-tm_asy
 49REPLACE_PERL+= plugins/asymptote/bin/tm_asy2
 50
44pre-install: 51pre-install:
45 ${RM} -f ${WRKSRC}/TeXmacs/doc/devel/format/.log 52 ${RM} -f ${WRKSRC}/TeXmacs/doc/devel/format/.log
46 ${FIND} ${WRKSRC}/plugins/ -name '*.orig' | ${XARGS} ${RM} 53 ${FIND} ${WRKSRC}/plugins/ -name '*.orig' | ${XARGS} ${RM}
47 54
48# just a helper script, not worth a full perl dependency 55# just a helper script, not worth a full perl dependency
49CHECK_INTERPRETER_SKIP= libexec/TeXmacs/bin/bbox_add.pl 56CHECK_INTERPRETER_SKIP= libexec/TeXmacs/bin/bbox_add.pl
50# but be friendly and set the path to something reasonable 57# but be friendly and set the path to something reasonable
51REPLACE_INTERPRETER+= optionalperl 58REPLACE_INTERPRETER+= optionalperl
52REPLACE.optionalperl.old= .*perl[^[:space:]]* 59REPLACE.optionalperl.old= .*perl[^[:space:]]*
53REPLACE.optionalperl.new= ${LOCALBASE}/bin/perl 60REPLACE.optionalperl.new= ${LOCALBASE}/bin/perl
54REPLACE_FILES.optionalperl= plugins/feynmf/bin/bbox_add.pl 61REPLACE_FILES.optionalperl= plugins/feynmf/bin/bbox_add.pl
55 62
56BUILDLINK_DEPMETHOD.libXt?= build 63BUILDLINK_DEPMETHOD.libXt?= build