aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2001-05-29 21:30:07 +0800
committerijliao <ijliao@FreeBSD.org>2001-05-29 21:30:07 +0800
commit99345815e95bd43c3089af11d1379b68a2779b00 (patch)
tree46f1b72413121c3e5c3f2b0181e0648ae6045a93 /x11
parent059812baa3852e346f822cd9660d1c688776f332 (diff)
downloadfreebsd-ports-gnome-99345815e95bd43c3089af11d1379b68a2779b00.tar.gz
freebsd-ports-gnome-99345815e95bd43c3089af11d1379b68a2779b00.tar.zst
freebsd-ports-gnome-99345815e95bd43c3089af11d1379b68a2779b00.zip
Add logic to delete .conf file if not modified
PR: 27551 Submitted by: David W. Chapman Jr. <dwcjr@inethouston.net>
Diffstat (limited to 'x11')
-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