summaryrefslogtreecommitdiff
path: root/mail/vpopmail-devel
diff options
context:
space:
mode:
authorPeter Pentchev <roam@FreeBSD.org>2003-11-10 09:26:39 +0000
committerPeter Pentchev <roam@FreeBSD.org>2003-11-10 09:26:39 +0000
commit9edb1b2b506e7d9ff7cf40aacf05ac6f742ba0fd (patch)
tree62c32906dff3312df6c1426dad27eda494bae78c /mail/vpopmail-devel
parentfix PLIST problem. (diff)
Create an empty default limits file if none exists, bump PORTREVISION.
Change a -f check to an -e one to also catch symlinks and such.
Notes
Notes: svn path=/head/; revision=93635
Diffstat (limited to 'mail/vpopmail-devel')
-rw-r--r--mail/vpopmail-devel/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/mail/vpopmail-devel/Makefile b/mail/vpopmail-devel/Makefile
index 61f06c59cdb4..bc1f059f62f3 100644
--- a/mail/vpopmail-devel/Makefile
+++ b/mail/vpopmail-devel/Makefile
@@ -7,6 +7,7 @@
PORTNAME= vpopmail
PORTVERSION= 5.3.29
+PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -301,13 +302,16 @@ pre-configure:
post-install:
${MKDIR} ${PREFIX}/vpopmail/etc
- if [ ! -f "${PREFIX}/vpopmail/etc/tcp.smtp" ]; then \
- if [ -f "${VCFGDIR}/tcp.smtp" ]; then \
+ if [ ! -e "${PREFIX}/vpopmail/etc/tcp.smtp" ]; then \
+ if [ -e "${VCFGDIR}/tcp.smtp" ]; then \
${INSTALL_DATA} ${VCFGDIR}/tcp.smtp ${PREFIX}/vpopmail/etc/; \
else \
${TOUCH} ${PREFIX}/vpopmail/etc/tcp.smtp; \
fi; \
fi
+ if [ ! -e "${PREFIX}/vpopmail/etc/vlimits.default" ]; then \
+ ${TOUCH} ${PREFIX}/vpopmail/etc/vlimits.default; \
+ fi
.if defined(DEFAULT_DOMAIN)
${ECHO_CMD} ${DEFAULT_DOMAIN} > ${PREFIX}/vpopmail/etc/defaultdomain
.endif