1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00
This commit is contained in:
Vanilla I. Shu 2014-06-09 03:12:38 +00:00
parent 5f07a903a2
commit c4e554fc18
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=357089
2 changed files with 16 additions and 2 deletions

View File

@ -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}| ; \

View File

@ -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 $@ $<