mirror of
https://git.freebsd.org/ports.git
synced 2025-07-08 04:49:17 -04:00
- 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.
48 lines
1.3 KiB
Text
48 lines
1.3 KiB
Text
--- a/Makefile
|
|
+++ b/Makefile
|
|
@@ -54,6 +54,12 @@ DEFINES += -D_GNU_SOURCE -DPLUGIN_NAME_I
|
|
DEFINES += -DREMOTE_FEATURE_LIRC
|
|
DEFINES += -DREMOTE_FEATURE_TCPIP
|
|
|
|
+ifeq ($(OSTYPE),FreeBSD)
|
|
+DEFINES += -DREMOTE_FEATURE_UHID
|
|
+else
|
|
+DEFINES += -DREMOTE_FEATURE_DEVINPUT
|
|
+endif
|
|
+
|
|
### 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
|
|
@-rm -f *.o $(DEPFILE) *.so *.tgz core* *~
|
|
+
|
|
+install:
|
|
+ ${INSTALL_PROGRAM} $(LIBDIR)/libvdr-$(PLUGIN).so.$(APIVERSION) $(PREFIX)/lib/vdr/libvdr-$(PLUGIN).so.$(APIVERSION)
|