Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Jun 2014 16:51:43 +0000 (UTC)
From:      "Vanilla I. Shu" <vanilla@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r359398 - in head/sysutils/flasher: . files
Message-ID:  <201406261651.s5QGphFa092517@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406261651.s5QGphFa092517>