aboutsummaryrefslogtreecommitdiff
path: root/x11/bgrot
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-11-26 00:56:48 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-11-26 00:56:48 +0000
commiteddbc6a9051d94f9a4e21c00e851b5473cbac720 (patch)
treeea8049d1d5e78b60df993572e5a4d81581050440 /x11/bgrot
parenta148ec1a322be3ae78a76539ec0ea8d260d26688 (diff)
downloadports-eddbc6a9051d94f9a4e21c00e851b5473cbac720.tar.gz
ports-eddbc6a9051d94f9a4e21c00e851b5473cbac720.zip
Notes
Diffstat (limited to 'x11/bgrot')
-rw-r--r--x11/bgrot/files/patch-Makefile34
-rw-r--r--x11/bgrot/files/patch-setconfdir.pl13
2 files changed, 42 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.
-
diff --git a/x11/bgrot/files/patch-setconfdir.pl b/x11/bgrot/files/patch-setconfdir.pl
new file mode 100644
index 000000000000..d2c3e5f91a30
--- /dev/null
+++ b/x11/bgrot/files/patch-setconfdir.pl
@@ -0,0 +1,13 @@
+--- setconfdir.pl.orig Fri Nov 25 17:15:32 2005
++++ setconfdir.pl Fri Nov 25 17:15:44 2005
+@@ -16,8 +16,8 @@
+
+ foreach(<SKEL>) {
+ chomp;
+- if(/^\$CONFDIR\=/) {
+- $_ = "\$CONFDIR=\"$CONFDIR\"";
++ if(/^\CONFDIR\=/) {
++ $_ = "\CONFDIR=\"$CONFDIR\"";
+ }
+ print OUT "$_\n";
+ }