diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2002-11-01 09:53:39 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2002-11-01 09:53:39 +0000 |
commit | a1fe0b4710cf4cf6087280d217e186330854c131 (patch) | |
tree | 67d699b00bfe5cd97ecce8db9e226c260cd11f70 /x11/bgrot | |
parent | 07ac5f1da5327c92ebda44c79ebafe39d89449a9 (diff) | |
download | ports-a1fe0b4710cf4cf6087280d217e186330854c131.tar.gz ports-a1fe0b4710cf4cf6087280d217e186330854c131.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)
Notes
Notes:
svn path=/head/; revision=69245
Diffstat (limited to 'x11/bgrot')
-rw-r--r-- | x11/bgrot/Makefile | 2 | ||||
-rw-r--r-- | x11/bgrot/files/patch-Makefile | 21 | ||||
-rw-r--r-- | x11/bgrot/pkg-message | 3 |
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 +*** |