aboutsummaryrefslogtreecommitdiff
path: root/x11/bgrot/files/patch-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11/bgrot/files/patch-Makefile')
-rw-r--r--x11/bgrot/files/patch-Makefile34
1 files changed, 29 insertions, 5 deletions
diff --git a/x11/bgrot/files/patch-Makefile b/x11/bgrot/files/patch-Makefile
index 3571f5fc9ace..50e1a8bf6423 100644
--- a/x11/bgrot/files/patch-Makefile
+++ b/x11/bgrot/files/patch-Makefile
@@ -1,6 +1,31 @@
---- Makefile.old Sun Sep 22 19:03:43 2002
-+++ Makefile Sun Sep 22 19:04:30 2002
-@@ -52,7 +52,7 @@
+--- Makefile.orig Wed Jun 21 05:50:30 2000
++++ Makefile Fri Nov 25 17:13:07 2005
+@@ -4,12 +4,13 @@
+ # Written by Matthew Fuller <fullermd@over-yonder.net>
+
+ # OK, first: config stuff
++PREFIX ?= /usr/local
+
+ # BINDIR: Where the programs are
+-BINDIR = /usr/local/bin
++BINDIR = ${PREFIX}/bin
+
+ # CONFDIR: Where the system-wide config goes
+-CONFDIR = /usr/local/etc
++CONFDIR = ${PREFIX}/etc
+
+ # DIRMODE: Permission bits for directories
+ # FILEMODE: Permission bits for files
+@@ -22,7 +23,7 @@
+ BINGRP = bin
+
+ # MANDIR: Where is your manpage base?
+-MANDIR = /usr/local/man
++MANDIR = ${PREFIX}/man
+
+ # OK, that's about it for user stuff
+ # Touch the rest of this file at your own risk
+@@ -52,7 +53,7 @@
.endif
@echo Installing files...
-install -o ${BINOWN} -g ${BINGRP} -m ${FILEMODE} -c ${INSTALLFILES} ${BINDIR}
@@ -9,7 +34,7 @@
@echo Compressing manpage...
@gzip -c bgrot.1 > bgrot.1.gz
@echo Installing manpage...
-@@ -88,7 +88,7 @@
+@@ -88,7 +89,7 @@
rm -f ${BINDIR}/$${entry}; \
done
@echo Uninstalling configuration...
@@ -18,4 +43,3 @@
@echo Uninstalling manpage...
@rm -f ${MANDIR}/man1/bgrot.1.gz
@echo Done.
-