aboutsummaryrefslogtreecommitdiff
path: root/x11/bgrot
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2001-05-29 13:30:07 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2001-05-29 13:30:07 +0000
commit57da95e32a10c935713cee59750d04f2f0281df8 (patch)
tree49b02f98057bfd7bd05736db716023b079f98966 /x11/bgrot
parenta504159f57b1b994e1a1d702475383c50dfd4b4a (diff)
downloadports-57da95e32a10c935713cee59750d04f2f0281df8.tar.gz
ports-57da95e32a10c935713cee59750d04f2f0281df8.zip
Add logic to delete .conf file if not modified
PR: 27551 Submitted by: David W. Chapman Jr. <dwcjr@inethouston.net>
Notes
Notes: svn path=/head/; revision=43252
Diffstat (limited to 'x11/bgrot')
-rw-r--r--x11/bgrot/Makefile3
-rw-r--r--x11/bgrot/pkg-plist1
2 files changed, 4 insertions, 0 deletions
diff --git a/x11/bgrot/Makefile b/x11/bgrot/Makefile
index 2bb4c7be1cf6..9c8f5711d63b 100644
--- a/x11/bgrot/Makefile
+++ b/x11/bgrot/Makefile
@@ -20,4 +20,7 @@ USE_PERL5= yes
MAN1= bgrot.1
MANCOMPRESSED= yes
+post-install:
+ @${INSTALL_DATA} ${WRKSRC}/bgrot.conf.skel ${PREFIX}/etc
+
.include <bsd.port.mk>
diff --git a/x11/bgrot/pkg-plist b/x11/bgrot/pkg-plist
index 1ffb22cf3135..bfea92b34076 100644
--- a/x11/bgrot/pkg-plist
+++ b/x11/bgrot/pkg-plist
@@ -3,3 +3,4 @@ bin/bgrandom.pl
bin/createlist.sh
bin/masterlistgen.sh
bin/bgrotman.pl
+etc/bgrot.conf.skel