aboutsummaryrefslogtreecommitdiff
path: root/multimedia/vdr-plugin-remote
diff options
context:
space:
mode:
authorJuergen Lock <nox@FreeBSD.org>2012-04-21 14:10:58 +0000
committerJuergen Lock <nox@FreeBSD.org>2012-04-21 14:10:58 +0000
commit21694da2c566eaa9c10c6ef28211ff5dcc64fc0b (patch)
treeaddbbf4b5bdb1599aaa2de3e5468c3e5086cf6ac /multimedia/vdr-plugin-remote
parent81c24ded0d6dc41a98692d88f643711724fd25c1 (diff)
downloadports-21694da2c566eaa9c10c6ef28211ff5dcc64fc0b.tar.gz
ports-21694da2c566eaa9c10c6ef28211ff5dcc64fc0b.zip
- Update multimedia/vdr and multimedia/vdr-plugins to 1.7.27 .
- Update multimedia/vdr-plugin-epgsearch to 1.0.1s20120322 git snapshot. - Update multimedia/vdr-plugin-femon to 1.7.15 . - Update multimedia/vdr-plugin-iptv to 0.5.0 . - Update multimedia/vdr-plugin-osdteletext to 0.9.2 . - Update multimedia/vdr-plugin-streamdev to 0.5.1p20120311 git snapthot. - Update multimedia/vdr-plugin-xineliboutput to 1.0.90s20111129.1002 cvs snapshot. - Bump PORTREVISION for all other plugins and add vdr 1.7.27 compatibility/bugfix patches where necessary.
Notes
Notes: svn path=/head/; revision=295188
Diffstat (limited to 'multimedia/vdr-plugin-remote')
-rw-r--r--multimedia/vdr-plugin-remote/Makefile4
-rw-r--r--multimedia/vdr-plugin-remote/files/patch-Makefile26
-rw-r--r--multimedia/vdr-plugin-remote/pkg-plist8
3 files changed, 35 insertions, 3 deletions
diff --git a/multimedia/vdr-plugin-remote/Makefile b/multimedia/vdr-plugin-remote/Makefile
index c6891da34d97..a56647335518 100644
--- a/multimedia/vdr-plugin-remote/Makefile
+++ b/multimedia/vdr-plugin-remote/Makefile
@@ -7,7 +7,7 @@
PORTNAME= vdr-plugin-remote
PORTVERSION= 0.4.0
-PORTREVISION= 10
+PORTREVISION= 11
CATEGORIES= multimedia
MASTER_SITES= http://www.escape-edv.de/endriss/vdr/
DISTNAME= ${PORTNAME:S/-plugin-/-/}-${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX}
@@ -26,7 +26,7 @@ WRKSRC= ${WRKDIR}/${PLUGIN}-${DISTVERSION}
post-patch: post-patch-plugin
-post-install:
+post-install: post-install-pluginlocales
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR})
diff --git a/multimedia/vdr-plugin-remote/files/patch-Makefile b/multimedia/vdr-plugin-remote/files/patch-Makefile
index 40b6fef3d4de..59b7603187c4 100644
--- a/multimedia/vdr-plugin-remote/files/patch-Makefile
+++ b/multimedia/vdr-plugin-remote/files/patch-Makefile
@@ -13,6 +13,32 @@
### The object files (add further files here):
OBJS = $(PLUGIN).o ttystatus.o
+@@ -81,9 +87,9 @@ $(DEPFILE): Makefile
+
+ ### Internationalization (I18N):
+
+-ifneq ($(shell grep 'LOCALEDIR' $(VDRDIR)/Makefile),)
++#ifneq ($(shell grep 'LOCALEDIR' $(VDRDIR)/Makefile),)
+ PODIR = po
+ LOCALEDIR = $(VDRDIR)/locale
+ I18Npo = $(wildcard $(PODIR)/*.po)
+ I18Nmo = $(addsuffix .mo, $(foreach file, $(I18Npo), $(basename $(file))))
+ I18Ndirs = $(notdir $(foreach file, $(I18Npo), $(basename $(file))))
+@@ -104,10 +110,10 @@ i18n: $(I18Nmo)
+ mkdir -p $(LOCALEDIR)/$$i/LC_MESSAGES;\
+ cp $(PODIR)/$$i.mo $(LOCALEDIR)/$$i/LC_MESSAGES/vdr-$(PLUGIN).mo;\
+ done
+-else
+-OBJS += i18n.o
+-i18n: ;
+-endif
++#else
++#OBJS += i18n.o
++#i18n: ;
++#endif
+
+ ### Targets:
+
@@ -126,3 +132,6 @@ dist: clean
clean:
@-rm -f $(PODIR)/*.mo $(PODIR)/*.pot
diff --git a/multimedia/vdr-plugin-remote/pkg-plist b/multimedia/vdr-plugin-remote/pkg-plist
index 7a90f49895f4..93c52c2d9e9c 100644
--- a/multimedia/vdr-plugin-remote/pkg-plist
+++ b/multimedia/vdr-plugin-remote/pkg-plist
@@ -1 +1,7 @@
-lib/vdr/libvdr-remote.so.1.7.22
+lib/vdr/libvdr-remote.so.%%APIVERSION%%
+%%NLS%%share/locale/de_DE/LC_MESSAGES/vdr-remote.mo
+%%NLS%%share/locale/fi_FI/LC_MESSAGES/vdr-remote.mo
+%%NLS%%share/locale/fr_FR/LC_MESSAGES/vdr-remote.mo
+%%NLS%%share/locale/it_IT/LC_MESSAGES/vdr-remote.mo
+%%NLS%%share/locale/pl_PL/LC_MESSAGES/vdr-remote.mo
+%%NLS%%share/locale/ru_RU/LC_MESSAGES/vdr-remote.mo