aboutsummaryrefslogtreecommitdiff
path: root/multimedia/vdr-plugin-markad/files/patch-plugin-Makefile
diff options
context:
space:
mode:
authorJuergen Lock <nox@FreeBSD.org>2011-04-16 18:23:52 +0000
committerJuergen Lock <nox@FreeBSD.org>2011-04-16 18:23:52 +0000
commitf1757bc3f6d54d496874e4dc603825072e7c0042 (patch)
tree536d36c8b4fc0085d7634092897771f6047c67cc /multimedia/vdr-plugin-markad/files/patch-plugin-Makefile
parentd594582a6dbb9242bffb6288e5628a5932ce1fc7 (diff)
downloadports-f1757bc3f6d54d496874e4dc603825072e7c0042.tar.gz
ports-f1757bc3f6d54d496874e4dc603825072e7c0042.zip
MarkAd marks advertisements in VDR recordings. WWW: http://projects.vdr-developer.org/projects/plg-markad
Notes
Notes: svn path=/head/; revision=272812
Diffstat (limited to 'multimedia/vdr-plugin-markad/files/patch-plugin-Makefile')
-rw-r--r--multimedia/vdr-plugin-markad/files/patch-plugin-Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/multimedia/vdr-plugin-markad/files/patch-plugin-Makefile b/multimedia/vdr-plugin-markad/files/patch-plugin-Makefile
new file mode 100644
index 000000000000..15ca635394a9
--- /dev/null
+++ b/multimedia/vdr-plugin-markad/files/patch-plugin-Makefile
@@ -0,0 +1,18 @@
+--- a/plugin/Makefile
++++ b/plugin/Makefile
+@@ -100,10 +100,15 @@ i18n: $(I18Nmsgs) $(I18Npot)
+ ### Targets:
+
+ install:
++ ${INSTALL_PROGRAM} $(LIBDIR)/libvdr-$(PLUGIN).so.$(APIVERSION) $(PREFIX)/lib/vdr/libvdr-$(PLUGIN).so.$(APIVERSION)
+
+ libvdr-$(PLUGIN).so: $(OBJS)
+ $(CXX) $(CXXFLAGS) -shared $(OBJS) $(LIBS) -o $@
++ifdef FREEBSD
++ @cp -f $@ $(LIBDIR)/$@.$(APIVERSION)
++else
+ @cp --remove-destination $@ $(LIBDIR)/$@.$(APIVERSION)
++endif
+
+ clean:
+ @-rm -f $(OBJS) $(DEPFILE) *.so *.so.* *.tgz core* *~ $(PODIR)/*.mo $(PODIR)/*.pot