aboutsummaryrefslogtreecommitdiffstats
path: root/print
diff options
context:
space:
mode:
authortaoka <taoka@FreeBSD.org>2001-03-09 13:56:26 +0800
committertaoka <taoka@FreeBSD.org>2001-03-09 13:56:26 +0800
commit170eee7c01d2835d1b020a517f64b6e7b6f5a1d3 (patch)
tree43d1d97b41ae8dc62dba7bb9bdf287f6c94de6c1 /print
parentf17a2882b02653cece34ba8bfbffea30d4eefc76 (diff)
downloadfreebsd-ports-gnome-170eee7c01d2835d1b020a517f64b6e7b6f5a1d3.tar.gz
freebsd-ports-gnome-170eee7c01d2835d1b020a517f64b6e7b6f5a1d3.tar.zst
freebsd-ports-gnome-170eee7c01d2835d1b020a517f64b6e7b6f5a1d3.zip
Update version to 1.69.e (this is beta version, 10103091216).
The version supports YaTeX's hilighting for XEmacs (font-lock).
Diffstat (limited to 'print')
-rw-r--r--print/yatex/Makefile11
-rw-r--r--print/yatex/distinfo2
-rw-r--r--print/yatex/files/yatex-startup.el.tmpl22
3 files changed, 26 insertions, 9 deletions
diff --git a/print/yatex/Makefile b/print/yatex/Makefile
index 1d79245a9745..4fa3e20bb389 100644
--- a/print/yatex/Makefile
+++ b/print/yatex/Makefile
@@ -6,17 +6,20 @@
#
PORTNAME= yatex
-PORTVERSION= ${VERSION}
+PORTVERSION= 1.69.e
CATEGORIES?= print elisp
-MASTER_SITES= http://www.yatex.org/
-DISTNAME= ${PORTNAME}${PORTVERSION}
+MASTER_SITES= http://www.yatex.org/ \
+ http://www.gentei.org/~yuuji/tmp/
+DISTNAME= ${PORTNAME}${VERSION}
+#DISTNAME= ${PORTNAME}${PORTVERSION}
+WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION}
MAINTAINER= taoka@FreeBSD.org
PKGINSTALL= ${WRKDIR}/INSTALL
PKGDEINSTALL= ${WRKDIR}/DEINSTALL
PKGMESSAGE= ${WRKDIR}/MESSAGE
-VERSION= 1.67
+VERSION= 10103091216
TARGETNAME= YaTeX
DIRSECTION= The Emacs editor and associated tools
EMACS_PORT_NAME?=emacs20
diff --git a/print/yatex/distinfo b/print/yatex/distinfo
index 2aa8e46fe80f..75c2efe5e4ae 100644
--- a/print/yatex/distinfo
+++ b/print/yatex/distinfo
@@ -1 +1 @@
-MD5 (yatex1.67.tar.gz) = ff0fba39a1c6f3fca5d6242b8e1134e1
+MD5 (yatex10103091216.tar.gz) = bd83e924d26c386e5b73597468d89bad
diff --git a/print/yatex/files/yatex-startup.el.tmpl b/print/yatex/files/yatex-startup.el.tmpl
index c5da8a6c56a8..44608202586d 100644
--- a/print/yatex/files/yatex-startup.el.tmpl
+++ b/print/yatex/files/yatex-startup.el.tmpl
@@ -20,10 +20,24 @@
;; (1=Shift JIS, 2=JIS, 3=EUC)
;(setq YaTeX-kanji-code 3)
;;
-;; For XEmacs, it is not supported that YaTeX originally color
-;; LaTeX commands (e.g. \section{foo}) by using hilit19
-;; so you had better uncomment the next line.
-;(put 'yatex-mode 'font-lock-defaults 'latex-mode)
+
+;; To highlight buffer, LaTeX commands (e.g. \section{foo})
+(if (featurep 'xemacs)
+ (progn
+ ;;;;;; XEmacs 21 or later ;;;;;;
+ (setq YaTeX-use-font-lock t)
+ )
+ (if (string-match "19.34" emacs-version)
+ (progn
+ ;;;;;; Emacs 19.34 ;;;;;
+ (setq YaTeX-use-hilit19 t)
+ )
+ (progn
+ ;;;;;; Emacs 20 or later ;;;;;;
+ (setq YaTeX-use-hilit19 t)
+; (setq YaTeX-use-font-lock t)
+ )))
+
;;
;;;;;;;; Yahtml (another html-mode) ;;;;;;
;(setq auto-mode-alist