blob: c4e60b1735ac3a6a8eda50cd1766c69fdb28a1ab (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
# $NetBSD: Makefile,v 1.55 2006/03/09 14:20:59 ghen Exp $
DISTNAME= TeXmacs-1.0.6-src
PKGNAME= ${DISTNAME:S/-src//}
CATEGORIES= editors
MASTER_SITES= ftp://ftp.texmacs.org/pub/TeXmacs/targz/
MASTER_SITES+= http://www.texmacs.org/Download/ftp/targz/
MAINTAINER= ghen@NetBSD.org
HOMEPAGE= http://www.texmacs.org/
COMMENT= GNU TeXmacs (free scientific text editor)
BUILD_TARGET= TEXMACS
USE_TOOLS+= gmake
USE_LANGUAGES= c c++
GNU_CONFIGURE= yes
TEX_ACCEPTED= teTeX1 teTeX2 teTeX3
PYTHON_PATCH_SCRIPTS= plugins/python/bin/tm_python
SUBST_CLASSES+= init
SUBST_STAGE.init= post-patch
SUBST_FILES.init= plugins/python/progs/init-python.scm
SUBST_SED.init= -e 's,@PYTHONBIN@,${PYTHONBIN},g'
REPLACE_INTERPRETER+= bash
_REPLACE.bash.old= /bin/bash
_REPLACE.bash.new= /bin/sh
_REPLACE_FILES.bash+= plugins/dratex/bin/tm_dratex
_REPLACE_FILES.bash+= plugins/eukleides/bin/tm_eukleides
_REPLACE_FILES.bash+= plugins/gnuplot/bin/tm_gnuplot
_REPLACE_FILES.bash+= plugins/lisp/bin/tm_lisp
_REPLACE_FILES.bash+= plugins/lush/bin/tm_lush
_REPLACE_FILES.bash+= plugins/matlab/bin/tm_matlab
_REPLACE_FILES.bash+= plugins/maxima/bin/maxima_detect
_REPLACE_FILES.bash+= plugins/maxima/bin/tm_maxima
_REPLACE_FILES.bash+= plugins/mupad/bin/tm_mupad_help
_REPLACE_FILES.bash+= plugins/octave/bin/tm_octave
_REPLACE_FILES.bash+= plugins/reduce/bin/tm_reduce
_REPLACE_FILES.bash+= plugins/xypic/bin/tm_xypic
pre-install:
${FIND} ${WRKSRC}/plugins/ . -name '*.orig' | ${XARGS} ${RM}
.include "../../converters/libiconv/buildlink3.mk"
.include "../../graphics/freetype2/buildlink3.mk"
.include "../../lang/guile/buildlink3.mk"
.include "../../mk/x11.buildlink3.mk"
.include "../../lang/python/application.mk"
.include "../../mk/tex.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|