blob: 84e6115be2c67ef74a49fbda9a99f085181b65b1 (
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
54
|
# $NetBSD: Makefile,v 1.53 2006/02/05 23:08:54 joerg Exp $
DISTNAME= TeXmacs-1.0.5.12-src
PKGNAME= ${DISTNAME:S/-src//}
PKGREVISION= 1
CATEGORIES= editors
MASTER_SITES= ftp://ftp.texmacs.org/pub/TeXmacs/targz/
MASTER_SITES+= http://www.texmacs.org/Download/ftp/targz/
MAINTAINER= recht@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'
SUBST_CLASSES+= bash
SUBST_STAGE.bash= post-patch
SUBST_FILES.bash+= plugins/dratex/bin/tm_dratex
SUBST_FILES.bash+= plugins/eukleides/bin/tm_eukleides
SUBST_FILES.bash+= plugins/gnuplot/bin/tm_gnuplot
SUBST_FILES.bash+= plugins/lisp/bin/tm_lisp
SUBST_FILES.bash+= plugins/lush/bin/tm_lush
SUBST_FILES.bash+= plugins/matlab/bin/tm_matlab
SUBST_FILES.bash+= plugins/maxima/bin/maxima_detect
SUBST_FILES.bash+= plugins/maxima/bin/tm_maxima
SUBST_FILES.bash+= plugins/mupad/bin/tm_mupad_help
SUBST_FILES.bash+= plugins/octave/bin/tm_octave
SUBST_FILES.bash+= plugins/reduce/bin/tm_reduce
SUBST_FILES.bash+= plugins/xypic/bin/tm_xypic
SUBST_SED.bash= -e 's,^\#!/bin/bash,\#!/bin/sh,'
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"
|