# New ports collection makefile for: YaTeX # Date created: 98/11/17 # Whom: Satoshi Taoka # # $FreeBSD$ # PORTNAME= yatex PORTVERSION= 1.69.k CATEGORIES?= print elisp MASTER_SITES= http://www.yatex.org/ \ http://www.gentei.org/~yuuji/tmp/ DISTNAME= ${PORTNAME}${VERSION} #DISTNAME= ${PORTNAME}${PORTVERSION} WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION} MAINTAINER= taoka@FreeBSD.org PKGINSTALL= ${WRKDIR}/INSTALL PKGDEINSTALL= ${WRKDIR}/DEINSTALL PKGMESSAGE= ${WRKDIR}/MESSAGE VERSION= 10106111128 TARGETNAME= YaTeX DIRSECTION= The Emacs editor and associated tools EMACS_PORT_NAME?=emacs20 .if (${EMACS_PORT_NAME} == xemacs21-mule) BUILD_DEPENDS= xemacs:${PORTSDIR}/japanese/xemacs21-canna \ ${LOCALBASE}/${EMACS_PACKAGESDIR}/../xemacs-packages/lisp/texinfo/texinfmt.el:${PORTSDIR}/editors/xemacs-packages \ nkf:${PORTSDIR}/japanese/nkf .endif EMACS_PACKAGESDIR=${EMACS_LIBDIR}/site-packages # Note that 'INFODIR' is defined in bsd.info.mk .if (${EMACS_PORT_NAME} == xemacs21) INFODIR= ${PREFIX}/${EMACS_PACKAGESDIR}/info ELISPDIR= ${PREFIX}/${EMACS_PACKAGESDIR}/lisp HELPDIR= ${PREFIX}/${EMACS_LIBDIR}/site-lisp PLIST= ${PKGDIR}/pkg-plist.xemacs MANIFEST= MANIFEST.yatex .elif (${EMACS_PORT_NAME} == xemacs21-mule) INFODIR= ${PREFIX}/${EMACS_PACKAGESDIR}/info ELISPDIR= ${PREFIX}/${EMACS_PACKAGESDIR}/lisp HELPDIR= ${PREFIX}/${EMACS_LIBDIR}/site-lisp PLIST= ${PKGDIR}/pkg-plist.xemacs-mule MANIFEST= MANIFEST.yatex .elif (${EMACS_PORT_NAME} == mule) INFODIR= ${PREFIX}/info PLIST= ${PKGDIR}/pkg-plist.mule ELISPDIR= ${PREFIX}/${EMACS_LIBDIR}/site-lisp HELPDIR= ${ELISPDIR} .else INFODIR= ${PREFIX}/info PLIST= ${PKGDIR}/pkg-plist.emacs ELISPDIR= ${PREFIX}/${EMACS_LIBDIR}/site-lisp HELPDIR= ${ELISPDIR} .endif PORTSDOCDIR= ${PREFIX}/share/doc/yatex .if (${EMACS_PORT_NAME} == xemacs21) NEW= HELP= help/YATEXHLP.eng INFOFILES= yatexe:yahtmle INFONODES= YaTeX:yahtml INFONODEEXPS= Yet Another tex-mode for Emacs.:Yet Another HTML mode. .else NEW= yatex.new HELP= help/YATEXHLP.jp help/YATEXHLP.eng DOCSRC= docs/yatexj.tex \ docs/yatex.ref \ docs/yahtmlj.tex docs/htmlqa \ docs/yatexadd.doc docs/yatexgen.doc \ docs/qanda INFOFILES= yatexj:yatexe:yahtmlj:yahtmle INFONODES= YaTeX-jp:YaTeX:yahtml-jp:yahtml INFONODEEXPS= Yet Another tex-mode for Emacs. (Japanese):Yet Another tex-mode for Emacs.:Yet Another HTML mode. (Japanese):Yet Another HTML mode. .endif DOCSRC+= docs/yatexe.tex \ docs/htmlqa.eng docs/yahtmle.tex \ docs/yatexref.eng \ docs/qanda.eng EL_FILES= 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 yatexhie.el yahtml.el \ yatex19.el do-build: 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_CMD},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,%%EMACS_NAME%%,${EMACS_NAME},g' \ < ${FILESDIR}/$${file}.tmpl > ${WRKDIR}/$${file}; \ done # For XEmacs-mule 20.4, yatexj.info (in Japanese) should be remade # after Kanji code of yatexj.tex is convert from shift jis (MS-Kanji) # to EUC. .if (${EMACS_PORT_NAME} == xemacs21-mule) (cd ${WRKSRC}/docs; \ ${MV} yatexj.tex yatexj.tex.org; \ nkf -e yatexj.tex.org > yatexj.tex; \ ${SETENV} LANG=ja_JP.EUC ${EMACS_CMD} -no-site-file -no-init-file \ -batch -l texinfmt -f batch-texinfo-format yatexj.tex; \ ) .endif do-install: cd ${WRKSRC}; \ ${MKDIR} ${ELISPDIR}/yatex; \ ${MKDIR} ${HELPDIR} ${INFODIR}; \ ${INSTALL_DATA} ${EL_FILES} ${ELISPDIR}/yatex; \ ${INSTALL_DATA} ${HELP} ${HELPDIR}; \ ${MKDIR} ${INFODIR} .if (${EMACS_PORT_NAME} == xemacs21) || (${EMACS_PORT_NAME} == xemacs21-mule) cd ${WRKSRC}; \ for file in `${ECHO_CMD} ${INFOFILES} | ${SED} "s,:, ,g"`; do \ ${INSTALL_DATA} ${WRKSRC}/docs/$${file} ${INFODIR}/$${file}.info; \ done .else cd ${WRKSRC}; \ for file in `${ECHO_CMD} ${INFOFILES} | ${SED} "s,:, ,g"`; do \ ${INSTALL_DATA} ${WRKSRC}/docs/$${file} ${INFODIR}; \ done .endif .if !defined(NOPORTDOCS) ${MKDIR} ${PORTSDOCDIR} cd ${WRKSRC}; ${INSTALL_DATA} ${NEW} ${DOCSRC} ${PORTSDOCDIR} .endif post-install: @${SETENV} TOUCH=${TOUCH} INFODIR=${INFODIR} \ ELISPDIR=${ELISPDIR} DIRSECTION="${DIRSECTION}" \ INFOFILES="${INFOFILES}" \ ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL @${INSTALL_DATA} ${WRKDIR}/yatex-startup.el ${ELISPDIR} @${CAT} ${PKGMESSAGE} .if (${EMACS_PORT_NAME} == xemacs21) || (${EMACS_PORT_NAME} == xemacs21-mule) ${RM} -f ${WRKDIR}/${MANIFEST} ${CAT} ${PLIST} | ${GREP} -e "^${EMACS_LIBDIR}" | \ ${SED} -e "s;^${EMACS_LIBDIR}/;;" > ${WRKDIR}/${MANIFEST} ${MKDIR} ${PREFIX}/${EMACS_LIBDIR}/site-packages/pkginfo ${INSTALL_DATA} ${WRKDIR}/${MANIFEST} \ ${PREFIX}/${EMACS_LIBDIR}/site-packages/pkginfo/ .endif .include /?h=gnome-3.24&id=1f72662bcc63b2f800608a2b2ffe09da2ca4a960'>refslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* wxWidgets 2.8.0rc1fjoe2006-12-032-32/+22
* - Make X11BASE-clean.fjoe2006-11-291-0/+2
* - Update to 2.6.3fjoe2006-04-022-10/+9
* Fix more "port revision going backword".kuriyama2006-01-311-0/+1
* Update to 2.6.2.fjoe2005-11-061-9/+9
* Update to 2.6.1.fjoe2005-09-011-2/+0
* - Use | as a separator instead of comma (,)fjoe2005-05-301-0/+2
* Finish repo-move of wxgtk2*-devel ports to wxgtk26* and update to thefjoe2005-05-132-29/+30
* Bump PORTREVISION to chase the glib20 shared lib version change.marcus2005-03-121-1/+1
* - This port conflicts with wxgtk2-unicode-contrib-devel-2.5.2fjoe2005-02-211-0/+4
* Update wxgtk2*-devel to 2.5.3fjoe2004-11-261-19/+16