From owner-svn-ports-head@freebsd.org Wed Dec 25 21:17:22 2019 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A42361E578D; Wed, 25 Dec 2019 21:17:22 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47jmBV3hgfz4GfK; Wed, 25 Dec 2019 21:17:22 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 7595B1E5A8; Wed, 25 Dec 2019 21:17:22 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id xBPLHM3S059055; Wed, 25 Dec 2019 21:17:22 GMT (envelope-from hrs@FreeBSD.org) Received: (from hrs@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id xBPLHLUX059048; Wed, 25 Dec 2019 21:17:21 GMT (envelope-from hrs@FreeBSD.org) Message-Id: <201912252117.xBPLHLUX059048@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: hrs set sender to hrs@FreeBSD.org using -f From: Hiroki Sato Date: Wed, 25 Dec 2019 21:17:21 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r520885 - in head/print/yatex: . files X-SVN-Group: ports-head X-SVN-Commit-Author: hrs X-SVN-Commit-Paths: in head/print/yatex: . files X-SVN-Commit-Revision: 520885 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Dec 2019 21:17:22 -0000 Author: hrs Date: Wed Dec 25 21:17:21 2019 New Revision: 520885 URL: https://svnweb.freebsd.org/changeset/ports/520885 Log: - Update to 1.81. - Add LICENSE. - Update yatex-startup.el for modern Emacsen. Modified: head/print/yatex/Makefile head/print/yatex/distinfo head/print/yatex/files/pkg-message.in head/print/yatex/files/yatex-startup.el.in head/print/yatex/pkg-plist Modified: head/print/yatex/Makefile ============================================================================== --- head/print/yatex/Makefile Wed Dec 25 21:05:41 2019 (r520884) +++ head/print/yatex/Makefile Wed Dec 25 21:17:21 2019 (r520885) @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= yatex -PORTVERSION= 1.77 -PORTREVISION= 4 +PORTVERSION= 1.81 CATEGORIES?= print elisp MASTER_SITES= http://www.yatex.org/ PKGNAMESUFFIX= ${EMACS_PKGNAMESUFFIX} @@ -12,9 +11,11 @@ DISTNAME= ${PORTNAME}${PORTVERSION} MAINTAINER= hrs@FreeBSD.org COMMENT= Yet Another LaTeX mode and html mode on Emacs -BROKEN= unfetchable +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKDIR}/LICENSE USES= dos2unix emacs + EMACS_NO_DEPENDS= yes NO_BUILD= yes @@ -28,28 +29,32 @@ PORTDOCS= 00readme readme.meadow.j yatex.new yatexj.te yatexe.tex htmlqa.eng yahtmle.tex yatexref.eng qanda.eng INFO= yahtmle yahtmlj yatexe yatexj -ELFILES= comment.el yatex.el yatexadd.el yatexgen.el \ - yatexenv.el yatexlib.el \ - yatexmth.el yatexhks.el yatexhlp.el yatexprc.el \ - yatexm-o.el yatexsec.el yatexpkg.el yatexhie.el yahtml.el \ - yatex19.el +ELFILES=yahtml.el yatex.el yatex19.el yatex23.el yatexadd.el \ + yatexenv.el yatexflt.el yatexgen.el yatexhie.el yatexhks.el \ + yatexhlp.el yatexlib.el yatexm-o.el yatexmth.el yatexpkg.el \ + yatexprc.el yatexsec.el post-extract: - @${INSTALL_DATA} ${WRKSRC}/docs/* ${WRKSRC} + ${INSTALL_DATA} ${WRKSRC}/docs/* ${WRKSRC} + ${SED} -n "/(c)1991/,/^;;; Code:$$/p" \ + < ${WRKSRC}/yatex.el > ${WRKDIR}/LICENSE do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR}/yatex - cd ${WRKSRC} && \ - ${INSTALL_DATA} ${ELFILES} ${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR}/yatex - ${INSTALL_DATA} \ - ${WRKDIR}/yatex-startup.el \ - ${WRKSRC}/help/YATEXHLP.jp \ - ${WRKSRC}/help/YATEXHLP.eng \ - ${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR} + cd ${WRKSRC} && ${INSTALL_DATA} \ + ${ELFILES} \ + ${WRKDIR}/yatex-startup.el \ + ${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR}/yatex + @${MKDIR} ${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR}/yatex/help + cd ${WRKSRC}/help && ${INSTALL_DATA} \ + YATEXHLP.jp YATEXHLP.eng \ + ${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR}/yatex/help for F in ${INFO}; do \ ${INSTALL_DATA} ${WRKSRC}/docs/$$F \ - ${STAGEDIR}${PREFIX}/${INFO_PATH}/$${F}.info; \ + ${STAGEDIR}${PREFIX}/${INFO_PATH}/$${F}.info; \ done + +post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} Modified: head/print/yatex/distinfo ============================================================================== --- head/print/yatex/distinfo Wed Dec 25 21:05:41 2019 (r520884) +++ head/print/yatex/distinfo Wed Dec 25 21:17:21 2019 (r520885) @@ -1,2 +1,3 @@ -SHA256 (yatex1.77.tar.gz) = acc3e14c34ea5eba0c1a96cef6b5c7ab850e621f75cf25764e0ae37be483f177 -SIZE (yatex1.77.tar.gz) = 356721 +TIMESTAMP = 1577125366 +SHA256 (yatex1.81.tar.gz) = f0d91090ef79d0bdc39d4b445e6f1fc9a55b2e8606b7f3bb9397f17cf013c40c +SIZE (yatex1.81.tar.gz) = 385394 Modified: head/print/yatex/files/pkg-message.in ============================================================================== --- head/print/yatex/files/pkg-message.in Wed Dec 25 21:05:41 2019 (r520884) +++ head/print/yatex/files/pkg-message.in Wed Dec 25 21:17:21 2019 (r520885) @@ -5,7 +5,7 @@ To use YaTeX, add the next line into your .emacs: (require 'yatex-startup) -yatex-startup.el in %%PREFIX%%/%%EMACS_SITE_LISPDIR%% also includes +yatex-startup.el in %%PREFIX%%/%%EMACS_SITE_LISPDIR%%/yatex also includes configuration examples. To get more information, see the info file of YaTeX. EOM Modified: head/print/yatex/files/yatex-startup.el.in ============================================================================== --- head/print/yatex/files/yatex-startup.el.in Wed Dec 25 21:05:41 2019 (r520884) +++ head/print/yatex/files/yatex-startup.el.in Wed Dec 25 21:17:21 2019 (r520885) @@ -1,15 +1,27 @@ -;; a startup elisp for YaTeX -;; -- S. Taoka +;; startup elisp for YaTeX +;; ;; $FreeBSD$ - -(setq load-path (append (list - "%%PREFIX%%/%%EMACS_SITE_LISPDIR%%/yatex" - ) load-path)) +;; (setq auto-mode-alist (cons (cons "\\.tex$" 'yatex-mode) auto-mode-alist)) (autoload 'yatex-mode "yatex" "Yet Another LaTeX mode" t) +(cond + ((string= current-language-environment "Japanese") + (progn + (setq YaTeX-help-file "%%PREFIX%%/%%EMACS_SITE_LISPDIR%%/yatex/help/YATEXHLP.jp") + (setq tex-command "platex") + )) + (t + (progn + (setq YaTeX-help-file "%%PREFIX%%/%%EMACS_SITE_LISPDIR%%/yatex/help/YATEXHLP.eng") + (setq tex-command "latex") + )) +) +(setq YaTeX-use-font-lock t) +(setq YaTeX-dvipdf-command "dvipdfmx") +(setq tex-pdfview-command "mupdf") + ;; -;(setq tex-command "latex") ;(setq dvi2-command "xdvi -geo +0+0 -s 3") ;; If you use dvipsk as default, you should use the following three lines. ;(setq dviprint-from-format "-p %b") @@ -18,26 +30,7 @@ ;; specifying a Kanji code for Mule ;; (1=Shift JIS, 2=JIS, 3=EUC) ;(setq YaTeX-kanji-code 3) -;; -;; 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 ; (cons (cons "\\.html$" 'yahtml-mode) auto-mode-alist)) Modified: head/print/yatex/pkg-plist ============================================================================== --- head/print/yatex/pkg-plist Wed Dec 25 21:05:41 2019 (r520884) +++ head/print/yatex/pkg-plist Wed Dec 25 21:17:21 2019 (r520885) @@ -1,9 +1,10 @@ -%%EMACS_SITE_LISPDIR%%/yatex/comment.el %%EMACS_SITE_LISPDIR%%/yatex/yahtml.el %%EMACS_SITE_LISPDIR%%/yatex/yatex.el %%EMACS_SITE_LISPDIR%%/yatex/yatex19.el +%%EMACS_SITE_LISPDIR%%/yatex/yatex23.el %%EMACS_SITE_LISPDIR%%/yatex/yatexadd.el %%EMACS_SITE_LISPDIR%%/yatex/yatexenv.el +%%EMACS_SITE_LISPDIR%%/yatex/yatexflt.el %%EMACS_SITE_LISPDIR%%/yatex/yatexgen.el %%EMACS_SITE_LISPDIR%%/yatex/yatexhie.el %%EMACS_SITE_LISPDIR%%/yatex/yatexhks.el @@ -11,9 +12,9 @@ %%EMACS_SITE_LISPDIR%%/yatex/yatexlib.el %%EMACS_SITE_LISPDIR%%/yatex/yatexm-o.el %%EMACS_SITE_LISPDIR%%/yatex/yatexmth.el +%%EMACS_SITE_LISPDIR%%/yatex/yatexpkg.el %%EMACS_SITE_LISPDIR%%/yatex/yatexprc.el %%EMACS_SITE_LISPDIR%%/yatex/yatexsec.el -%%EMACS_SITE_LISPDIR%%/yatex/yatexpkg.el -%%EMACS_SITE_LISPDIR%%/YATEXHLP.jp -%%EMACS_SITE_LISPDIR%%/YATEXHLP.eng -%%EMACS_SITE_LISPDIR%%/yatex-startup.el +%%EMACS_SITE_LISPDIR%%/yatex/help/YATEXHLP.eng +%%EMACS_SITE_LISPDIR%%/yatex/help/YATEXHLP.jp +%%EMACS_SITE_LISPDIR%%/yatex/yatex-startup.el