- updated to use version 1.66.

PR:		8752
Submitted by:	Satoshi Taoka <taoka@infonets.hiroshima-u.ac.jp> (= maintainer)
This commit is contained in:
Jun-ichiro itojun Hagino 1998-11-20 18:19:10 +00:00
parent d1bae6ca98
commit bd566e33a3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=14720
7 changed files with 34 additions and 34 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -1 +1 @@
MD5 (yatex9805062331.tar.gz) = d3043e678e4b919e1f5795b422dac5b9
MD5 (yatex1.66.tar.gz) = a112d4762f25ceb3b89480e51ae022d1

View file

@ -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

View file

@ -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