aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2014-06-09 11:12:38 +0800
committervanilla <vanilla@FreeBSD.org>2014-06-09 11:12:38 +0800
commit0c207da7354e91ee291e73ac30b24ef7382fb398 (patch)
tree76c0542d83b759bffffc72fcf885a687ca2457da
parent3efd5f17d6666e6bbfdaf3b4cbaff09c83acbf0c (diff)
downloadfreebsd-ports-gnome-0c207da7354e91ee291e73ac30b24ef7382fb398.tar.gz
freebsd-ports-gnome-0c207da7354e91ee291e73ac30b24ef7382fb398.tar.zst
freebsd-ports-gnome-0c207da7354e91ee291e73ac30b24ef7382fb398.zip
Stagify.
-rw-r--r--multimedia/vstream-client/Makefile3
-rw-r--r--multimedia/vstream-client/files/patch-Makefile15
2 files changed, 16 insertions, 2 deletions
diff --git a/multimedia/vstream-client/Makefile b/multimedia/vstream-client/Makefile
index 38d557f18460..216dcd355f29 100644
--- a/multimedia/vstream-client/Makefile
+++ b/multimedia/vstream-client/Makefile
@@ -11,7 +11,7 @@ COMMENT= Client library for the Tivo vstream server
LICENSE= GPLv2
-USE_BZIP2= yes
+USES= tar:bzip2
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${PREFIX}
@@ -19,7 +19,6 @@ PLIST_FILES= bin/vstream-client \
include/vstream-client.h \
lib/libvstream-client.a
-NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e \
's|$$(INSTALL) -m 755|$${BSD_INSTALL_PROGRAM}| ; \
diff --git a/multimedia/vstream-client/files/patch-Makefile b/multimedia/vstream-client/files/patch-Makefile
new file mode 100644
index 000000000000..08231262946a
--- /dev/null
+++ b/multimedia/vstream-client/files/patch-Makefile
@@ -0,0 +1,15 @@
+--- Makefile.orig 2014-06-09 11:10:17.744127904 +0800
++++ Makefile 2014-06-09 11:10:39.050126273 +0800
+@@ -14,9 +14,9 @@ CFLAGS += $(INCLUDE)
+ all: $(LIBNAME) vstream-client
+
+ install: $(LIBNAME) vstream-client
+- $(INSTALL) -m 755 vstream-client $(BINDIR)/vstream-client
+- $(INSTALL) -m 644 $(LIBNAME) $(LIBDIR)/$(LIBNAME)
+- $(INSTALL) -m 644 vstream-client.h $(INCDIR)/vstream-client.h
++ $(INSTALL) -m 755 vstream-client $(DESTDIR)$(BINDIR)/vstream-client
++ $(INSTALL) -m 644 $(LIBNAME) $(DESTDIR)$(LIBDIR)/$(LIBNAME)
++ $(INSTALL) -m 644 vstream-client.h $(DESTDIR)$(INCDIR)/vstream-client.h
+
+ .c.o:
+ $(CC) -c $(CFLAGS) -o $@ $<