diff options
Diffstat (limited to 'print')
-rw-r--r-- | print/yatex-mule/Makefile | 8 | ||||
-rw-r--r-- | print/yatex-xemacs-mule/Makefile | 8 | ||||
-rw-r--r-- | print/yatex-xemacs/Makefile | 8 | ||||
-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 |
7 files changed, 34 insertions, 34 deletions
diff --git a/print/yatex-mule/Makefile b/print/yatex-mule/Makefile index c36567c..e97bbe7 100644 --- a/print/yatex-mule/Makefile +++ b/print/yatex-mule/Makefile @@ -1,12 +1,12 @@ # New ports collection makefile for: YaTeX -# Version required: 1.65.6 -# Date created: 18 Feb. 1998 +# Version required: 1.66 +# Date created: 98/11/17 # Whom: Satoshi Taoka <taoka@infonets.hiroshima-u.ac.jp> # -# $Id: Makefile,v 1.2 1998/08/17 16:33:42 kuriyama Exp $ +# $Id: Makefile,v 1.3 1998/11/15 12:21:55 kuriyama Exp $ # -PKGNAME= ja-yatex-1.65.6 +PKGNAME= ja-yatex-1.66 CATEGORIES= japanese print elisp MULE= yes diff --git a/print/yatex-xemacs-mule/Makefile b/print/yatex-xemacs-mule/Makefile index 6b65824..2128398 100644 --- a/print/yatex-xemacs-mule/Makefile +++ b/print/yatex-xemacs-mule/Makefile @@ -1,12 +1,12 @@ # New ports collection makefile for: YaTeX -# Version required: 1.65.6 -# Date created: 18 Feb. 1998 +# Version required: 1.66 +# Date created: 98/11/17 # Whom: Satoshi Taoka <taoka@infonets.hiroshima-u.ac.jp> # -# $Id: Makefile,v 1.2 1998/08/17 16:33:44 kuriyama Exp $ +# $Id: Makefile,v 1.3 1998/11/15 12:21:56 kuriyama Exp $ # -PKGNAME= ja-yatex-xemacs-1.65.6 +PKGNAME= ja-yatex-xemacs-1.66 CATEGORIES= japanese print elisp XEMACS-MULE= yes diff --git a/print/yatex-xemacs/Makefile b/print/yatex-xemacs/Makefile index c36567c..e97bbe7 100644 --- a/print/yatex-xemacs/Makefile +++ b/print/yatex-xemacs/Makefile @@ -1,12 +1,12 @@ # New ports collection makefile for: YaTeX -# Version required: 1.65.6 -# Date created: 18 Feb. 1998 +# Version required: 1.66 +# Date created: 98/11/17 # Whom: Satoshi Taoka <taoka@infonets.hiroshima-u.ac.jp> # -# $Id: Makefile,v 1.2 1998/08/17 16:33:42 kuriyama Exp $ +# $Id: Makefile,v 1.3 1998/11/15 12:21:55 kuriyama Exp $ # -PKGNAME= ja-yatex-1.65.6 +PKGNAME= ja-yatex-1.66 CATEGORIES= japanese print elisp MULE= yes diff --git a/print/yatex/Makefile b/print/yatex/Makefile index f65192d..bcc0a53 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 66a3a4a..78b6d52 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 30807e5..169e155 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 f3dea6f..20b9036 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 |