1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
Approved by:	portmgr@ (blanket approval)
This commit is contained in:
Vanilla I. Shu 2014-06-26 16:51:42 +00:00
parent dc232d8103
commit 404f37acb4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=359398
2 changed files with 15 additions and 9 deletions

View File

@ -9,9 +9,6 @@ MASTER_SITES= http://www.unixporting.com/downloads/flasher/
MAINTAINER= freebsd@nesbitt.ca
COMMENT= Monitors log or mail files for writes, and flashes a keyboard LED
MAN1= flasher.1
MANCOMPRESSED= yes
PLIST_FILES= sbin/flasher
PLIST_FILES= sbin/flasher man/man1/flasher.1.gz
NO_STAGE= yes
.include <bsd.port.mk>

View File

@ -1,7 +1,5 @@
$FreeBSD$
--- Makefile.orig Mon Mar 18 18:03:38 2002
+++ Makefile Mon Mar 18 18:04:08 2002
--- Makefile.orig 2002-07-03 13:22:08.000000000 +0800
+++ Makefile 2014-06-27 00:45:38.945108983 +0800
@@ -1,8 +1,8 @@
-CFLAGS = -Wall -O
@ -10,7 +8,18 @@ $FreeBSD$
-CC = gcc
-DESTDIR=/usr/local
+CC ?= gcc
+DESTDIR= ${PREFIX}
+#DESTDIR= ${PREFIX}
all: flasher man
@@ -16,8 +16,8 @@ man: flasher.1.gz
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
clean:
rm -f *.o flasher flasher.1.gz