Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Feb 2014 01:51:14 +0000 (UTC)
From:      Martin Wilke <miwi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r345284 - in head/sysutils/b43-fwcutter: . files
Message-ID:  <201402210151.s1L1pEfh071763@svn.freebsd.org>

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



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