mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
Stagify.
Approved by: portmgr@ (blanket approval)
This commit is contained in:
parent
dc232d8103
commit
404f37acb4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=359398
@ -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>
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user