svn commit: r360188 - head/print/yatex
Baptiste Daroussin
bapt at FreeBSD.org
Wed Jul 2 13:43:42 UTC 2014
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>
More information about the svn-ports-all
mailing list