aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
Diffstat (limited to 'x11')
-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
+***