aboutsummaryrefslogtreecommitdiff
path: root/mail/qpopper
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2016-07-18 16:41:19 +0000
committerMathieu Arnold <mat@FreeBSD.org>2016-07-18 16:41:19 +0000
commit7b46a49633afec24c1083e469d2ad93dca3d38c2 (patch)
treede0e34a6fbc7678aaaa6fa7ea4c31c9e5b56add8 /mail/qpopper
parent1aa2c6a6b7f64ec2221a9944d9602a35c66600ca (diff)
downloadports-7b46a49633afec24c1083e469d2ad93dca3d38c2.tar.gz
ports-7b46a49633afec24c1083e469d2ad93dca3d38c2.zip
Don't echo in post-install, use pkg-message. Also, don't "fix"
pkg-message in post-install, use SUB_FILES/SUB_LIST. Sponsored by: Absolight
Notes
Notes: svn path=/head/; revision=418715
Diffstat (limited to 'mail/qpopper')
-rw-r--r--mail/qpopper/Makefile13
-rw-r--r--mail/qpopper/files/pkg-message.in7
2 files changed, 9 insertions, 11 deletions
diff --git a/mail/qpopper/Makefile b/mail/qpopper/Makefile
index f213340965a2..9b1d2d9dad0a 100644
--- a/mail/qpopper/Makefile
+++ b/mail/qpopper/Makefile
@@ -3,7 +3,7 @@
PORTNAME= qpopper
PORTVERSION= 4.1.0
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= mail ipv6
MASTER_SITES= ftp://ftp.qualcomm.com/eudora/servers/unix/popper/ \
http://core.ring.gr.jp/archives/net/mail/qpopper/
@@ -57,6 +57,7 @@ STANDALONE_MODE_DESC= build qpopper to be run without inetd
U_OPTION_DESC= include support for user .qpopper-options
OPTIONS_DEFAULT= APOP SSL U_OPTION
+OPTION_SUB= yes
.include <bsd.port.pre.mk>
@@ -176,14 +177,4 @@ post-install:
fi ; \
fi
-.if ${PORT_OPTIONS:MPOPPASSD}
- @${ECHO_MSG} ""
- @${ECHO_MSG} "==============================================================================="
- @${ECHO_MSG} "It adds for myself"
- @${ECHO_MSG} "/etc/devfs.conf:"
- @${ECHO_MSG} "link /dev/pts/0 pty0"
- @${ECHO_MSG} "==============================================================================="
- @${ECHO_MSG} ""
-.endif
-
.include <bsd.port.post.mk>
diff --git a/mail/qpopper/files/pkg-message.in b/mail/qpopper/files/pkg-message.in
index dcfd3ed808d3..0a9aa5207b54 100644
--- a/mail/qpopper/files/pkg-message.in
+++ b/mail/qpopper/files/pkg-message.in
@@ -4,3 +4,10 @@ To enable the qpopper-daemon, add the following line to your /etc/inetd.conf:
pop3 stream tcp nowait root %%PREFIX%%/libexec/qpopper qpopper -s
****************************************************************************
+%%POPPASSD%%
+%%POPPASSD%%===============================================================================
+%%POPPASSD%%It adds for myself
+%%POPPASSD%%/etc/devfs.conf:
+%%POPPASSD%%link /dev/pts/0 pty0
+%%POPPASSD%%===============================================================================
+%%POPPASSD%%