diff options
author | itojun <itojun@FreeBSD.org> | 1998-11-21 02:19:10 +0800 |
---|---|---|
committer | itojun <itojun@FreeBSD.org> | 1998-11-21 02:19:10 +0800 |
commit | 57c16b9cb0fa4dfecb5c856885e9b7f1abe9e64c (patch) | |
tree | a563a43928be6e34dc48bb5caff779672767e8ae /print/yatex | |
parent | 8049358726f1900a7c4a62166e2bf66152f1bab1 (diff) | |
download | freebsd-ports-gnome-57c16b9cb0fa4dfecb5c856885e9b7f1abe9e64c.tar.gz freebsd-ports-gnome-57c16b9cb0fa4dfecb5c856885e9b7f1abe9e64c.tar.zst freebsd-ports-gnome-57c16b9cb0fa4dfecb5c856885e9b7f1abe9e64c.zip |
- updated to use version 1.66.
PR: 8752
Submitted by: Satoshi Taoka <taoka@infonets.hiroshima-u.ac.jp> (= maintainer)
Diffstat (limited to 'print/yatex')
-rw-r--r-- | print/yatex/Makefile | 18 | ||||
-rw-r--r-- | print/yatex/distinfo | 2 | ||||
-rw-r--r-- | print/yatex/files/DEINSTALL.tmpl | 3 | ||||
-rw-r--r-- | print/yatex/files/INSTALL.tmpl | 21 |
4 files changed, 22 insertions, 22 deletions
diff --git a/print/yatex/Makefile b/print/yatex/Makefile index f65192dcf2b1..bcc0a53a84fb 100644 --- a/print/yatex/Makefile +++ b/print/yatex/Makefile @@ -1,13 +1,13 @@ # New ports collection makefile for: YaTeX -# Version required: 1.65.6 -# Date created: Oct 9 1998 +# Version required: 1.66 +# Date created: 98/11/17 # Whom: Satoshi Taoka <taoka@infonets.hiroshima-u.ac.jp> # -# $Id: Makefile,v 1.3 1998/11/11 14:33:01 kuriyama Exp $ +# $Id: Makefile,v 1.4 1998/11/15 12:21:56 kuriyama Exp $ # -DISTNAME= yatex9805062331 -PKGNAME?= yatex-1.65.6 +DISTNAME= yatex1.66 +PKGNAME?= yatex-1.66 CATEGORIES?= print elisp MASTER_SITES= http://www.comp.ae.keio.ac.jp/~yuuji/yatex/ \ http://www.comp.ae.keio.ac.jp/~yuuji/tmp/ @@ -25,18 +25,20 @@ BUILD_DEPENDS= xemacs:${PORTSDIR}/editors/xemacs-mule \ bash:${PORTSDIR}/shells/bash2 .endif -VERSION= 1.65.6 +VERSION= 1.66 TARGETNAME= YaTeX DIRSECTION= The Emacs editor and associated tools +ADDSITESTART= +SITESTARTDIR= # Note that 'INFODIR' is defined in bsd.info.mk .if !defined(XEMACS-MULE) INFODIR= ${PREFIX}/info .endif +.if defined(MULE) # The value of ADDSITESTART should follow a format of printf(1) ADDSITESTART= (setq load-path (append (list \\n\ \\t\\"${ELISPDIR}/yatex\\"\\n\ \\t) load-path))\\n -.if defined(MULE) EMACSDIR= ${PREFIX}/share/mule SITESTARTDIR= ${EMACSDIR}/19.34/site-lisp .endif @@ -45,8 +47,6 @@ EMACS= xemacs EMACSDIR= ${PREFIX}/lib/xemacs # INFODIR= ${EMACSDIR}/info -ADDSITESTART= -SITESTARTDIR= .endif .if defined(MULE) || defined(XEMACS-MULE) NEW= yatex.new diff --git a/print/yatex/distinfo b/print/yatex/distinfo index 66a3a4afcc86..78b6d5250146 100644 --- a/print/yatex/distinfo +++ b/print/yatex/distinfo @@ -1 +1 @@ -MD5 (yatex9805062331.tar.gz) = d3043e678e4b919e1f5795b422dac5b9 +MD5 (yatex1.66.tar.gz) = a112d4762f25ceb3b89480e51ae022d1 diff --git a/print/yatex/files/DEINSTALL.tmpl b/print/yatex/files/DEINSTALL.tmpl index 30807e5099a1..169e15519733 100644 --- a/print/yatex/files/DEINSTALL.tmpl +++ b/print/yatex/files/DEINSTALL.tmpl @@ -21,7 +21,8 @@ if [ "X$2" = X"DEINSTALL" ]; then for file in `echo ${infofiles} | ${SED} "s,:, ,g"`; do install-info --delete ${infodir}/${file} ${infodir}/dir done - if [ "`grep \"^${OptionStart}\" ${sitestartdir}/site-start.el`" ]; then + if [ X"${sitestartdir}" != X ] && \ + [ "`grep \"^${OptionStart}\" ${sitestartdir}/site-start.el`" ]; then ${ECHO} "Deleting entry for \"${pkgname}\" from ${sitestartdir}/site-start.el" ${SED} -e "/^${OptionStart}/,/^${OptionEnd}/d" \ ${sitestartdir}/site-start.el > ${sitestartdir}/site-start.el.bak diff --git a/print/yatex/files/INSTALL.tmpl b/print/yatex/files/INSTALL.tmpl index f3dea6f828d0..20b9036c31a0 100644 --- a/print/yatex/files/INSTALL.tmpl +++ b/print/yatex/files/INSTALL.tmpl @@ -49,17 +49,16 @@ if [ "X$2" = X"POST-INSTALL" ]; then for file in `${ECHO} ${infofiles} | ${SED} "s,:, ,g"`; do install-info ${infodir}/${file} ${infodir}/dir done - if [ X'%ADDSITESTART%' != X ]; then - if [ "`${GREP} \"^${OptionStart}\" ${sitestartdir}/site-start.el`" ]; then - ${SED} -e "/^${OptionStart}/,/^${OptionEnd}/d" \ - ${sitestartdir}/site-start.el > ${sitestartdir}/site-start.el.bak - ${CP} ${sitestartdir}/site-start.el.bak ${sitestartdir}/site-start.el - fi - ${ECHO} "Adding entry for \"${pkgname}\" to ${sitestartdir}/site-start.el" - ${ECHO} "${OptionStart}" >> ${sitestartdir}/site-start.el - /usr/bin/printf "%ADDSITESTART%" | \ - ${SED} "s/^ //" >> ${sitestartdir}/site-start.el - ${ECHO} "${OptionEnd}" >> ${sitestartdir}/site-start.el + if [ X"${sitestartdir}" != X ] && \ + [ "`${GREP} \"^${OptionStart}\" ${sitestartdir}/site-start.el`" ]; then + ${SED} -e "/^${OptionStart}/,/^${OptionEnd}/d" \ + ${sitestartdir}/site-start.el > ${sitestartdir}/site-start.el.bak + ${CP} ${sitestartdir}/site-start.el.bak ${sitestartdir}/site-start.el + ${ECHO} "Adding entry for \"${pkgname}\" to ${sitestartdir}/site-start.el" + ${ECHO} "${OptionStart}" >> ${sitestartdir}/site-start.el + /usr/bin/printf "%ADDSITESTART%" | \ + ${SED} "s/^ //" >> ${sitestartdir}/site-start.el + ${ECHO} "${OptionEnd}" >> ${sitestartdir}/site-start.el fi exit 0 else |