summaryrefslogtreecommitdiff
path: root/editors/TeXmacs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'editors/TeXmacs/Makefile')
-rw-r--r--editors/TeXmacs/Makefile13
1 files changed, 10 insertions, 3 deletions
diff --git a/editors/TeXmacs/Makefile b/editors/TeXmacs/Makefile
index 49a3a2ed62f..fad26ae92a1 100644
--- a/editors/TeXmacs/Makefile
+++ b/editors/TeXmacs/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.26 2004/03/26 02:27:39 wiz Exp $
+# $NetBSD: Makefile,v 1.27 2004/03/30 12:41:27 recht Exp $
-DISTNAME= TeXmacs-1.0.3.3-src
+DISTNAME= TeXmacs-1.0.3.5-src
PKGNAME= ${DISTNAME:S/-src//}
-PKGREVISION= 1
CATEGORIES= editors
MASTER_SITES= ftp://ftp.texmacs.org/pub/TeXmacs/targz/
@@ -23,6 +22,14 @@ GNU_CONFIGURE= yes
CONFIGURE_ENV+= PKG_CXXFLAGS="${PKG_CXXFLAGS}"
CONFIGURE_ENV+= PKG_LDFLAGS="${LDFLAGS}"
+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'
+
+.include "../../lang/python/application.mk"
.include "../../converters/libiconv/buildlink3.mk"
.include "../../graphics/freetype2/buildlink3.mk"
.include "../../lang/guile/buildlink3.mk"