svn commit: r345284 - in head/sysutils/b43-fwcutter: . files

Martin Wilke miwi at FreeBSD.org
Fri Feb 21 01:51:15 UTC 2014


Author: miwi
Date: Fri Feb 21 01:51:14 2014
New Revision: 345284
URL: http://svnweb.freebsd.org/changeset/ports/345284
QAT: https://qat.redports.org/buildarchive/r345284/

Log:
  - Correct my previous commit
  - Add stage support

Added:
  head/sysutils/b43-fwcutter/files/patch-Makefile   (contents, props changed)
Modified:
  head/sysutils/b43-fwcutter/Makefile

Modified: head/sysutils/b43-fwcutter/Makefile
==============================================================================
--- head/sysutils/b43-fwcutter/Makefile	Fri Feb 21 01:50:25 2014	(r345283)
+++ head/sysutils/b43-fwcutter/Makefile	Fri Feb 21 01:51:14 2014	(r345284)
@@ -10,8 +10,9 @@ MAINTAINER=	swhetzel at gmail.com
 COMMENT=	Extracts firmware for Broadcom Wireless adapters
 
 USE_BZIP2=	yes
-USES=		gmake desthack
+USES=		gmake
 
-PLIST_FILES=	bin/b43-fwcutter
+PLIST_FILES=	bin/b43-fwcutter \
+		man/man1/b43-fwcutter.1.gz
 
 .include <bsd.port.mk>

Added: head/sysutils/b43-fwcutter/files/patch-Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/b43-fwcutter/files/patch-Makefile	Fri Feb 21 01:51:14 2014	(r345284)
@@ -0,0 +1,26 @@
+--- Makefile.orig	2011-08-21 20:17:01.000000000 +0800
++++ Makefile	2014-02-21 09:40:52.782172201 +0800
+@@ -15,7 +15,7 @@
+ QUIET_SPARSE	= @true
+ endif
+ 
+-PREFIX ?= /usr/local
++PREFIX ?= $(DESTDIR)$(PREFIX)
+ CFLAGS		?= -Os -fomit-frame-pointer
+ CFLAGS		+= -std=c99 -Wall -pedantic -D_BSD_SOURCE
+ LDFLAGS		?=
+@@ -51,10 +51,10 @@
+ 	$(QUIET_CC) $(CFLAGS) -o $(BIN) $(call OBJS,$(SRCS)) $(LDFLAGS)
+ 
+ install: all
+-	install -d -o 0 -g 0 -m 755 $(PREFIX)/bin/
+-	install -o 0 -g 0 -m 755 $(BIN) $(PREFIX)/bin/
+-	install -d -o 0 -g 0 -m 755 $(PREFIX)/man/man1/
+-	install -o 0 -g 0 -m 644 $(BIN).1 $(PREFIX)/man/man1/
++	install -d -o 0 -g 0 -m 755 $(DESTDIR)$(PREFIX)/bin/
++	install -o 0 -g 0 -m 755 $(BIN) $(DESTDIR)$(PREFIX)/bin/
++	install -d -o 0 -g 0 -m 755 $(DESTDIR)$(PREFIX)/man/man1/
++	install -o 0 -g 0 -m 644 $(BIN).1 $(DESTDIR)$(PREFIX)/man/man1/
+ 
+ clean:
+ 	-rm -Rf obj dep *.orig *.rej *~


More information about the svn-ports-all mailing list