diff options
author | taoka <taoka@FreeBSD.org> | 1999-03-17 06:57:38 +0000 |
---|---|---|
committer | taoka <taoka@FreeBSD.org> | 1999-03-17 06:57:38 +0000 |
commit | 2872b94b56a02b281b8ab3430152aaa992328e5e (patch) | |
tree | dbf1059479b99fe8f11dede164a8690fff33320e /print/yatex/Makefile | |
parent | bfa2cb4b1e33a910f116c3c0a76edcd963880d07 (diff) | |
download | FreeBSD-ports-2872b94b56a02b281b8ab3430152aaa992328e5e.zip FreeBSD-ports-2872b94b56a02b281b8ab3430152aaa992328e5e.tar.gz |
moved japanese/yatex to print/yatex-mule (for Mule 2.3)
moved japanese/yatex-xemacs to print/yatex-xemacs-mule (for XEmacs20-mule)
added a new port: print/yatex-xemacs (for XEmacs19 XEmacs20)
Diffstat (limited to 'print/yatex/Makefile')
-rw-r--r-- | print/yatex/Makefile | 92 |
1 files changed, 39 insertions, 53 deletions
diff --git a/print/yatex/Makefile b/print/yatex/Makefile index 6d23202..b823164 100644 --- a/print/yatex/Makefile +++ b/print/yatex/Makefile @@ -3,7 +3,7 @@ # Date created: 98/11/17 # Whom: Satoshi Taoka <taoka@infonets.hiroshima-u.ac.jp> # -# $Id: Makefile,v 1.6 1998/12/01 03:06:39 asami Exp $ +# $Id: Makefile,v 1.7 1998/12/13 08:47:42 asami Exp $ # DISTNAME= yatex1.66 @@ -17,36 +17,34 @@ MAINTAINER= taoka@infonets.hiroshima-u.ac.jp WRKSRC= ${WRKDIR}/yatex${VERSION} .if defined(XEMACS-MULE) BUILD_DEPENDS= xemacs:${PORTSDIR}/editors/xemacs-mule \ - nkf:${PORTSDIR}/japanese/nkf \ - bash:${PORTSDIR}/shells/bash2 + nkf:${PORTSDIR}/japanese/nkf .endif - PKGINSTALL= ${WRKDIR}/INSTALL PKGDEINSTALL= ${WRKDIR}/DEINSTALL +PKGMESSAGE= ${WRKDIR}/MESSAGE 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 -EMACSDIR= ${PREFIX}/share/mule -SITESTARTDIR= ${EMACSDIR}/19.34/site-lisp -.endif -.if defined(XEMACS-MULE) +.if defined(XEMACS) || defined(XEMACS-MULE) EMACS= xemacs EMACSDIR= ${PREFIX}/lib/xemacs -# INFODIR= ${EMACSDIR}/info +.elif defined(MULE) +EMACSDIR= ${PREFIX}/share/mule +INFODIR= ${PREFIX}/info +.else +EMACSDIR= ${PREFIX}/share/emacs +INFODIR= ${PREFIX}/info .endif -.if defined(MULE) || defined(XEMACS-MULE) +.if defined(XEMACS) +NEW= +HELP= help/YATEXHLP.eng +INFOFILES= yatexe +INFONODES= YaTeX +INFONODEEXPS= Yet Another tex-mode for Emacs. +.else NEW= yatex.new HELP= help/YATEXHLP.jp help/YATEXHLP.eng DOCSRC= docs/yatexj.tex \ @@ -57,14 +55,6 @@ INFOFILES= yatexj:yatexe INFONODES= YaTeX-jp:YaTeX INFONODEEXPS= Yet Another tex-mode for Emacs. (Japanese):Yet Another tex-mode for Emacs. .endif -.if !defined(MULE) && !defined(XEMACS-MULE) -EMACSDIR= ${PREFIX}/share/emacs -NEW= -HELP= help/YATEXHLP.eng -INFOFILES= yatexe -INFONODES= YaTeX -INFONODEEXPS= Yet Another tex-mode for Emacs. -.endif DOCSRC+= docs/yatexe.tex \ docs/yatexref.eng \ docs/qanda.eng @@ -77,27 +67,25 @@ EL_FILES= comment.el yatex.el yatexadd.el yatexgen.el \ yatex19.el do-build: - for file in user-install INSTALL DEINSTALL; do \ - ${SED} -e 's,%TARGETNAME%,${TARGETNAME},g' \ - -e 's,%VERSION%,${VERSION},g' \ - -e 's,%PREFIX%,${PREFIX},g' \ - -e 's,%BASENAME%,${BASENAME},g' \ - -e 's,%CAT%,${CAT},g' \ - -e 's,%CP%,${CP},g' \ - -e 's,%ECHO%,${ECHO},g' \ - -e 's,%GREP%,${GREP},g' \ - -e 's,%RM%,${RM},g' \ - -e 's,%SED%,${SED},g' \ - -e 's,%TOUCH%,${TOUCH},g' \ - -e 's,%DO_NADA%,${DO_NADA},g' \ - -e 's,%INFODIR%,${INFODIR},g' \ - -e 's,%ELISPDIR%,${ELISPDIR},g' \ - -e 's,%INFOFILES%,${INFOFILES},g' \ - -e 's,%INFONODES%,${INFONODES},g' \ - -e 's,%INFONODEEXPS%,${INFONODEEXPS},g' \ - -e 's,%DIRSECTION%,${DIRSECTION},g' \ - -e 's,%SITESTARTDIR%,${SITESTARTDIR},g' \ - -e 's,%ADDSITESTART%,${ADDSITESTART},g' \ + for file in yatex-startup.el INSTALL DEINSTALL MESSAGE; do \ + ${SED} -e 's,%%TARGETNAME%%,${TARGETNAME},g' \ + -e 's,%%VERSION%%,${VERSION},g' \ + -e 's,%%PREFIX%%,${PREFIX},g' \ + -e 's,%%BASENAME%%,${BASENAME},g' \ + -e 's,%%CAT%%,${CAT},g' \ + -e 's,%%CP%%,${CP},g' \ + -e 's,%%ECHO%%,${ECHO},g' \ + -e 's,%%GREP%%,${GREP},g' \ + -e 's,%%RM%%,${RM},g' \ + -e 's,%%SED%%,${SED},g' \ + -e 's,%%TOUCH%%,${TOUCH},g' \ + -e 's,%%DO_NADA%%,${DO_NADA},g' \ + -e 's,%%INFODIR%%,${INFODIR},g' \ + -e 's,%%ELISPDIR%%,${ELISPDIR},g' \ + -e 's,%%INFOFILES%%,${INFOFILES},g' \ + -e 's,%%INFONODES%%,${INFONODES},g' \ + -e 's,%%INFONODEEXPS%%,${INFONODEEXPS},g' \ + -e 's,%%DIRSECTION%%,${DIRSECTION},g' \ < ${FILESDIR}/$${file}.tmpl > ${WRKDIR}/$${file}; \ done # For XEmacs-mule 20.4, yatexj.info (in Japanese) should be remade @@ -128,9 +116,6 @@ do-install: .endif post-install: -.if !defined(NOPORTDOCS) - @${INSTALL_SCRIPT} ${WRKDIR}/user-install ${PORTSDOCDIR} -.endif if [ ! -f ${INFODIR}/dir ]; then \ ${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${INFODIR}/dir; \ fi @@ -138,6 +123,7 @@ post-install: ELISPDIR=${ELISPDIR} DIRSECTION="${DIRSECTION}" \ INFOFILES="${INFOFILES}" \ ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL - @${CAT} ${PKGDIR}/MESSAGE + @${INSTALL_DATA} ${WRKDIR}/yatex-startup.el ${ELISPDIR} + @${CAT} ${PKGMESSAGE} .include <bsd.port.mk> |