# Created by: Satoshi Taoka # $FreeBSD: head/print/yatex/Makefile 361986 2014-07-15 17:37:38Z adamw $ PORTNAME= yatex PORTVERSION= 1.77 CATEGORIES?= print elisp MASTER_SITES= http://www.yatex.org/ DISTNAME= ${PORTNAME}${PORTVERSION} MAINTAINER= hrs@FreeBSD.org COMMENT= Yet Another LaTeX mode and html mode on Emacs USES= dos2unix USE_EMACS= yes EMACS_NO_RUN_DEPENDS= yes EMACS_NO_BUILD_DEPENDS= yes NO_BUILD= yes PKGMESSAGE= ${WRKDIR}/pkg-message SUB_FILES= pkg-message yatex-startup.el SUB_LIST= EMACS_SITE_LISPDIR="${EMACS_SITE_LISPDIR}" OPTIONS_DEFINE= DOCS PORTDOCS= 00readme readme.meadow.j yatex.new yatexj.tex yatex.ref \ yahtmlj.tex htmlqa yatexadd.doc yatexgen.doc qanda \ yatexe.tex htmlqa.eng yahtmle.tex yatexref.eng qanda.eng INFO= yahtmle yahtmlj yatexe yatexj ELFILES= 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 yatexpkg.el yatexhie.el yahtml.el \ yatex19.el post-extract: @${INSTALL_DATA} ${WRKSRC}/docs/* ${WRKSRC} do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR}/yatex cd ${WRKSRC} && \ ${INSTALL_DATA} ${ELFILES} ${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR}/yatex ${INSTALL_DATA} \ ${WRKDIR}/yatex-startup.el \ ${WRKSRC}/help/YATEXHLP.jp \ ${WRKSRC}/help/YATEXHLP.eng \ ${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR} for F in ${INFO}; do \ ${INSTALL_DATA} ${WRKSRC}/docs/$$F \ ${STAGEDIR}${PREFIX}/${INFO_PATH}/$${F}.info; \ done @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} .include