diff options
author | roam <roam@FreeBSD.org> | 2003-11-10 09:26:39 +0000 |
---|---|---|
committer | roam <roam@FreeBSD.org> | 2003-11-10 09:26:39 +0000 |
commit | f1a0ec57705582bf33ee5cb551917cb192977a6e (patch) | |
tree | f3ccaff912451bb40acf968d30c02693e2f36cc9 /mail | |
parent | ea8984d2bc45f3b770068c6fc60c86d04e0dd8f9 (diff) | |
download | FreeBSD-ports-f1a0ec57705582bf33ee5cb551917cb192977a6e.zip FreeBSD-ports-f1a0ec57705582bf33ee5cb551917cb192977a6e.tar.gz |
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.
Diffstat (limited to 'mail')
-rw-r--r-- | mail/vpopmail-devel/Makefile | 8 | ||||
-rw-r--r-- | mail/vpopmail/Makefile | 8 |
2 files changed, 12 insertions, 4 deletions
diff --git a/mail/vpopmail-devel/Makefile b/mail/vpopmail-devel/Makefile index 61f06c5..bc1f059 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 diff --git a/mail/vpopmail/Makefile b/mail/vpopmail/Makefile index 61f06c5..bc1f059 100644 --- a/mail/vpopmail/Makefile +++ b/mail/vpopmail/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 |