diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2014-02-16 20:22:52 +0800 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2014-02-16 20:22:52 +0800 |
commit | dfee1c9403d9a3bf2ff5aa2c20be910a8ce750fe (patch) | |
tree | 7329285bf22aa6a2715550c9358b72b9abf45ce8 /comms/bluegps | |
parent | 22c0c70006c91b62b75a2b90455df022a56667b9 (diff) | |
download | freebsd-ports-graphics-dfee1c9403d9a3bf2ff5aa2c20be910a8ce750fe.tar.gz freebsd-ports-graphics-dfee1c9403d9a3bf2ff5aa2c20be910a8ce750fe.tar.zst freebsd-ports-graphics-dfee1c9403d9a3bf2ff5aa2c20be910a8ce750fe.zip |
Support staging
Diffstat (limited to 'comms/bluegps')
-rw-r--r-- | comms/bluegps/Makefile | 7 | ||||
-rw-r--r-- | comms/bluegps/files/patch-Makefile | 22 |
2 files changed, 23 insertions, 6 deletions
diff --git a/comms/bluegps/Makefile b/comms/bluegps/Makefile index 553c8263591..9b9394a3597 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 00000000000..8d19e1b3c88 --- /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 |