aboutsummaryrefslogtreecommitdiffstats
path: root/x11/bgrot
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2002-11-01 17:53:39 +0800
committeredwin <edwin@FreeBSD.org>2002-11-01 17:53:39 +0800
commit0e3d99d7cfe6219529e5e55b0e8a3a2876ff44c5 (patch)
tree77c7281af1844cccfbb77732d4e30fb82d7ccf03 /x11/bgrot
parente6ff6c5d7532b2c05fc296c561fd59123b8acbdc (diff)
downloadfreebsd-ports-gnome-0e3d99d7cfe6219529e5e55b0e8a3a2876ff44c5.tar.gz
freebsd-ports-gnome-0e3d99d7cfe6219529e5e55b0e8a3a2876ff44c5.tar.zst
freebsd-ports-gnome-0e3d99d7cfe6219529e5e55b0e8a3a2876ff44c5.zip
bgrot left a file behind and overwrote the orignial configfile anyway.
PR: ports/43245 Submitted by: Edwin Groothuis <edwin@mavetju.org> Approved by: Matthew D. Fuller <fullermd@over-yonder.net> (maintainer)
Diffstat (limited to 'x11/bgrot')
-rw-r--r--x11/bgrot/Makefile2
-rw-r--r--x11/bgrot/files/patch-Makefile21
-rw-r--r--x11/bgrot/pkg-message3
3 files changed, 25 insertions, 1 deletions
diff --git a/x11/bgrot/Makefile b/x11/bgrot/Makefile
index 9c886bc367a0..2d70a98607c9 100644
--- a/x11/bgrot/Makefile
+++ b/x11/bgrot/Makefile
@@ -21,6 +21,6 @@ MAN1= bgrot.1
MANCOMPRESSED= yes
post-install:
- @${INSTALL_DATA} ${WRKSRC}/bgrot.conf.skel ${PREFIX}/etc
+ @${CAT} pkg-message
.include <bsd.port.mk>
diff --git a/x11/bgrot/files/patch-Makefile b/x11/bgrot/files/patch-Makefile
new file mode 100644
index 000000000000..3571f5fc9ace
--- /dev/null
+++ b/x11/bgrot/files/patch-Makefile
@@ -0,0 +1,21 @@
+--- Makefile.old Sun Sep 22 19:03:43 2002
++++ Makefile Sun Sep 22 19:04:30 2002
+@@ -52,7 +52,7 @@
+ .endif
+ @echo Installing files...
+ -install -o ${BINOWN} -g ${BINGRP} -m ${FILEMODE} -c ${INSTALLFILES} ${BINDIR}
+- -install -o ${BINOWN} -g ${BINGRP} -m ${FILEMODE} -c bgrot.conf ${CONFDIR}
++ -install -o ${BINOWN} -g ${BINGRP} -m ${FILEMODE} -c bgrot.conf.skel ${CONFDIR}
+ @echo Compressing manpage...
+ @gzip -c bgrot.1 > bgrot.1.gz
+ @echo Installing manpage...
+@@ -88,7 +88,7 @@
+ rm -f ${BINDIR}/$${entry}; \
+ done
+ @echo Uninstalling configuration...
+- @rm -f ${CONFDIR}/bgrot.conf
++ @rm -f ${CONFDIR}/bgrot.conf.skel
+ @echo Uninstalling manpage...
+ @rm -f ${MANDIR}/man1/bgrot.1.gz
+ @echo Done.
+
diff --git a/x11/bgrot/pkg-message b/x11/bgrot/pkg-message
new file mode 100644
index 000000000000..7994647a3b61
--- /dev/null
+++ b/x11/bgrot/pkg-message
@@ -0,0 +1,3 @@
+***
+*** Please copy ${PREFIX}/etc/bgrot.conf.skel to ${PREFIX}/etc/bgrot.conf
+***