svn commit: r359398 - in head/sysutils/flasher: . files
Vanilla I. Shu
vanilla at FreeBSD.org
Thu Jun 26 16:51:43 UTC 2014
Author: vanilla
Date: Thu Jun 26 16:51:42 2014
New Revision: 359398
URL: http://svnweb.freebsd.org/changeset/ports/359398
QAT: https://qat.redports.org/buildarchive/r359398/
Log:
Stagify.
Approved by: portmgr@ (blanket approval)
Modified:
head/sysutils/flasher/Makefile
head/sysutils/flasher/files/patch-Makefile (contents, props changed)
Modified: head/sysutils/flasher/Makefile
==============================================================================
--- head/sysutils/flasher/Makefile Thu Jun 26 16:51:03 2014 (r359397)
+++ head/sysutils/flasher/Makefile Thu Jun 26 16:51:42 2014 (r359398)
@@ -9,9 +9,6 @@ MASTER_SITES= http://www.unixporting.com
MAINTAINER= freebsd at 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>
Modified: head/sysutils/flasher/files/patch-Makefile
==============================================================================
--- head/sysutils/flasher/files/patch-Makefile Thu Jun 26 16:51:03 2014 (r359397)
+++ head/sysutils/flasher/files/patch-Makefile Thu Jun 26 16:51:42 2014 (r359398)
@@ -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
More information about the svn-ports-all
mailing list