diff options
-rw-r--r-- | japanese/groff/Makefile | 6 | ||||
-rw-r--r-- | lang/php-mode.el/Makefile | 4 | ||||
-rw-r--r-- | math/scilab/Makefile | 2 |
3 files changed, 4 insertions, 8 deletions
diff --git a/japanese/groff/Makefile b/japanese/groff/Makefile index 95f8328de633..ab26291659e0 100644 --- a/japanese/groff/Makefile +++ b/japanese/groff/Makefile @@ -127,15 +127,15 @@ post-install: ${POST_INSTALL_SEQ} ${INSTALL_DATA} ${TMACBASE}/mdoc/${F} ${PREFIX}/${MDOCDIR} .endfor ${INSTALL_DATA} ${WRKDIR}/mdoc.local ${PREFIX}/${SITETMACDIR} +.if !defined(WITHOUT_INFO) + ${INSTALL_DATA} ${WRKSRC}/doc/groff.info ${PREFIX}/${INFO_PATH} +.endif install-documents: @${MKDIR} ${DOCSDIR}/${PORTVERSION} .for F in ${DOCUMENTS} ${INSTALL_DATA} ${INSTALL_WRKSRC}/${F} ${DOCSDIR}/${PORTVERSION} .endfor -.if !defined(WITHOUT_INFO) - ${INSTALL_DATA} ${WRKSRC}/doc/groff.info ${PREFIX}/${INFO_PATH} -.endif install-links: .for F in eqn neqn pic tbl diff --git a/lang/php-mode.el/Makefile b/lang/php-mode.el/Makefile index bd8fb5c77459..a046d005947e 100644 --- a/lang/php-mode.el/Makefile +++ b/lang/php-mode.el/Makefile @@ -21,18 +21,14 @@ EMACSLISPDIR= ${PREFIX}/share/emacs/site-lisp XEMACSLISPDIR= ${PREFIX}/lib/xemacs/site-lisp do-build: -.if !defined(NOPORTDOCS) cd ${BUILD_WRKSRC} && makeinfo --no-split php-mode.texi -.endif do-install: ${MKDIR} ${EMACSLISPDIR} ${MKDIR} ${XEMACSLISPDIR} ${INSTALL_DATA} ${WRKSRC}/php-mode.el ${EMACSLISPDIR}/php-mode.el ${LN} -sf ${EMACSLISPDIR}/php-mode.el ${XEMACSLISPDIR} -.if !defined(NOPORTDOCS) ${INSTALL_DATA} ${WRKSRC}/php-mode.info ${PREFIX}/${INFO_PATH}/ -.endif post-install: @${CAT} ${PKGMESSAGE} diff --git a/math/scilab/Makefile b/math/scilab/Makefile index 4da2b46e72bd..9a5746a03ab3 100644 --- a/math/scilab/Makefile +++ b/math/scilab/Makefile @@ -84,7 +84,7 @@ post-patch: | ${XARGS} ${REINPLACE_CMD} -e \ 's/[<"]malloc.h[>"]/<stdlib.h>/' .if defined(NOPORTDOCS) - @${REINPLACE_CMD} -e 's/%%PORTDOCS%%/#/' ${WRKSRC}/Makefile.in + @${REINPLACE_CMD} -e '/%%PORTDOCS%%/d' ${WRKSRC}/Makefile.in .else @${REINPLACE_CMD} -e 's/%%PORTDOCS%%//' ${WRKSRC}/Makefile.in .endif |