aboutsummaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-08-26 18:26:14 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-08-26 18:26:14 +0000
commitf3ace4251bf81537fd95588af145d9d6d6e40008 (patch)
tree6b4799b0cf7b3d20af9184999a4aa0c2ebcba9ce /editors
parent387330411881d2d22bd6749ac2a3caafb0d8c0fb (diff)
Notes
Diffstat (limited to 'editors')
-rw-r--r--editors/apel/Makefile4
-rw-r--r--editors/impress/Makefile7
-rw-r--r--editors/tamago/Makefile6
3 files changed, 6 insertions, 11 deletions
diff --git a/editors/apel/Makefile b/editors/apel/Makefile
index 76f98b54b74f..09179937c33e 100644
--- a/editors/apel/Makefile
+++ b/editors/apel/Makefile
@@ -42,13 +42,11 @@ PLIST_SUB+= EMACS23="" NOEMACS23="@comment "
PLIST_SUB+= EMACS23="@comment " NOEMACS23=""
.endif
-post-install:
-.if ${PORT_OPTIONS:MDOCS}
+post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
@(cd ${WRKSRC} ; \
for i in ChangeLog README.* ; do \
${INSTALL_DATA} $${i} ${STAGEDIR}${DOCSDIR} ; \
done)
-.endif
.include <bsd.port.post.mk>
diff --git a/editors/impress/Makefile b/editors/impress/Makefile
index a480fcc77fa1..810c5a828b79 100644
--- a/editors/impress/Makefile
+++ b/editors/impress/Makefile
@@ -17,23 +17,22 @@ LICENSE_COMB= dual
OPTIONS_DEFINE= DOCS
NO_BUILD= yes
+NO_ARCH= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USES+= tk
PORTDOCS= *
PLIST_FILES= bin/impress
-.include <bsd.port.options.mk>
-
post-patch:
${REINPLACE_CMD} -e 's|exec wish|exec ${WISH}|g' \
${WRKSRC}/src/impress.tcl
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/src/impress.tcl ${STAGEDIR}${PREFIX}/bin/impress
-.if ${PORT_OPTIONS:MDOCS}
+
+do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC}/src/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
-.endif
.include <bsd.port.mk>
diff --git a/editors/tamago/Makefile b/editors/tamago/Makefile
index 890c5cf6655d..9ea426fd52b2 100644
--- a/editors/tamago/Makefile
+++ b/editors/tamago/Makefile
@@ -29,8 +29,6 @@ PORTDOCS= AUTHORS ChangeLog ChangeLog.1997-1998 \
README.Debian changelog.Debian
OPTIONS_DEFINE= DOCS
-.include <bsd.port.options.mk>
-
post-build:
cd ${WRKSRC}/helper && \
${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} \
@@ -41,9 +39,9 @@ post-build:
post-install:
${INSTALL_PROGRAM} ${WRKSRC}/helper/egg-helper \
${STAGEDIR}${PREFIX}/bin/egg-helper
-.if ${PORT_OPTIONS:MDOCS}
+
+post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
-.endif
.include <bsd.port.mk>