summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2016-07-19 11:04:13 +0000
committerMathieu Arnold <mat@FreeBSD.org>2016-07-19 11:04:13 +0000
commitf899c758a653ca8ff2f8a63aafcb2519a0b524ed (patch)
treebe6eebf3e77ddf9fcf383081091d8b8b336dd71c /mail
parentUpdate devel/erlang-gpb to version 3.23.1. (diff)
When there is a do-install target, do not use a post-install target, do
everything at once. Sometime, rename post-install into a options helper target. I did not fix ports that were such a mess that I could not figure out what they really wanted to do. I also did not change ports that had some version of an auto-plist code in post-install, for the same reason. With hat: portmgr Sponsored by: Absolight
Notes
Notes: svn path=/head/; revision=418767
Diffstat (limited to 'mail')
-rw-r--r--mail/amavis-logwatch/Makefile3
-rw-r--r--mail/archivesmtp/Makefile2
-rw-r--r--mail/ez-pine-gpg/Makefile2
-rw-r--r--mail/gubby/Makefile2
-rw-r--r--mail/james/Makefile1
-rw-r--r--mail/openemm2013/Makefile1
-rw-r--r--mail/openemm2015/Makefile1
-rw-r--r--mail/postfix-logwatch/Makefile3
-rw-r--r--mail/postfix-postfwd/Makefile3
-rw-r--r--mail/qpopper/Makefile1
10 files changed, 8 insertions, 11 deletions
diff --git a/mail/amavis-logwatch/Makefile b/mail/amavis-logwatch/Makefile
index ccb0d2bf7981..daa487ab2d3a 100644
--- a/mail/amavis-logwatch/Makefile
+++ b/mail/amavis-logwatch/Makefile
@@ -33,9 +33,10 @@ do-install:
@${MKDIR} ${STAGEDIR}${ETCDIR}
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf.sample ${STAGEDIR}${ETCDIR}
-post-install:
+post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_MAN} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
+post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR}
diff --git a/mail/archivesmtp/Makefile b/mail/archivesmtp/Makefile
index b5597450d559..540ea73968a8 100644
--- a/mail/archivesmtp/Makefile
+++ b/mail/archivesmtp/Makefile
@@ -36,8 +36,6 @@ pre-build:
do-install:
${INSTALL} -s ${WRKSRC}/src/archivesmtp ${STAGEDIR}${PREFIX}/sbin
${INSTALL_MAN} ${WRKSRC}/src/archivesmtp.8 ${STAGEDIR}${PREFIX}/man/man8
-
-post-install:
# Install sample configuration file
${INSTALL_DATA} ${WRKSRC}/src/archivesmtp.conf.sample ${STAGEDIR}${PREFIX}/etc
# Create socket directory
diff --git a/mail/ez-pine-gpg/Makefile b/mail/ez-pine-gpg/Makefile
index 8155a800a84a..4992e2baad28 100644
--- a/mail/ez-pine-gpg/Makefile
+++ b/mail/ez-pine-gpg/Makefile
@@ -24,7 +24,7 @@ OPTIONS_DEFINE= DOCS
do-install:
(cd ${WRKSRC} && ${SETENV} DESTDIR="${STAGEDIR}" ./install ${PREFIX}/bin)
-post-install:
+post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
diff --git a/mail/gubby/Makefile b/mail/gubby/Makefile
index eec918fd9ec3..16869fefd01d 100644
--- a/mail/gubby/Makefile
+++ b/mail/gubby/Makefile
@@ -42,7 +42,7 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/gubby ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/doc/gubby.1 ${STAGEDIR}${PREFIX}/man/man1
-post-install:
+post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.TXT ${STAGEDIR}${DOCSDIR}/README
diff --git a/mail/james/Makefile b/mail/james/Makefile
index df06279c2249..90e9024b69bb 100644
--- a/mail/james/Makefile
+++ b/mail/james/Makefile
@@ -57,7 +57,6 @@ do-install:
@${LN} -sf ${JAVA_HOME}/lib/tools.jar ${STAGEDIR}${APP_HOME}/lib/tools.jar
@${ECHO_MSG} " [ DONE ]"
-post-install:
@${ECHO_MSG} "${PORTNAME} ${PORTVERSION} has been installed in ${APP_HOME}."
.include <bsd.port.mk>
diff --git a/mail/openemm2013/Makefile b/mail/openemm2013/Makefile
index df15543eb657..eb9f061eeff9 100644
--- a/mail/openemm2013/Makefile
+++ b/mail/openemm2013/Makefile
@@ -213,7 +213,6 @@ do-install:
(cd ${STAGEDIR}${PREFIX}/${PORTNAME}/webapps/ && \
${LN} -sf openemm/assets openemmassets)
-post-install:
# as needed from Running Q/A tests (stage-qa)
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${PORTNAME}/bin/bav
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${PORTNAME}/bin/smctrl
diff --git a/mail/openemm2015/Makefile b/mail/openemm2015/Makefile
index 81a8a2675cd6..d70b53775b6a 100644
--- a/mail/openemm2015/Makefile
+++ b/mail/openemm2015/Makefile
@@ -197,7 +197,6 @@ do-install:
(cd ${STAGEDIR}${PREFIX}/${PORTNAME}/webapps/ && \
${LN} -sf openemm/assets openemmassets)
-post-install:
# as needed from Running Q/A tests (stage-qa)
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${PORTNAME}/bin/bav
diff --git a/mail/postfix-logwatch/Makefile b/mail/postfix-logwatch/Makefile
index d58060cc1356..2d61b3f2f2c7 100644
--- a/mail/postfix-logwatch/Makefile
+++ b/mail/postfix-logwatch/Makefile
@@ -33,9 +33,10 @@ do-install:
@${MKDIR} ${STAGEDIR}${ETCDIR}
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf ${STAGEDIR}${ETCDIR}/${PORTNAME}.conf.sample
-post-install:
+post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
+post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR})
diff --git a/mail/postfix-postfwd/Makefile b/mail/postfix-postfwd/Makefile
index 3a4d045348fe..06df96251f16 100644
--- a/mail/postfix-postfwd/Makefile
+++ b/mail/postfix-postfwd/Makefile
@@ -40,9 +40,10 @@ do-install:
@${INSTALL_DATA} ${WRKSRC}/etc/${PORTNAME}.cf.sample ${STAGEDIR}${ETCDIR}
@${INSTALL_MAN} ${WRKSRC}/man/man8/* ${STAGEDIR}${MANPREFIX}/man/man8
-post-install:
+post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
+post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/tools/request.sample ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/plugins/postfwd.plugins.sample ${STAGEDIR}${EXAMPLESDIR}
diff --git a/mail/qpopper/Makefile b/mail/qpopper/Makefile
index 9b1d2d9dad0a..a465db8a723d 100644
--- a/mail/qpopper/Makefile
+++ b/mail/qpopper/Makefile
@@ -167,7 +167,6 @@ do-install:
# based on original from op port, written by Cyrille Lefevre
# <clefevre@citeweb.net>.
-post-install:
@if [ ! -f ${CONF_DIR}/${CONF_FILE}${SAMP_SUFX} ]; then \
${MKDIR} ${STAGEDIR}${ETCDIR} ; \
if [ -f /etc/ftpusers ] && [ -n "${PORT_OPTIONS:MSAMPLE_POPUSERS}" ]; then \