diff options
Diffstat (limited to 'multimedia/vdr/files/patch-z-Makefile')
-rw-r--r-- | multimedia/vdr/files/patch-z-Makefile | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/multimedia/vdr/files/patch-z-Makefile b/multimedia/vdr/files/patch-z-Makefile new file mode 100644 index 000000000000..60b41fde1ed6 --- /dev/null +++ b/multimedia/vdr/files/patch-z-Makefile @@ -0,0 +1,49 @@ +Index: Makefile +@@ -25,6 +25,7 @@ PREFIX ?= /usr/local + MANDIR = $(PREFIX)/share/man + BINDIR = $(PREFIX)/bin + LOCDIR = ./locale ++INCDIR = $(PREFIX)/include + ifdef FREEBSD + INCLUDES = -I/usr/local/include/freetype2 + LIBDIRS = -L/usr/local/lib +@@ -177,7 +178,7 @@ clean-plugins: + + # Install the files: + +-install: install-bin install-conf install-doc install-plugins install-i18n ++install: install-bin install-doc install-plugins install-header + + # VDR binary: + +@@ -192,7 +193,6 @@ endif + # Configuration files: + + install-conf: +- @mkdir -p $(DESTDIR)$(VIDEODIR) + @if [ ! -d $(DESTDIR)$(CONFDIR) ]; then\ + mkdir -p $(DESTDIR)$(CONFDIR);\ + cp *.conf $(DESTDIR)$(CONFDIR);\ +@@ -208,7 +208,7 @@ install-doc: + + # Plugins: + +-install-plugins: plugins ++install-plugins: #plugins + @mkdir -p $(DESTDIR)$(PLUGINLIBDIR) + ifdef FREEBSD + @cp -f $(PLUGINDIR)/lib/lib*-*.so.$(APIVERSION) $(DESTDIR)$(PLUGINLIBDIR) +@@ -216,6 +216,13 @@ else + @cp --remove-destination $(PLUGINDIR)/lib/lib*-*.so.$(APIVERSION) $(DESTDIR)$(PLUGINLIBDIR) + endif + ++# Header files: ++ ++install-header: ++ @mkdir -p $(DESTDIR)$(INCDIR)/vdr $(DESTDIR)$(INCDIR)/vdr/libsi ++ @cp *.h Make.config Make.global $(DESTDIR)$(INCDIR)/vdr ++ @cp libsi/*.h $(DESTDIR)$(INCDIR)/vdr/libsi ++ + # Source documentation: + + srcdoc: |