Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Feb 2014 12:22:52 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r344550 - in head/comms/bluegps: . files
Message-ID:  <201402161222.s1GCMq1S012349@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Sun Feb 16 12:22:52 2014
New Revision: 344550
URL: http://svnweb.freebsd.org/changeset/ports/344550
QAT: https://qat.redports.org/buildarchive/r344550/

Log:
  Support staging

Added:
  head/comms/bluegps/files/patch-Makefile   (contents, props changed)
Modified:
  head/comms/bluegps/Makefile

Modified: head/comms/bluegps/Makefile
==============================================================================
--- head/comms/bluegps/Makefile	Sun Feb 16 12:18:06 2014	(r344549)
+++ head/comms/bluegps/Makefile	Sun Feb 16 12:22:52 2014	(r344550)
@@ -10,11 +10,6 @@ EXTRACT_SUFX=	.tgz
 MAINTAINER=	dirkx@webweaving.org
 COMMENT=	Command line tool to download datalogs from the Royaltek RBT-3000 bluetooth GPS receiver
 
-MAN1=		bluegps.1
-PLIST_FILES=	bin/bluegps
-
-NO_STAGE=	yes
-post-patch:
-	@${REINPLACE_CMD} -e '/^CC=/d' ${WRKSRC}/Makefile
+PLIST_FILES=	bin/bluegps man/man1/bluegps.1.gz
 
 .include <bsd.port.mk>

Added: head/comms/bluegps/files/patch-Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/comms/bluegps/files/patch-Makefile	Sun Feb 16 12:22:52 2014	(r344550)
@@ -0,0 +1,22 @@
+--- ./Makefile.orig	2006-06-04 04:21:10.000000000 +0200
++++ ./Makefile	2014-02-16 13:19:18.792524225 +0100
+@@ -1,6 +1,5 @@
+ VERSION=2.0
+ PROJECT=bluegps
+-CC=gcc
+ 
+ all: $(PROJECT)
+ 
+@@ -13,6 +12,9 @@
+ dist:
+ 	cd ..; tar cvfz $(PROJECT)-linux-$(VERSION).tgz $(PROJECT)-linux/Makefile $(PROJECT)-linux/$(PROJECT).c $(PROJECT)-linux/rbt3000.h $(PROJECT)-linux/$(PROJECT).1
+ 
+-install: $(PROJECT) $(PROJECT).1
+-	install $(PROJECT) /usr/local/bin
+-	install $(PROJECT).1 /usr/local/man/man1
++strip:
++	strip $(PROJECT)
++
++install: $(PROJECT) $(PROJECT).1 strip
++	install $(PROJECT) $(DESTDIR)$(PREFIX)/bin
++	install $(PROJECT).1 $(DESTDIR)$(MANPREFIX)/man/man1



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