diff options
author | bapt <bapt@FreeBSD.org> | 2014-07-02 21:43:41 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2014-07-02 21:43:41 +0800 |
commit | cabf8c903930b02e5c0c5c10889f2678e32fec58 (patch) | |
tree | c422ae6c5fbcdd1d08bc950b39a9707348251070 /print/yatex | |
parent | 49390e4a4adfd753c59c8c74723cf662b946521b (diff) | |
download | freebsd-ports-gnome-cabf8c903930b02e5c0c5c10889f2678e32fec58.tar.gz freebsd-ports-gnome-cabf8c903930b02e5c0c5c10889f2678e32fec58.tar.zst freebsd-ports-gnome-cabf8c903930b02e5c0c5c10889f2678e32fec58.zip |
Support stage
Diffstat (limited to 'print/yatex')
-rw-r--r-- | print/yatex/Makefile | 22 |
1 files changed, 8 insertions, 14 deletions
diff --git a/print/yatex/Makefile b/print/yatex/Makefile index 99cebb690407..6c504a70825a 100644 --- a/print/yatex/Makefile +++ b/print/yatex/Makefile @@ -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 yatexgen.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> |