summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2001-05-29 13:30:07 +0000
committerijliao <ijliao@FreeBSD.org>2001-05-29 13:30:07 +0000
commit99345815e95bd43c3089af11d1379b68a2779b00 (patch)
tree46f1b72413121c3e5c3f2b0181e0648ae6045a93
parent059812baa3852e346f822cd9660d1c688776f332 (diff)
downloadFreeBSD-ports-99345815e95bd43c3089af11d1379b68a2779b00.zip
FreeBSD-ports-99345815e95bd43c3089af11d1379b68a2779b00.tar.gz
Add logic to delete .conf file if not modified
PR: 27551 Submitted by: David W. Chapman Jr. <dwcjr@inethouston.net>
-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 2bb4c7b..9c8f571 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 1ffb22c..bfea92b 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
OpenPOWER on IntegriCloud