aboutsummaryrefslogtreecommitdiff
path: root/multimedia/vdr-plugin-markad/files/patch-plugin-Makefile
diff options
context:
space:
mode:
authorJuergen Lock <nox@FreeBSD.org>2013-02-16 16:29:03 +0000
committerJuergen Lock <nox@FreeBSD.org>2013-02-16 16:29:03 +0000
commit93af1da5f0834a06fc7b441232babd1e2733440e (patch)
treeddf46aa5efb6a3599b90eec28da8154aceeea8ae /multimedia/vdr-plugin-markad/files/patch-plugin-Makefile
parent2841ee31e42b9a8856f64041082fdc6fb9083fc5 (diff)
downloadports-93af1da5f0834a06fc7b441232babd1e2733440e.tar.gz
ports-93af1da5f0834a06fc7b441232babd1e2733440e.zip
- Update to 0.1.4 .
- Add patches to work with vdr set to "Show channel names with source". - Convert Makefile header.
Notes
Notes: svn path=/head/; revision=312373
Diffstat (limited to 'multimedia/vdr-plugin-markad/files/patch-plugin-Makefile')
-rw-r--r--multimedia/vdr-plugin-markad/files/patch-plugin-Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/multimedia/vdr-plugin-markad/files/patch-plugin-Makefile b/multimedia/vdr-plugin-markad/files/patch-plugin-Makefile
index 15ca635394a9..948b589939c7 100644
--- a/multimedia/vdr-plugin-markad/files/patch-plugin-Makefile
+++ b/multimedia/vdr-plugin-markad/files/patch-plugin-Makefile
@@ -1,17 +1,21 @@
--- a/plugin/Makefile
+++ b/plugin/Makefile
-@@ -100,10 +100,15 @@ i18n: $(I18Nmsgs) $(I18Npot)
+@@ -99,11 +99,19 @@ i18n: $(I18Nmsgs) $(I18Npot)
### Targets:
- install:
+ install: all
++ifdef FREEBSD
+ ${INSTALL_PROGRAM} $(LIBDIR)/libvdr-$(PLUGIN).so.$(APIVERSION) $(PREFIX)/lib/vdr/libvdr-$(PLUGIN).so.$(APIVERSION)
++else
+ cp --remove-destination libvdr-$(PLUGIN).so $(LIBDIR)/libvdr-$(PLUGIN).so.$(APIVERSION)
++endif
libvdr-$(PLUGIN).so: $(OBJS)
$(CXX) $(CXXFLAGS) -shared $(OBJS) $(LIBS) -o $@
+ifdef FREEBSD
-+ @cp -f $@ $(LIBDIR)/$@.$(APIVERSION)
++ cp -f libvdr-$(PLUGIN).so $(LIBDIR)/libvdr-$(PLUGIN).so.$(APIVERSION)
+else
- @cp --remove-destination $@ $(LIBDIR)/$@.$(APIVERSION)
+ cp --remove-destination libvdr-$(PLUGIN).so $(LIBDIR)/libvdr-$(PLUGIN).so.$(APIVERSION)
+endif
clean: