diff options
author | roam <roam@FreeBSD.org> | 2010-02-16 23:54:43 +0800 |
---|---|---|
committer | roam <roam@FreeBSD.org> | 2010-02-16 23:54:43 +0800 |
commit | 0b23d1273acd82bc735c886db21dd5c99d6dacee (patch) | |
tree | ae0eeb39d6ff5d37ad2d59431a1211fff96903c5 /mail | |
parent | b91c927a98a44b8351da7a1f4c714eaa2a3b1ca6 (diff) | |
download | freebsd-ports-gnome-0b23d1273acd82bc735c886db21dd5c99d6dacee.tar.gz freebsd-ports-gnome-0b23d1273acd82bc735c886db21dd5c99d6dacee.tar.zst freebsd-ports-gnome-0b23d1273acd82bc735c886db21dd5c99d6dacee.zip |
Arrrrrgh. Really copy the vusagec.conf-dist file to vusagec.conf
if the latter does not exist. The pkg-plist @exec commands are not,
repeat not, executed at *port* install time!
PR: 141251 (for REAL this time, honest!)
Reported by: Cristiano Deana <cris@gufi.org>
Feature safe: yes
Diffstat (limited to 'mail')
-rw-r--r-- | mail/vpopmail/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/mail/vpopmail/Makefile b/mail/vpopmail/Makefile index c10951dea7d5..7acf7e7cd0c4 100644 --- a/mail/vpopmail/Makefile +++ b/mail/vpopmail/Makefile @@ -7,7 +7,7 @@ PORTNAME= vpopmail PORTVERSION= 5.4.30 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= mail MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-stable/${PORTVERSION} \ SF/${PORTNAME}/${PORTNAME}-devel/${PORTVERSION} @@ -427,6 +427,9 @@ post-install: if [ ! -f ${PREFIX}/vpopmail/etc/vlimits.default ]; then \ ${INSTALL_DATA} ${PREFIX}/vpopmail/etc/vlimits.default-dist ${PREFIX}/vpopmail/etc/vlimits.default; \ fi + if [ ! -f ${PREFIX}/vpopmail/etc/vusagec.conf ]; then \ + ${INSTALL_DATA} ${PREFIX}/vpopmail/etc/vusagec.conf-dist ${PREFIX}/vpopmail/etc/vusagec.conf; \ + fi .if defined(WITH_MYSQL) if [ ! -f ${PREFIX}/vpopmail/etc/vpopmail.mysql ]; then \ ${CP} ${PREFIX}/vpopmail/etc/vpopmail.mysql-dist ${PREFIX}/vpopmail/etc/vpopmail.mysql; \ |