aboutsummaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authorJean-Marc Zucconi <jmz@FreeBSD.org>2004-06-16 00:04:02 +0000
committerJean-Marc Zucconi <jmz@FreeBSD.org>2004-06-16 00:04:02 +0000
commit7a1e1287f3231b9f571faf007d296084290f4e0c (patch)
tree3e9a469e9b185e2ff4b4b77a9150b98ce7ce199a /comms
parent85652c6d02dc60cd5b52c4f7dee353ab56f6be76 (diff)
downloadports-7a1e1287f3231b9f571faf007d296084290f4e0c.tar.gz
ports-7a1e1287f3231b9f571faf007d296084290f4e0c.zip
Notes
Diffstat (limited to 'comms')
-rw-r--r--comms/mgetty+sendfax/Makefile4
-rw-r--r--comms/mgetty+sendfax/pkg-plist3
2 files changed, 6 insertions, 1 deletions
diff --git a/comms/mgetty+sendfax/Makefile b/comms/mgetty+sendfax/Makefile
index 0544c0f6e684..78a32eb279b8 100644
--- a/comms/mgetty+sendfax/Makefile
+++ b/comms/mgetty+sendfax/Makefile
@@ -7,7 +7,7 @@
PORTNAME= mgetty
PORTVERSION= 1.1.30.12.16
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= comms
MASTER_SITES= ftp://alpha.greenie.net/pub/mgetty/source/1.1/
DISTNAME= mgetty1.1.30-Dec16
@@ -86,6 +86,8 @@ post-install:
${PREFIX}/etc/mgetty+sendfax/faxrunq.config.dist
@${CP} ${PREFIX}/etc/mgetty+sendfax/login.config \
${PREFIX}/etc/mgetty+sendfax/login.config.dist
+ ${INSTALL_DATA} -m 600 ${WRKSRC}/voice/voice.conf-dist \
+ ${PREFIX}/etc/mgetty+sendfax/voice.conf.dist
@${TAR} -cf - -C ${WRKSRC} samples | ${TAR} -xf - -C ${PREFIX}/lib/mgetty+sendfax/
@install-info ${PREFIX}/info/mgetty.info ${PREFIX}/info/dir
.if !defined(BATCH)
diff --git a/comms/mgetty+sendfax/pkg-plist b/comms/mgetty+sendfax/pkg-plist
index b1f8bb339b8b..f9491f892f7b 100644
--- a/comms/mgetty+sendfax/pkg-plist
+++ b/comms/mgetty+sendfax/pkg-plist
@@ -48,6 +48,9 @@ etc/mgetty+sendfax/faxspool.rules.sample
@unexec if cmp -s %D/etc/mgetty+sendfax/login.config %D/etc/mgetty+sendfax/login.config.dist; then rm -f %D/etc/mgetty+sendfax/login.config; fi
etc/mgetty+sendfax/login.config.dist
@exec if [ ! -f %D/etc/mgetty+sendfax/login.config ]; then cp %B/%f %D/etc/mgetty+sendfax/login.config; fi
+@unexec if cmp -s %D/etc/mgetty+sendfax/voice.conf %D/etc/mgetty+sendfax/voice.conf.dist; then rm -f %D/etc/mgetty+sendfax/voice.conf; fi
+etc/mgetty+sendfax/voice.conf.dist
+@exec if [ ! -f %D/etc/mgetty+sendfax/voice.conf ]; then cp %B/%f %D/etc/mgetty+sendfax/voice.conf; fi
@unexec install-info --delete %D/info/mgetty.info %D/info/dir
info/mgetty.info
@exec install-info %D/info/mgetty.info %D/info/dir