summaryrefslogtreecommitdiff
path: root/sysutils/flasher
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/flasher')
-rw-r--r--sysutils/flasher/Makefile3
-rw-r--r--sysutils/flasher/files/patch-Makefile8
2 files changed, 6 insertions, 5 deletions
diff --git a/sysutils/flasher/Makefile b/sysutils/flasher/Makefile
index 77d42fb18f35..c2ef491c9c59 100644
--- a/sysutils/flasher/Makefile
+++ b/sysutils/flasher/Makefile
@@ -1,5 +1,6 @@
PORTNAME= flasher
PORTVERSION= 1.3
+PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://www.unixporting.com/downloads/flasher/
@@ -7,6 +8,6 @@ MAINTAINER= freebsd@nesbitt.ca
COMMENT= Monitors log or mail files for writes, and flashes a keyboard LED
WWW= http://www.unixporting.com/downloads/flasher/
-PLIST_FILES= sbin/flasher man/man1/flasher.1.gz
+PLIST_FILES= sbin/flasher share/man/man1/flasher.1.gz
.include <bsd.port.mk>
diff --git a/sysutils/flasher/files/patch-Makefile b/sysutils/flasher/files/patch-Makefile
index be95ea4770ad..e40648bbada5 100644
--- a/sysutils/flasher/files/patch-Makefile
+++ b/sysutils/flasher/files/patch-Makefile
@@ -1,5 +1,5 @@
---- Makefile.orig 2002-07-03 13:22:08.000000000 +0800
-+++ Makefile 2014-06-27 00:45:38.945108983 +0800
+--- Makefile.orig 2002-07-03 05:22:08 UTC
++++ Makefile
@@ -1,8 +1,8 @@
-CFLAGS = -Wall -O
@@ -12,14 +12,14 @@
all: flasher man
-@@ -16,8 +16,8 @@ man: flasher.1.gz
+@@ -16,8 +16,8 @@ install: flasher man
install: flasher man
strip flasher
- install flasher $(DESTDIR)/sbin/flasher
- install flasher.1.gz $(DESTDIR)/man/man1
+ install flasher $(DESTDIR)${PREFIX}/sbin/flasher
-+ install flasher.1.gz $(DESTDIR)${PREFIX}/man/man1
++ install flasher.1.gz $(DESTDIR)${PREFIX}/share/man/man1
clean:
rm -f *.o flasher flasher.1.gz