aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2014-02-16 12:22:52 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2014-02-16 12:22:52 +0000
commitfbbc06282f76dd644b0c999b6d6352f9c8ca6346 (patch)
tree7329285bf22aa6a2715550c9358b72b9abf45ce8
parent53893d8d27db0de86fd17bacdce281448bc43b2e (diff)
downloadports-fbbc06282f76dd644b0c999b6d6352f9c8ca6346.tar.gz
ports-fbbc06282f76dd644b0c999b6d6352f9c8ca6346.zip
Notes
-rw-r--r--comms/bluegps/Makefile7
-rw-r--r--comms/bluegps/files/patch-Makefile22
2 files changed, 23 insertions, 6 deletions
diff --git a/comms/bluegps/Makefile b/comms/bluegps/Makefile
index 553c82635918..9b9394a3597b 100644
--- a/comms/bluegps/Makefile
+++ b/comms/bluegps/Makefile
@@ -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>
diff --git a/comms/bluegps/files/patch-Makefile b/comms/bluegps/files/patch-Makefile
new file mode 100644
index 000000000000..8d19e1b3c880
--- /dev/null
+++ b/comms/bluegps/files/patch-Makefile
@@ -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