Date: Wed, 2 Jul 2014 13:43:41 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r360188 - head/print/yatex Message-ID: <201407021343.s62DhfDH074927@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bapt Date: Wed Jul 2 13:43:41 2014 New Revision: 360188 URL: http://svnweb.freebsd.org/changeset/ports/360188 QAT: https://qat.redports.org/buildarchive/r360188/ Log: Support stage Modified: head/print/yatex/Makefile Modified: head/print/yatex/Makefile ============================================================================== --- head/print/yatex/Makefile Wed Jul 2 13:40:36 2014 (r360187) +++ head/print/yatex/Makefile Wed Jul 2 13:43:41 2014 (r360188) @@ -19,6 +19,8 @@ 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 @@ -32,31 +34,23 @@ ELFILES= comment.el yatex.el yatexadd.el OPTIONS_DEFINE= DOCS -NO_STAGE= yes -.include <bsd.port.options.mk> - post-extract: @${INSTALL_DATA} ${WRKSRC}/docs/* ${WRKSRC} do-install: - @${MKDIR} ${PREFIX}/${EMACS_SITE_LISPDIR}/yatex + @${MKDIR} ${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR}/yatex cd ${WRKSRC} && \ - ${INSTALL_DATA} ${ELFILES} ${PREFIX}/${EMACS_SITE_LISPDIR}/yatex + ${INSTALL_DATA} ${ELFILES} ${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR}/yatex ${INSTALL_DATA} \ ${WRKDIR}/yatex-startup.el \ ${WRKSRC}/help/YATEXHLP.jp \ ${WRKSRC}/help/YATEXHLP.eng \ - ${PREFIX}/${EMACS_SITE_LISPDIR} + ${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR} for F in ${INFO}; do \ ${INSTALL_DATA} ${WRKSRC}/docs/$$F \ - ${PREFIX}/${INFO_PATH}/$${F}.info; \ + ${STAGEDIR}${PREFIX}/${INFO_PATH}/$${F}.info; \ done -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} -.endif - -post-install: - @${CAT} ${PKGMESSAGE} + @${MKDIR} ${STAGEDIR}${DOCSDIR} + cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407021343.s62DhfDH074927>