mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
- Finally stagify the vdr ports. \o/
- Use new LIB_DEPENDS syntax. - Change multimedia/vdr-plugins defaults and bump PORTREVISION for it. (switch from xvdr to vnsiserver and disable plugins depending on ffmpeg0)
This commit is contained in:
parent
7a2c2ce6e7
commit
47452dcb43
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=346615
@ -22,7 +22,6 @@ HAVE_CONFIGURE= yes
|
||||
PORTDOCS= COPYING README HISTORY
|
||||
WRKSRC= ${WRKDIR}/${PLUGIN}-${DISTVERSION:S/a45/a/}
|
||||
|
||||
NO_STAGE= yes
|
||||
.include "${.CURDIR}/../vdr/Makefile.plugins"
|
||||
|
||||
post-patch: post-patch-plugin
|
||||
@ -31,10 +30,11 @@ post-patch: post-patch-plugin
|
||||
${PATCH} -d ${WRKSRC} `${SED} -n '/^#PATCHOPTIONS:/{s///;p;q;}' $$i` --forward --quiet <$$i ;\
|
||||
done
|
||||
|
||||
pre-install:
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/lib/vdr
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR})
|
||||
.endif
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -16,7 +16,7 @@
|
||||
+APIVERSION = $(shell sed -ne '/define APIVERSION/s/^.*"\(.*\)".*$$/\1/p' $(VDRDIR)/config.h)
|
||||
+
|
||||
+install:
|
||||
+ ${INSTALL_PROGRAM} $(LIBDIR)/libvdr-$(PLUGIN).so.$(APIVERSION) $(PREFIX)/lib/vdr/libvdr-$(PLUGIN).so.$(APIVERSION)
|
||||
+ ${INSTALL_PROGRAM} $(LIBDIR)/libvdr-$(PLUGIN).so.$(APIVERSION) ${DESTDIR}$(PREFIX)/lib/vdr/libvdr-$(PLUGIN).so.$(APIVERSION)
|
||||
+
|
||||
### Implicit rules:
|
||||
|
||||
|
@ -17,21 +17,18 @@ HAVE_CONFIGURE= yes
|
||||
PORTDOCS= COPYING README HISTORY
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${GITHASH}
|
||||
|
||||
NO_STAGE= yes
|
||||
.include "${.CURDIR}/../vdr/Makefile.plugins"
|
||||
|
||||
post-patch: post-patch-plugin
|
||||
|
||||
pre-install:
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/lib/vdr
|
||||
|
||||
post-install:
|
||||
@${INSTALL} -o ${VDR_USER} -g ${VDR_GROUP} -d ${PREFIX}/etc/vdr/plugins/${PLUGIN}
|
||||
@${INSTALL_DATA} ${WRKSRC}/eepg.equiv.IT ${PREFIX}/etc/vdr/plugins/${PLUGIN}
|
||||
@${INSTALL_DATA} ${WRKSRC}/eepg.equiv.IT ${PREFIX}/etc/vdr/plugins/${PLUGIN}/eepg.equiv.sample
|
||||
@if [ ! -f ${PREFIX}/etc/vdr/plugins/${PLUGIN}/eepg.equiv ]; then \
|
||||
${INSTALL_DATA} -o ${VDR_USER} -g ${VDR_GROUP} ${WRKSRC}/eepg.equiv.IT ${PREFIX}/etc/vdr/plugins/${PLUGIN}/eepg.equiv; \
|
||||
fi
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR})
|
||||
.endif
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/etc/vdr/plugins/${PLUGIN}
|
||||
${INSTALL_DATA} ${WRKSRC}/eepg.equiv.IT ${STAGEDIR}${PREFIX}/etc/vdr/plugins/${PLUGIN}
|
||||
${INSTALL_DATA} ${WRKSRC}/eepg.equiv.IT ${STAGEDIR}${PREFIX}/etc/vdr/plugins/${PLUGIN}/eepg.equiv.sample
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -6,4 +6,4 @@
|
||||
# @-rm -f $(PODIR)/*.mo $(PODIR)/*.pot
|
||||
+
|
||||
+install:
|
||||
+ ${INSTALL_PROGRAM} $(LIBDIR)/libvdr-$(PLUGIN).so.$(APIVERSION) $(PREFIX)/lib/vdr/libvdr-$(PLUGIN).so.$(APIVERSION)
|
||||
+ ${INSTALL_PROGRAM} $(LIBDIR)/libvdr-$(PLUGIN).so.$(APIVERSION) ${DESTDIR}$(PREFIX)/lib/vdr/libvdr-$(PLUGIN).so.$(APIVERSION)
|
||||
|
@ -12,8 +12,8 @@ DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:snapshot
|
||||
MAINTAINER= nox@FreeBSD.org
|
||||
COMMENT= Video Disk Recorder - EPG search plugin
|
||||
|
||||
LIB_DEPENDS+= pcre:${PORTSDIR}/devel/pcre \
|
||||
tre:${PORTSDIR}/textproc/libtre
|
||||
LIB_DEPENDS+= libpcre.so:${PORTSDIR}/devel/pcre \
|
||||
libtre.so:${PORTSDIR}/textproc/libtre
|
||||
|
||||
USES= pkgconfig
|
||||
USE_BZIP2= yes
|
||||
@ -22,7 +22,6 @@ PORTDOCS= COPYING README HISTORY
|
||||
WRKSRC= ${WRKDIR}/vdr-plugin-${PLUGIN}
|
||||
MAKE_ARGS+= INCLUDES="-I$(LOCALBASE)/include -I$(LOCALBASE)/include/vdr -I${WRKSRC}"
|
||||
|
||||
NO_STAGE= yes
|
||||
.include "${.CURDIR}/../vdr/Makefile.plugins"
|
||||
|
||||
post-patch: post-patch-plugin
|
||||
@ -30,10 +29,11 @@ post-patch: post-patch-plugin
|
||||
-e 's/^#\(HAVE_LIBTRE=\)/\1/;' \
|
||||
${WRKSRC}/Makefile
|
||||
|
||||
pre-install:
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/lib/vdr
|
||||
|
||||
post-install: post-install-pluginlocales
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR})
|
||||
.endif
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -42,13 +42,13 @@
|
||||
@-rm -rf doc html man
|
||||
+
|
||||
+install:
|
||||
+ ${INSTALL_PROGRAM} $(LIBDIR)/libvdr-$(PLUGIN).so.$(APIVERSION) $(PREFIX)/lib/vdr/libvdr-$(PLUGIN).so.$(APIVERSION)
|
||||
+ ${INSTALL_PROGRAM} $(LIBDIR)/libvdr-$(PLUGIN).so.$(APIVERSION) ${DESTDIR}$(PREFIX)/lib/vdr/libvdr-$(PLUGIN).so.$(APIVERSION)
|
||||
+ifndef WITHOUT_EPGSEARCHONLY
|
||||
+ ${INSTALL_PROGRAM} $(LIBDIR)/libvdr-$(PLUGIN2).so.$(APIVERSION) $(PREFIX)/lib/vdr/libvdr-$(PLUGIN2).so.$(APIVERSION)
|
||||
+ ${INSTALL_PROGRAM} $(LIBDIR)/libvdr-$(PLUGIN2).so.$(APIVERSION) ${DESTDIR}$(PREFIX)/lib/vdr/libvdr-$(PLUGIN2).so.$(APIVERSION)
|
||||
+endif
|
||||
+ifndef WITHOUT_CONFLICTCHECKONLY
|
||||
+ ${INSTALL_PROGRAM} $(LIBDIR)/libvdr-$(PLUGIN3).so.$(APIVERSION) $(PREFIX)/lib/vdr/libvdr-$(PLUGIN3).so.$(APIVERSION)
|
||||
+ ${INSTALL_PROGRAM} $(LIBDIR)/libvdr-$(PLUGIN3).so.$(APIVERSION) ${DESTDIR}$(PREFIX)/lib/vdr/libvdr-$(PLUGIN3).so.$(APIVERSION)
|
||||
+endif
|
||||
+ifndef WITHOUT_QUICKSEARCH
|
||||
+ ${INSTALL_PROGRAM} $(LIBDIR)/libvdr-$(PLUGIN4).so.$(APIVERSION) $(PREFIX)/lib/vdr/libvdr-$(PLUGIN4).so.$(APIVERSION)
|
||||
+ ${INSTALL_PROGRAM} $(LIBDIR)/libvdr-$(PLUGIN4).so.$(APIVERSION) ${DESTDIR}$(PREFIX)/lib/vdr/libvdr-$(PLUGIN4).so.$(APIVERSION)
|
||||
+endif
|
||||
|
@ -17,15 +17,15 @@ HAVE_CONFIGURE= yes
|
||||
PORTDOCS= COPYING README HISTORY
|
||||
WRKSRC= ${WRKDIR}/${PLUGIN}-${PORTVERSION}
|
||||
|
||||
NO_STAGE= yes
|
||||
.include "${.CURDIR}/../vdr/Makefile.plugins"
|
||||
|
||||
post-patch: post-patch-plugin
|
||||
|
||||
pre-install:
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/lib/vdr
|
||||
|
||||
post-install: post-install-pluginlocales
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR})
|
||||
.endif
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -18,4 +18,4 @@
|
||||
@-rm -f $(OBJS) $(DEPFILE) *.so *.tgz core* *~ $(PODIR)/*.mo $(PODIR)/*.pot
|
||||
+
|
||||
+install:
|
||||
+ ${INSTALL_PROGRAM} $(LIBDIR)/libvdr-$(PLUGIN).so.$(APIVERSION) $(PREFIX)/lib/vdr/libvdr-$(PLUGIN).so.$(APIVERSION)
|
||||
+ ${INSTALL_PROGRAM} $(LIBDIR)/libvdr-$(PLUGIN).so.$(APIVERSION) ${DESTDIR}$(PREFIX)/lib/vdr/libvdr-$(PLUGIN).so.$(APIVERSION)
|
||||
|
@ -17,15 +17,15 @@ HAVE_CONFIGURE= yes
|
||||
PORTDOCS= COPYING README HISTORY
|
||||
WRKSRC= ${WRKDIR}/${PLUGIN}-${DISTVERSION}
|
||||
|
||||
NO_STAGE= yes
|
||||
.include "${.CURDIR}/../vdr/Makefile.plugins"
|
||||
|
||||
post-patch: post-patch-plugin
|
||||
|
||||
pre-install:
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/lib/vdr
|
||||
|
||||
post-install: post-install-pluginlocales
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR})
|
||||
.endif
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -6,4 +6,4 @@
|
||||
@-rm -f $(OBJS) $(DEPFILE) *.so *.tgz core* *~ $(PODIR)/*.mo $(PODIR)/*.pot
|
||||
+
|
||||
+install:
|
||||
+ ${INSTALL_PROGRAM} $(LIBDIR)/libvdr-$(PLUGIN).so.$(APIVERSION) $(PREFIX)/lib/vdr/libvdr-$(PLUGIN).so.$(APIVERSION)
|
||||
+ ${INSTALL_PROGRAM} $(LIBDIR)/libvdr-$(PLUGIN).so.$(APIVERSION) ${DESTDIR}$(PREFIX)/lib/vdr/libvdr-$(PLUGIN).so.$(APIVERSION)
|
||||
|
@ -17,16 +17,16 @@ HAVE_CONFIGURE= yes
|
||||
PORTDOCS= COPYING README HISTORY
|
||||
WRKSRC= ${WRKDIR}/${PLUGIN}-${DISTVERSION}
|
||||
|
||||
NO_STAGE= yes
|
||||
.include "${.CURDIR}/../vdr/Makefile.plugins"
|
||||
|
||||
post-patch: post-patch-plugin
|
||||
|
||||
pre-install:
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/lib/vdr
|
||||
|
||||
post-install: post-install-pluginlocales
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR})
|
||||
.endif
|
||||
${INSTALL} -o ${VDR_USER} -g ${VDR_GROUP} -d /var/cache/vdr/${PLUGIN}
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
|
||||
${MKDIR} ${STAGEDIR}/var/cache/vdr/${PLUGIN}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -18,4 +18,4 @@
|
||||
@-rm -f $(OBJS) $(DEPFILE) *.so* *.tgz core* *~ $(PODIR)/*.mo $(PODIR)/*.pot
|
||||
+
|
||||
+install:
|
||||
+ ${INSTALL_PROGRAM} $(LIBDIR)/libvdr-$(PLUGIN).so.$(APIVERSION) $(PREFIX)/lib/vdr/libvdr-$(PLUGIN).so.$(APIVERSION)
|
||||
+ ${INSTALL_PROGRAM} $(LIBDIR)/libvdr-$(PLUGIN).so.$(APIVERSION) ${DESTDIR}$(PREFIX)/lib/vdr/libvdr-$(PLUGIN).so.$(APIVERSION)
|
||||
|
@ -19,7 +19,6 @@ PORTEXAMPLES= channels.conf.iptv
|
||||
MAKE_ARGS+= IPTV_EXTSHELL=/bin/sh
|
||||
WRKSRC= ${WRKDIR}/${PLUGIN}-${DISTVERSION}
|
||||
|
||||
NO_STAGE= yes
|
||||
.include "${.CURDIR}/../vdr/Makefile.plugins"
|
||||
|
||||
post-patch: post-patch-plugin
|
||||
@ -27,45 +26,29 @@ post-patch: post-patch-plugin
|
||||
-e 's|^\(CHANNEL_SETTINGS_DIR[[:space:]]*\)[?]*\(=[[:space:]]*\)/etc|\1\2${PREFIX}/etc|;' \
|
||||
${WRKSRC}/iptv/vlc2iptv
|
||||
|
||||
pre-install:
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/lib/vdr
|
||||
|
||||
post-install: post-install-pluginlocales
|
||||
@${MKDIR} ${PREFIX}/etc/vdr/plugins/${PLUGIN}
|
||||
@${MKDIR} ${PREFIX}/etc/vdr/plugins/${PLUGIN}/vlcinput
|
||||
@${INSTALL_DATA} ${FILESDIR}/vlcinput/*.conf ${PREFIX}/etc/vdr/plugins/${PLUGIN}/vlcinput
|
||||
@${INSTALL_SCRIPT} ${WRKSRC}/${PLUGIN}/image.sh ${PREFIX}/etc/vdr/plugins/${PLUGIN}/image.sh.sample
|
||||
@if [ ! -f ${PREFIX}/etc/vdr/plugins/${PLUGIN}/image.sh ]; then \
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/${PLUGIN}/image.sh ${PREFIX}/etc/vdr/plugins/${PLUGIN}; \
|
||||
fi
|
||||
@${INSTALL_SCRIPT} ${WRKSRC}/${PLUGIN}/internetradio.sh ${PREFIX}/etc/vdr/plugins/${PLUGIN}/internetradio.sh.sample
|
||||
@if [ ! -f ${PREFIX}/etc/vdr/plugins/${PLUGIN}/internetradio.sh ]; then \
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/${PLUGIN}/internetradio.sh ${PREFIX}/etc/vdr/plugins/${PLUGIN}; \
|
||||
fi
|
||||
@${INSTALL_SCRIPT} ${WRKSRC}/${PLUGIN}/iptvstream-notrap.sh ${PREFIX}/etc/vdr/plugins/${PLUGIN}/iptvstream-notrap.sh.sample
|
||||
@if [ ! -f ${PREFIX}/etc/vdr/plugins/${PLUGIN}/iptvstream-notrap.sh ]; then \
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/${PLUGIN}/iptvstream-notrap.sh ${PREFIX}/etc/vdr/plugins/${PLUGIN}; \
|
||||
fi
|
||||
@${INSTALL_SCRIPT} ${WRKSRC}/${PLUGIN}/iptvstream.sh ${PREFIX}/etc/vdr/plugins/${PLUGIN}/iptvstream.sh.sample
|
||||
@if [ ! -f ${PREFIX}/etc/vdr/plugins/${PLUGIN}/iptvstream.sh ]; then \
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/${PLUGIN}/iptvstream.sh ${PREFIX}/etc/vdr/plugins/${PLUGIN}; \
|
||||
fi
|
||||
@${INSTALL_SCRIPT} ${WRKSRC}/${PLUGIN}/linein.sh ${PREFIX}/etc/vdr/plugins/${PLUGIN}/linein.sh.sample
|
||||
@if [ ! -f ${PREFIX}/etc/vdr/plugins/${PLUGIN}/linein.sh ]; then \
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/${PLUGIN}/linein.sh ${PREFIX}/etc/vdr/plugins/${PLUGIN}; \
|
||||
fi
|
||||
@${INSTALL_SCRIPT} ${WRKSRC}/${PLUGIN}/vlc2iptv ${PREFIX}/etc/vdr/plugins/${PLUGIN}/vlc2iptv.sample
|
||||
@if [ ! -f ${PREFIX}/etc/vdr/plugins/${PLUGIN}/vlc2iptv ]; then \
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/${PLUGIN}/vlc2iptv ${PREFIX}/etc/vdr/plugins/${PLUGIN}; \
|
||||
fi
|
||||
@${INSTALL_SCRIPT} ${WRKSRC}/${PLUGIN}/webcam.sh ${PREFIX}/etc/vdr/plugins/${PLUGIN}/webcam.sh.sample
|
||||
@if [ ! -f ${PREFIX}/etc/vdr/plugins/${PLUGIN}/webcam.sh ]; then \
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/${PLUGIN}/webcam.sh ${PREFIX}/etc/vdr/plugins/${PLUGIN}; \
|
||||
fi
|
||||
.if !defined(NOPORTEXAMPLES)
|
||||
${MKDIR} ${EXAMPLESDIR}
|
||||
${INSTALL_DATA} ${FILESDIR}/channels.conf.iptv ${EXAMPLESDIR}
|
||||
.endif
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR})
|
||||
.endif
|
||||
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/vdr/plugins/${PLUGIN}/vlcinput
|
||||
@${INSTALL_DATA} ${FILESDIR}/vlcinput/*.conf ${STAGEDIR}${PREFIX}/etc/vdr/plugins/${PLUGIN}/vlcinput
|
||||
@${INSTALL_SCRIPT} ${WRKSRC}/${PLUGIN}/image.sh \
|
||||
${STAGEDIR}${PREFIX}/etc/vdr/plugins/${PLUGIN}/image.sh.sample
|
||||
@${INSTALL_SCRIPT} ${WRKSRC}/${PLUGIN}/internetradio.sh \
|
||||
${STAGEDIR}${PREFIX}/etc/vdr/plugins/${PLUGIN}/internetradio.sh.sample
|
||||
@${INSTALL_SCRIPT} ${WRKSRC}/${PLUGIN}/iptvstream-notrap.sh \
|
||||
${STAGEDIR}${PREFIX}/etc/vdr/plugins/${PLUGIN}/iptvstream-notrap.sh.sample
|
||||
@${INSTALL_SCRIPT} ${WRKSRC}/${PLUGIN}/iptvstream.sh \
|
||||
${STAGEDIR}${PREFIX}/etc/vdr/plugins/${PLUGIN}/iptvstream.sh.sample
|
||||
@${INSTALL_SCRIPT} ${WRKSRC}/${PLUGIN}/linein.sh \
|
||||
${STAGEDIR}${PREFIX}/etc/vdr/plugins/${PLUGIN}/linein.sh.sample
|
||||
@${INSTALL_SCRIPT} ${WRKSRC}/${PLUGIN}/vlc2iptv \
|
||||
${STAGEDIR}${PREFIX}/etc/vdr/plugins/${PLUGIN}/vlc2iptv.sample
|
||||
@${INSTALL_SCRIPT} ${WRKSRC}/${PLUGIN}/webcam.sh \
|
||||
${STAGEDIR}${PREFIX}/etc/vdr/plugins/${PLUGIN}/webcam.sh.sample
|
||||
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
||||
${INSTALL_DATA} ${FILESDIR}/channels.conf.iptv ${STAGEDIR}${EXAMPLESDIR}
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -25,4 +25,4 @@
|
||||
cppcheck: $(OBJS)
|
||||
@cppcheck --enable=information,style,unusedFunction -v -f $(OBJS:%.o=%.c)
|
||||
+install:
|
||||
+ ${INSTALL_PROGRAM} $(LIBDIR)/libvdr-$(PLUGIN).so.$(APIVERSION) $(PREFIX)/lib/vdr/libvdr-$(PLUGIN).so.$(APIVERSION)
|
||||
+ ${INSTALL_PROGRAM} $(LIBDIR)/libvdr-$(PLUGIN).so.$(APIVERSION) ${DESTDIR}$(PREFIX)/lib/vdr/libvdr-$(PLUGIN).so.$(APIVERSION)
|
||||
|
@ -11,8 +11,8 @@ EXTRACT_SUFX= .tgz
|
||||
MAINTAINER= nox@FreeBSD.org
|
||||
COMMENT= Video Disk Recorder - MarkAd plugin
|
||||
|
||||
LIB_DEPENDS+= avcodec:${PORTSDIR}/multimedia/ffmpeg \
|
||||
execinfo:${PORTSDIR}/devel/libexecinfo
|
||||
LIB_DEPENDS+= libavcodec.so:${PORTSDIR}/multimedia/ffmpeg \
|
||||
libexecinfo.so:${PORTSDIR}/devel/libexecinfo
|
||||
|
||||
USES= pkgconfig
|
||||
PATCH_STRIP= -p1
|
||||
@ -24,12 +24,9 @@ VDR_PLUGIN_MAKEFILES= ${WRKSRC}/command/Makefile ${WRKSRC}/plugin/Makefile
|
||||
DEFINES+= -DDATADIR=\\\"${DATADIR}\\\" -DPREFIX=\\\"${PREFIX}\\\"
|
||||
MAKE_ARGS+= DATADIR=${DATADIR} FREEBSD=1
|
||||
MAKE_ENV+= DEFINES="${DEFINES}"
|
||||
MANCOMPRESSED= yes
|
||||
MAN1= markad.1
|
||||
|
||||
RESTRICTED= Installs station logos
|
||||
|
||||
NO_STAGE= yes
|
||||
.include "${.CURDIR}/../vdr/Makefile.plugins"
|
||||
|
||||
# for libexecinfo: (so that __builtin_frame_address() finds the top
|
||||
@ -42,10 +39,11 @@ CPPFLAGS+= -fno-omit-frame-pointer
|
||||
post-patch: post-patch-plugin
|
||||
@${LN} -s ../lib ../locale ${WRKSRC}
|
||||
|
||||
pre-install:
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/lib/vdr
|
||||
|
||||
post-install: post-install-pluginlocales
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR})
|
||||
.endif
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -11,7 +11,7 @@
|
||||
### Includes and Defines (add further entries here):
|
||||
|
||||
PKG-LIBS += libavcodec libavutil
|
||||
@@ -86,17 +90,29 @@ markad: $(OBJS)
|
||||
@@ -86,17 +90,34 @@ markad: $(OBJS)
|
||||
$(CXX) $(CXXFLAGS) $(OBJS) $(LIBS) -o $@
|
||||
|
||||
|
||||
@ -21,16 +21,21 @@
|
||||
MANDIR = $(DESTDIR)/usr/share/man
|
||||
+endif
|
||||
install-doc:
|
||||
+ifdef FREEBSD
|
||||
+ @mkdir -p ${DESTDIR}$(MANDIR)/man1
|
||||
+ @gzip -c markad.1 > ${DESTDIR}$(MANDIR)/man1/markad.1.gz
|
||||
+else
|
||||
@mkdir -p $(MANDIR)/man1
|
||||
@gzip -c markad.1 > $(MANDIR)/man1/markad.1.gz
|
||||
+endif
|
||||
|
||||
install: install-doc markad $(I18Nmsgs)
|
||||
+ifdef FREEBSD
|
||||
+ @mkdir -p $(PREFIX)/bin
|
||||
+ @cp -f markad $(PREFIX)/bin/markad
|
||||
+ @$(STRIP) $(PREFIX)/bin/markad
|
||||
+ @mkdir -p $(DATADIR)/logos
|
||||
+ @cp logos/* $(DATADIR)/logos
|
||||
+ @mkdir -p ${DESTDIR}$(PREFIX)/bin
|
||||
+ @cp -f markad ${DESTDIR}$(PREFIX)/bin/markad
|
||||
+ @$(STRIP) ${DESTDIR}$(PREFIX)/bin/markad
|
||||
+ @mkdir -p ${DESTDIR}$(DATADIR)/logos
|
||||
+ @cp logos/* ${DESTDIR}$(DATADIR)/logos
|
||||
+else
|
||||
@mkdir -p $(DESTDIR)/usr/bin
|
||||
@cp --remove-destination markad $(DESTDIR)/usr/bin/markad
|
||||
|
@ -5,7 +5,7 @@
|
||||
|
||||
install: all
|
||||
+ifdef FREEBSD
|
||||
+ ${INSTALL_PROGRAM} $(LIBDIR)/libvdr-$(PLUGIN).so.$(APIVERSION) $(PREFIX)/lib/vdr/libvdr-$(PLUGIN).so.$(APIVERSION)
|
||||
+ ${INSTALL_PROGRAM} $(LIBDIR)/libvdr-$(PLUGIN).so.$(APIVERSION) ${DESTDIR}$(PREFIX)/lib/vdr/libvdr-$(PLUGIN).so.$(APIVERSION)
|
||||
+else
|
||||
cp --remove-destination libvdr-$(PLUGIN).so $(LIBDIR)/libvdr-$(PLUGIN).so.$(APIVERSION)
|
||||
+endif
|
||||
|
@ -1,5 +1,6 @@
|
||||
bin/markad
|
||||
lib/vdr/libvdr-markad.so.%%APIVERSION%%
|
||||
man/man1/markad.1.gz
|
||||
%%NLS%%share/locale/de_DE/LC_MESSAGES/vdr-markad.mo
|
||||
%%NLS%%share/locale/es_ES/LC_MESSAGES/vdr-markad.mo
|
||||
%%NLS%%share/locale/fi_FI/LC_MESSAGES/vdr-markad.mo
|
||||
|
@ -15,7 +15,7 @@ PATCHFILES= osdpip-vdr-1.7.26.diff
|
||||
MAINTAINER= nox@FreeBSD.org
|
||||
COMMENT= Video Disk Recorder - picture-in-picture plugin
|
||||
|
||||
LIB_DEPENDS+= avcodec:${PORTSDIR}/multimedia/ffmpeg
|
||||
LIB_DEPENDS+= libavcodec.so:${PORTSDIR}/multimedia/ffmpeg
|
||||
|
||||
USES= pkgconfig
|
||||
DIST_SUBDIR= vdr
|
||||
@ -25,15 +25,15 @@ HAVE_CONFIGURE= yes
|
||||
PORTDOCS= COPYING README HISTORY
|
||||
WRKSRC= ${WRKDIR}/${PLUGIN}-${DISTVERSION}
|
||||
|
||||
NO_STAGE= yes
|
||||
.include "${.CURDIR}/../vdr/Makefile.plugins"
|
||||
|
||||
post-patch: post-patch-plugin
|
||||
|
||||
pre-install:
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/lib/vdr
|
||||
|
||||
post-install: post-install-pluginlocales
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR})
|
||||
.endif
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -15,4 +15,4 @@
|
||||
@-rm -f $(OBJS) $(DEPFILE) *.so *.tgz core* *~ $(PODIR)/*.mo $(PODIR)/*.pot
|
||||
+
|
||||
+install:
|
||||
+ ${INSTALL_PROGRAM} $(LIBDIR)/libvdr-$(PLUGIN).so.$(APIVERSION) $(PREFIX)/lib/vdr/libvdr-$(PLUGIN).so.$(APIVERSION)
|
||||
+ ${INSTALL_PROGRAM} $(LIBDIR)/libvdr-$(PLUGIN).so.$(APIVERSION) ${DESTDIR}$(PREFIX)/lib/vdr/libvdr-$(PLUGIN).so.$(APIVERSION)
|
||||
|
@ -17,16 +17,16 @@ HAVE_CONFIGURE= yes
|
||||
PORTDOCS= COPYING README HISTORY
|
||||
WRKSRC= ${WRKDIR}/${PLUGIN}-${DISTVERSION}
|
||||
|
||||
NO_STAGE= yes
|
||||
.include "${.CURDIR}/../vdr/Makefile.plugins"
|
||||
|
||||
post-patch: post-patch-plugin
|
||||
|
||||
pre-install:
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/lib/vdr
|
||||
|
||||
post-install: post-install-pluginlocales
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR})
|
||||
.endif
|
||||
${INSTALL} -o ${VDR_USER} -g ${VDR_GROUP} -d /var/cache/vdr/vtx
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
|
||||
${MKDIR} ${STAGEDIR}/var/cache/vdr/vtx
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -4,7 +4,7 @@
|
||||
@-rm -f $(OBJS) $(DEPFILE) *.so *.tgz core* *~
|
||||
|
||||
install:
|
||||
+ ${INSTALL_PROGRAM} $(LIBDIR)/libvdr-$(PLUGIN).so.$(APIVERSION) $(PREFIX)/lib/vdr/libvdr-$(PLUGIN).so.$(APIVERSION)
|
||||
+ ${INSTALL_PROGRAM} $(LIBDIR)/libvdr-$(PLUGIN).so.$(APIVERSION) ${DESTDIR}$(PREFIX)/lib/vdr/libvdr-$(PLUGIN).so.$(APIVERSION)
|
||||
+
|
||||
+install-readme:
|
||||
@install -d ../../man
|
||||
|
@ -18,18 +18,18 @@ HAVE_CONFIGURE= yes
|
||||
PORTDOCS= COPYING README HISTORY
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION:S/b1.7.15//}
|
||||
|
||||
NO_STAGE= yes
|
||||
.include "${.CURDIR}/../vdr/Makefile.plugins"
|
||||
|
||||
post-patch: post-patch-plugin
|
||||
|
||||
pre-install:
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/lib/vdr
|
||||
|
||||
post-install: post-install-pluginlocales
|
||||
${MKDIR} ${PREFIX}/etc/vdr/plugins/transponders
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/etc/vdr/plugins/transponders
|
||||
${INSTALL_DATA} ${WRKDIR}/debian/transponders/*.tpl \
|
||||
${PREFIX}/etc/vdr/plugins/transponders
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR})
|
||||
.endif
|
||||
${STAGEDIR}${PREFIX}/etc/vdr/plugins/transponders
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -5,4 +5,4 @@
|
||||
@-rm -f $(OBJS) $(DEPFILE) *.so *.tgz core* *~
|
||||
|
||||
+install:
|
||||
+ ${INSTALL_PROGRAM} $(LIBDIR)/libvdr-$(PLUGIN).so.$(APIVERSION) $(PREFIX)/lib/vdr/libvdr-$(PLUGIN).so.$(APIVERSION)
|
||||
+ ${INSTALL_PROGRAM} $(LIBDIR)/libvdr-$(PLUGIN).so.$(APIVERSION) ${DESTDIR}$(PREFIX)/lib/vdr/libvdr-$(PLUGIN).so.$(APIVERSION)
|
||||
|
@ -17,15 +17,15 @@ HAVE_CONFIGURE= yes
|
||||
PORTDOCS= COPYING README HISTORY
|
||||
WRKSRC= ${WRKDIR}/${PLUGIN}-${DISTVERSION}
|
||||
|
||||
NO_STAGE= yes
|
||||
.include "${.CURDIR}/../vdr/Makefile.plugins"
|
||||
|
||||
post-patch: post-patch-plugin
|
||||
|
||||
pre-install:
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/lib/vdr
|
||||
|
||||
post-install: post-install-pluginlocales
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR})
|
||||
.endif
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -45,4 +45,4 @@
|
||||
@-rm -f *.o $(DEPFILE) *.so *.tgz core* *~
|
||||
+
|
||||
+install:
|
||||
+ ${INSTALL_PROGRAM} $(LIBDIR)/libvdr-$(PLUGIN).so.$(APIVERSION) $(PREFIX)/lib/vdr/libvdr-$(PLUGIN).so.$(APIVERSION)
|
||||
+ ${INSTALL_PROGRAM} $(LIBDIR)/libvdr-$(PLUGIN).so.$(APIVERSION) ${DESTDIR}$(PREFIX)/lib/vdr/libvdr-$(PLUGIN).so.$(APIVERSION)
|
||||
|
@ -19,17 +19,17 @@ HAVE_CONFIGURE= yes
|
||||
PORTDOCS= COPYING README HISTORY
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}
|
||||
|
||||
NO_STAGE= yes
|
||||
.include "${.CURDIR}/../vdr/Makefile.plugins"
|
||||
|
||||
post-patch: post-patch-plugin
|
||||
|
||||
pre-install:
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/lib/vdr
|
||||
|
||||
post-install: post-install-pluginlocales
|
||||
(cd ${WRKDIR}/${PLUGIN} && \
|
||||
${COPYTREE_SHARE} \* ${PREFIX}/etc/vdr/plugins/${PLUGIN} )
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR})
|
||||
.endif
|
||||
${COPYTREE_SHARE} \* ${STAGEDIR}${PREFIX}/etc/vdr/plugins/${PLUGIN} )
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -6,4 +6,4 @@
|
||||
@-rm -f $(OBJS) $(DEPFILE) *.so *.tgz core* *~ $(PODIR)/*.mo $(PODIR)/*.pot
|
||||
+
|
||||
+install:
|
||||
+ ${INSTALL_PROGRAM} $(LIBDIR)/libvdr-$(PLUGIN).so.$(APIVERSION) $(PREFIX)/lib/vdr/libvdr-$(PLUGIN).so.$(APIVERSION)
|
||||
+ ${INSTALL_PROGRAM} $(LIBDIR)/libvdr-$(PLUGIN).so.$(APIVERSION) ${DESTDIR}$(PREFIX)/lib/vdr/libvdr-$(PLUGIN).so.$(APIVERSION)
|
||||
|
@ -16,15 +16,15 @@ HAVE_CONFIGURE= yes
|
||||
PORTDOCS= COPYING README HISTORY
|
||||
WRKSRC= ${WRKDIR}/${PLUGIN}-${PORTVERSION}
|
||||
|
||||
NO_STAGE= yes
|
||||
.include "${.CURDIR}/../vdr/Makefile.plugins"
|
||||
|
||||
post-patch: post-patch-plugin
|
||||
|
||||
pre-install:
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/lib/vdr
|
||||
|
||||
post-install: post-install-pluginlocales
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR})
|
||||
.endif
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -6,4 +6,4 @@
|
||||
@-rm -f $(OBJS) $(DEPFILE) *.so *.tgz core* *~
|
||||
+
|
||||
+install:
|
||||
+ ${INSTALL_PROGRAM} $(LIBDIR)/libvdr-$(PLUGIN).so.$(APIVERSION) $(PREFIX)/lib/vdr/libvdr-$(PLUGIN).so.$(APIVERSION)
|
||||
+ ${INSTALL_PROGRAM} $(LIBDIR)/libvdr-$(PLUGIN).so.$(APIVERSION) ${DESTDIR}$(PREFIX)/lib/vdr/libvdr-$(PLUGIN).so.$(APIVERSION)
|
||||
|
@ -13,9 +13,9 @@ MAINTAINER= nox@FreeBSD.org
|
||||
COMMENT= Video Disk Recorder - softhddevice plugin
|
||||
|
||||
LIB_DEPENDS+= libavcodec0.so:${PORTSDIR}/multimedia/ffmpeg0 \
|
||||
vdpau:${PORTSDIR}/multimedia/libvdpau \
|
||||
xcb-keysyms:${PORTSDIR}/x11/xcb-util-keysyms \
|
||||
asound:${PORTSDIR}/audio/alsa-lib
|
||||
libvdpau.so:${PORTSDIR}/multimedia/libvdpau \
|
||||
libxcb-keysyms.so:${PORTSDIR}/x11/xcb-util-keysyms \
|
||||
libasound.so:${PORTSDIR}/audio/alsa-lib
|
||||
|
||||
USES= pkgconfig
|
||||
USE_XORG+= xv x11 xcb xinerama
|
||||
@ -29,7 +29,6 @@ CONFIG+= -DUSE_OSS
|
||||
MAKE_ARGS+= CONFIG="${CONFIG}"
|
||||
WRKSRC= ${WRKDIR}/${PLUGIN}-${PORTVERSION}
|
||||
|
||||
NO_STAGE= yes
|
||||
.include "${.CURDIR}/../vdr/Makefile.plugins"
|
||||
|
||||
OPTIONS_DEFINE= VAAPI
|
||||
@ -38,7 +37,7 @@ VAAPI_DESC= Enable vaapi support (experimental)
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MVAAPI}
|
||||
LIB_DEPENDS+= va:${PORTSDIR}/multimedia/libva
|
||||
LIB_DEPENDS+= libva.so:${PORTSDIR}/multimedia/libva
|
||||
CONFIG+= -DUSE_VAAPI
|
||||
.endif
|
||||
|
||||
@ -47,10 +46,13 @@ post-patch: post-patch-plugin
|
||||
-e 's,libavcodec,libavcodec0,g' \
|
||||
${WRKSRC}/Makefile
|
||||
|
||||
pre-install:
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/lib/vdr
|
||||
|
||||
post-install: post-install-pluginlocales
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
${MKDIR} ${DOCSDIR}
|
||||
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR})
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -69,7 +69,7 @@
|
||||
+
|
||||
install: libvdr-$(PLUGIN).so
|
||||
+ifdef FREEBSD
|
||||
+ ${INSTALL_PROGRAM} libvdr-$(PLUGIN).so $(PREFIX)/lib/vdr/libvdr-$(PLUGIN).so.$(APIVERSION)
|
||||
+ ${INSTALL_PROGRAM} libvdr-$(PLUGIN).so ${DESTDIR}$(PREFIX)/lib/vdr/libvdr-$(PLUGIN).so.$(APIVERSION)
|
||||
+else
|
||||
cp --remove-destination libvdr-$(PLUGIN).so \
|
||||
/usr/lib/vdr/plugins/libvdr-$(PLUGIN).so.$(APIVERSION)
|
||||
|
@ -23,7 +23,6 @@ WRKSRC= ${WRKDIR}/${PLUGIN}-${PORTVERSION}
|
||||
VDR_PLUGIN_MAKEFILES= ${WRKSRC}/client/Makefile \
|
||||
${WRKSRC}/server/Makefile
|
||||
|
||||
NO_STAGE= yes
|
||||
.include "${.CURDIR}/../vdr/Makefile.plugins"
|
||||
|
||||
post-patch: post-patch-plugin
|
||||
@ -31,19 +30,16 @@ post-patch: post-patch-plugin
|
||||
@${REINPLACE_CMD} '1s-^#!/bin/sh-#!${LOCALBASE}/bin/bash-' \
|
||||
${WRKSRC}/${PLUGIN}-server/externremux.sh
|
||||
|
||||
pre-install:
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/lib/vdr
|
||||
|
||||
post-install: post-install-pluginlocales
|
||||
@${MKDIR} ${PREFIX}/etc/vdr/plugins/${PLUGIN}-server
|
||||
@${INSTALL_SCRIPT} ${WRKSRC}/${PLUGIN}-server/externremux.sh ${PREFIX}/etc/vdr/plugins/${PLUGIN}-server/externremux.sh.sample
|
||||
@${INSTALL_DATA} ${WRKSRC}/${PLUGIN}-server/streamdevhosts.conf ${PREFIX}/etc/vdr/plugins/${PLUGIN}-server/streamdevhosts.conf.sample
|
||||
@if [ ! -f ${PREFIX}/etc/vdr/plugins/${PLUGIN}-server/externremux.sh ]; then \
|
||||
${INSTALL_SCRIPT} -o ${VDR_USER} -g ${VDR_GROUP} ${WRKSRC}/${PLUGIN}-server/externremux.sh ${PREFIX}/etc/vdr/plugins/${PLUGIN}-server; \
|
||||
fi
|
||||
@if [ ! -f ${PREFIX}/etc/vdr/plugins/${PLUGIN}-server/streamdevhosts.conf ]; then \
|
||||
${INSTALL_DATA} -o ${VDR_USER} -g ${VDR_GROUP} ${WRKSRC}/${PLUGIN}-server/streamdevhosts.conf ${PREFIX}/etc/vdr/plugins/${PLUGIN}-server; \
|
||||
fi
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR})
|
||||
.endif
|
||||
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/vdr/plugins/${PLUGIN}-server
|
||||
@${INSTALL_SCRIPT} ${WRKSRC}/${PLUGIN}-server/externremux.sh \
|
||||
${STAGEDIR}${PREFIX}/etc/vdr/plugins/${PLUGIN}-server/externremux.sh.sample
|
||||
@${INSTALL_DATA} ${WRKSRC}/${PLUGIN}-server/streamdevhosts.conf \
|
||||
${STAGEDIR}${PREFIX}/etc/vdr/plugins/${PLUGIN}-server/streamdevhosts.conf.sample
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -6,5 +6,5 @@
|
||||
$(MAKE) -C ./server clean
|
||||
+
|
||||
+install:
|
||||
+ ${INSTALL_PROGRAM} $(LIBDIR)/libvdr-$(PLUGIN)-client.so.$(APIVERSION) $(PREFIX)/lib/vdr/libvdr-$(PLUGIN)-client.so.$(APIVERSION)
|
||||
+ ${INSTALL_PROGRAM} $(LIBDIR)/libvdr-$(PLUGIN)-server.so.$(APIVERSION) $(PREFIX)/lib/vdr/libvdr-$(PLUGIN)-server.so.$(APIVERSION)
|
||||
+ ${INSTALL_PROGRAM} $(LIBDIR)/libvdr-$(PLUGIN)-client.so.$(APIVERSION) ${DESTDIR}$(PREFIX)/lib/vdr/libvdr-$(PLUGIN)-client.so.$(APIVERSION)
|
||||
+ ${INSTALL_PROGRAM} $(LIBDIR)/libvdr-$(PLUGIN)-server.so.$(APIVERSION) ${DESTDIR}$(PREFIX)/lib/vdr/libvdr-$(PLUGIN)-server.so.$(APIVERSION)
|
||||
|
@ -16,15 +16,15 @@ HAVE_CONFIGURE= yes
|
||||
PORTDOCS= COPYING README HISTORY
|
||||
WRKSRC= ${WRKDIR}/${PLUGIN}-${DISTVERSION}
|
||||
|
||||
NO_STAGE= yes
|
||||
.include "${.CURDIR}/../vdr/Makefile.plugins"
|
||||
|
||||
post-patch: post-patch-plugin
|
||||
|
||||
pre-install:
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/lib/vdr
|
||||
|
||||
post-install: post-install-pluginlocales
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR})
|
||||
.endif
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -18,4 +18,4 @@
|
||||
@-rm -f $(OBJS) $(DEPFILE) *.so *.tgz core* *~
|
||||
+
|
||||
+install:
|
||||
+ ${INSTALL_PROGRAM} $(LIBDIR)/libvdr-$(PLUGIN).so.$(APIVERSION) $(PREFIX)/lib/vdr/libvdr-$(PLUGIN).so.$(APIVERSION)
|
||||
+ ${INSTALL_PROGRAM} $(LIBDIR)/libvdr-$(PLUGIN).so.$(APIVERSION) ${DESTDIR}$(PREFIX)/lib/vdr/libvdr-$(PLUGIN).so.$(APIVERSION)
|
||||
|
@ -26,7 +26,6 @@ WRKSRC= ${WRKDIR}/${PLUGIN}-${DISTVERSION:S/a2//}
|
||||
CXXFLAGS+= -L${LOCALBASE}/lib/ffmpeg0 -lavcodec0 -lavformat0 -fPIC
|
||||
MAKE_ARGS= LIBS="-I${LOCALBASE}/include/ffmpeg0" CXXFLAGS="${CXXFLAGS}"
|
||||
|
||||
NO_STAGE= yes
|
||||
.include "${.CURDIR}/../vdr/Makefile.plugins"
|
||||
|
||||
post-patch: post-patch-plugin
|
||||
@ -35,15 +34,18 @@ post-patch: post-patch-plugin
|
||||
-e 's,lavformat,lavformat0,g' \
|
||||
${WRKSRC}/Makefile
|
||||
|
||||
pre-install:
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/lib/vdr
|
||||
|
||||
post-install: post-install-pluginlocales
|
||||
@${MKDIR} ${PREFIX}/etc/vdr/plugins/${PLUGIN}/http/icons
|
||||
@${INSTALL_DATA} ${WRKSRC}/http/icons/* ${PREFIX}/etc/vdr/plugins/${PLUGIN}/http/icons
|
||||
@${MKDIR} ${PREFIX}/etc/vdr/plugins/${PLUGIN}/http/xml
|
||||
@${INSTALL_DATA} ${WRKSRC}/http/xml/* ${PREFIX}/etc/vdr/plugins/${PLUGIN}/http/xml
|
||||
@${INSTALL} -o ${VDR_USER} -g ${VDR_GROUP} -d /var/cache/vdr/${PLUGIN}
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR})
|
||||
.endif
|
||||
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/vdr/plugins/${PLUGIN}/http/icons
|
||||
@${INSTALL_DATA} ${WRKSRC}/http/icons/* \
|
||||
${STAGEDIR}${PREFIX}/etc/vdr/plugins/${PLUGIN}/http/icons
|
||||
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/vdr/plugins/${PLUGIN}/http/xml
|
||||
@${INSTALL_DATA} ${WRKSRC}/http/xml/* \
|
||||
${STAGEDIR}${PREFIX}/etc/vdr/plugins/${PLUGIN}/http/xml
|
||||
@${MKDIR} ${STAGEDIR}/var/cache/vdr/${PLUGIN}
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -28,4 +28,4 @@
|
||||
@-rm -f $(OBJS) $(DEPFILE) *.so *.tgz core* *~ $(PODIR)/*.mo $(PODIR)/*.pot
|
||||
+
|
||||
+install:
|
||||
+ ${INSTALL_PROGRAM} $(LIBDIR)/libvdr-$(PLUGIN).so.$(APIVERSION) $(PREFIX)/lib/vdr/libvdr-$(PLUGIN).so.$(APIVERSION)
|
||||
+ ${INSTALL_PROGRAM} $(LIBDIR)/libvdr-$(PLUGIN).so.$(APIVERSION) ${DESTDIR}$(PREFIX)/lib/vdr/libvdr-$(PLUGIN).so.$(APIVERSION)
|
||||
|
@ -14,17 +14,18 @@ COMMENT= Video Disk Recorder - VDR-Manager server plugin
|
||||
PATCH_STRIP= -p1
|
||||
PORTDOCS= COPYING README HISTORY
|
||||
|
||||
NO_STAGE= yes
|
||||
.include "${.CURDIR}/../vdr/Makefile.plugins"
|
||||
|
||||
post-patch: post-patch-plugin
|
||||
|
||||
pre-install:
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/lib/vdr
|
||||
|
||||
post-install:
|
||||
@${MKDIR} ${PREFIX}/etc/vdr/plugins
|
||||
@${INSTALL_DATA} ${WRKSRC}/examples/plugin.vdrmanager.conf ${PREFIX}/etc/vdr/plugins/plugin.vdrmanager.conf.sample
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR})
|
||||
.endif
|
||||
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/vdr/plugins
|
||||
@${INSTALL_DATA} ${WRKSRC}/examples/plugin.vdrmanager.conf \
|
||||
${STAGEDIR}${PREFIX}/etc/vdr/plugins/plugin.vdrmanager.conf.sample
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -6,4 +6,4 @@
|
||||
@-rm -f $(OBJS) $(DEPFILE) *.so *.tgz core* *~
|
||||
+
|
||||
+install:
|
||||
+ ${INSTALL_PROGRAM} $(LIBDIR)/libvdr-$(PLUGIN).so.$(APIVERSION) $(PREFIX)/lib/vdr/libvdr-$(PLUGIN).so.$(APIVERSION)
|
||||
+ ${INSTALL_PROGRAM} $(LIBDIR)/libvdr-$(PLUGIN).so.$(APIVERSION) ${DESTDIR}$(PREFIX)/lib/vdr/libvdr-$(PLUGIN).so.$(APIVERSION)
|
||||
|
@ -28,21 +28,18 @@ MAKE_ARGS+= LIBDIR=${WRKDIR}/lib \
|
||||
VDRSRC=${LOCALBASE}/include/vdr \
|
||||
INCLUDES=-I${LOCALBASE}/include
|
||||
|
||||
NO_STAGE= yes
|
||||
|
||||
.include "${.CURDIR}/../vdr/Makefile.plugins"
|
||||
|
||||
post-patch: post-patch-plugin
|
||||
|
||||
pre-install:
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/lib/vdr
|
||||
|
||||
post-install:
|
||||
@${MKDIR} ${PREFIX}/etc/vdr/plugins/${PLUGIN}5
|
||||
@${INSTALL_DATA} ${WRKSRC}/${PLUGIN}/allowed_hosts.conf ${PREFIX}/etc/vdr/plugins/${PLUGIN}5/allowed_hosts.conf.sample
|
||||
@if [ ! -f ${PREFIX}/etc/vdr/plugins/${PLUGIN}5/allowed_hosts.conf ]; then \
|
||||
${INSTALL_DATA} -o ${VDR_USER} -g ${VDR_GROUP} ${WRKSRC}/${PLUGIN}/allowed_hosts.conf ${PREFIX}/etc/vdr/plugins/${PLUGIN}5; \
|
||||
fi
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR})
|
||||
.endif
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/etc/vdr/plugins/${PLUGIN}5
|
||||
${INSTALL_DATA} ${WRKSRC}/${PLUGIN}/allowed_hosts.conf \
|
||||
${STAGEDIR}${PREFIX}/etc/vdr/plugins/${PLUGIN}5/allowed_hosts.conf.sample
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -17,7 +17,7 @@
|
||||
|
||||
install-lib: $(SOFILE)
|
||||
+ifdef FREEBSD
|
||||
+ install $^ $(DESTDIR)$(LIBDIR)/$^.$(APIVERSION)
|
||||
+ install $^ $(LIBDIR)/$^.$(APIVERSION)
|
||||
+else
|
||||
install -D $^ $(DESTDIR)$(LIBDIR)/$^.$(APIVERSION)
|
||||
+endif
|
||||
@ -30,4 +30,4 @@
|
||||
compile: $(SOFILE)
|
||||
+
|
||||
+install:
|
||||
+ ${INSTALL_PROGRAM} $(LIBDIR)/libvdr-$(PLUGIN).so.$(APIVERSION) $(PREFIX)/lib/vdr/libvdr-$(PLUGIN).so.$(APIVERSION)
|
||||
+ ${INSTALL_PROGRAM} $(LIBDIR)/libvdr-$(PLUGIN).so.$(APIVERSION) ${DESTDIR}$(PREFIX)/lib/vdr/libvdr-$(PLUGIN).so.$(APIVERSION)
|
||||
|
@ -17,16 +17,16 @@ HAVE_CONFIGURE= yes
|
||||
PORTDOCS= COPYING README HISTORY
|
||||
WRKSRC= ${WRKDIR}/${PLUGIN}-${DISTVERSION}
|
||||
|
||||
NO_STAGE= yes
|
||||
.include "${.CURDIR}/../vdr/Makefile.plugins"
|
||||
|
||||
post-patch: post-patch-plugin
|
||||
${REINPLACE_CMD} -f ${FILESDIR}/types.sed ${WRKSRC}/*.c ${WRKSRC}/*.h
|
||||
|
||||
pre-install:
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/lib/vdr
|
||||
|
||||
post-install: post-install-pluginlocales
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR})
|
||||
.endif
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -18,4 +18,4 @@
|
||||
uncrustify -c ../../../../clean_code/config --replace --no-backup $(UNCRUSTIFY_FILES)
|
||||
+
|
||||
+install:
|
||||
+ ${INSTALL_PROGRAM} $(LIBDIR)/libvdr-$(PLUGIN).so.$(APIVERSION) $(PREFIX)/lib/vdr/libvdr-$(PLUGIN).so.$(APIVERSION)
|
||||
+ ${INSTALL_PROGRAM} $(LIBDIR)/libvdr-$(PLUGIN).so.$(APIVERSION) ${DESTDIR}$(PREFIX)/lib/vdr/libvdr-$(PLUGIN).so.$(APIVERSION)
|
||||
|
@ -14,10 +14,10 @@ DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:snapshot
|
||||
MAINTAINER= nox@FreeBSD.org
|
||||
COMMENT= Video Disk Recorder - xineliboutput plugin/viewer
|
||||
|
||||
LIB_DEPENDS+= xine:${PORTSDIR}/multimedia/libxine \
|
||||
avutil:${PORTSDIR}/multimedia/ffmpeg \
|
||||
dbus-glib-1:${PORTSDIR}/devel/dbus-glib \
|
||||
vdpau:${PORTSDIR}/multimedia/libvdpau
|
||||
LIB_DEPENDS+= libxine.so:${PORTSDIR}/multimedia/libxine \
|
||||
libavutil.so:${PORTSDIR}/multimedia/ffmpeg \
|
||||
libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib \
|
||||
libvdpau.so:${PORTSDIR}/multimedia/libvdpau
|
||||
|
||||
USE_BZIP2= yes
|
||||
PATCH_STRIP= -p1
|
||||
@ -32,7 +32,6 @@ XINE_PLUGINSDIR= lib/xine/plugins/2.3
|
||||
OPTIONS_DEFINE= LIBBLURAY LIBEXTRACTOR
|
||||
|
||||
HAS_CONFIGURE= yes
|
||||
NO_STAGE= yes
|
||||
|
||||
.include "${.CURDIR}/../vdr/Makefile.plugins"
|
||||
|
||||
@ -43,13 +42,13 @@ PLIST_SUB+= XINE_PLUGINSDIR=${XINE_PLUGINSDIR}
|
||||
CONFIGURE_ARGS+= --cc="${CC}" --cxx="${CXX}" --add-cflags=-I${VDRDIR}
|
||||
|
||||
.if ${PORT_OPTIONS:MLIBEXTRACTOR}
|
||||
LIB_DEPENDS+= extractor:${PORTSDIR}/textproc/libextractor
|
||||
LIB_DEPENDS+= libextractor.so:${PORTSDIR}/textproc/libextractor
|
||||
.else
|
||||
CONFIGURE_ARGS+= --disable-libextractor
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MLIBBLURAY}
|
||||
LIB_DEPENDS+= bluray:${PORTSDIR}/multimedia/libbluray
|
||||
LIB_DEPENDS+= libbluray.so:${PORTSDIR}/multimedia/libbluray
|
||||
.else
|
||||
CONFIGURE_ARGS+= --disable-libbluray
|
||||
.endif
|
||||
@ -59,19 +58,20 @@ post-patch: post-patch-plugin
|
||||
${TOUCH} -t 200001010000 ${WRKSRC}/nosignal_720x576.c \
|
||||
${WRKSRC}/black_720x576.c ${WRKSRC}/vdrlogo_720x576.c
|
||||
|
||||
pre-install:
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/lib/vdr
|
||||
|
||||
post-install: post-install-pluginlocales
|
||||
@${INSTALL} -o ${VDR_USER} -g ${VDR_GROUP} -d ${PREFIX}/etc/vdr/plugins/${PLUGIN}
|
||||
@${INSTALL_DATA} ${WRKSRC}/examples/allowed_hosts.conf ${PREFIX}/etc/vdr/plugins/${PLUGIN}/allowed_hosts.conf.sample
|
||||
@if [ ! -f ${PREFIX}/etc/vdr/plugins/${PLUGIN}/allowed_hosts.conf ]; then \
|
||||
${INSTALL_DATA} ${WRKSRC}/examples/allowed_hosts.conf ${PREFIX}/etc/vdr/plugins/${PLUGIN}; \
|
||||
fi
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/etc/vdr/plugins/${PLUGIN}
|
||||
${INSTALL_DATA} ${WRKSRC}/examples/allowed_hosts.conf \
|
||||
${STAGEDIR}${PREFIX}/etc/vdr/plugins/${PLUGIN}/allowed_hosts.conf.sample
|
||||
.if ${PORT_OPTIONS:MEXAMPLES}
|
||||
${MKDIR} ${EXAMPLESDIR}/xine
|
||||
${INSTALL_DATA} ${FILESDIR}/keymap ${EXAMPLESDIR}/xine
|
||||
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/xine
|
||||
${INSTALL_DATA} ${FILESDIR}/keymap ${STAGEDIR}${EXAMPLESDIR}/xine
|
||||
.endif
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
${MKDIR} ${DOCSDIR}
|
||||
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR})
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -24,15 +24,51 @@
|
||||
|
||||
|
||||
###
|
||||
@@ -410,7 +408,7 @@ ifeq ($(XINELIBOUTPUT_VDRPLUGIN), yes)
|
||||
@echo Installing $(DESTDIR)$(LIBDIR)/$(VDRPLUGIN)
|
||||
@mkdir -p $(DESTDIR)$(LIBDIR)
|
||||
@-rm -rf $(DESTDIR)$(LIBDIR)/$(VDRPLUGIN)
|
||||
@@ -410,10 +410,10 @@ ifeq ($(XINELIBOUTPUT_XINEPLUGIN), yes)
|
||||
endif
|
||||
ifeq ($(XINELIBOUTPUT_VDRPLUGIN), yes)
|
||||
ifeq ($(VDR_TREE), no)
|
||||
- @echo Installing $(DESTDIR)$(LIBDIR)/$(VDRPLUGIN)
|
||||
- @mkdir -p $(DESTDIR)$(LIBDIR)
|
||||
- @-rm -rf $(DESTDIR)$(LIBDIR)/$(VDRPLUGIN)
|
||||
- @$(INSTALL) -D -m 0755 $(VDRPLUGIN) $(DESTDIR)$(LIBDIR)/$(VDRPLUGIN)
|
||||
+ @$(INSTALL) -m 0755 $(VDRPLUGIN) $(DESTDIR)$(LIBDIR)/$(VDRPLUGIN)
|
||||
+ @echo Installing $(LIBDIR)/$(VDRPLUGIN)
|
||||
+ @mkdir -p $(LIBDIR)
|
||||
+ @-rm -rf $(LIBDIR)/$(VDRPLUGIN)
|
||||
+ @$(INSTALL) -m 0755 $(VDRPLUGIN) $(LIBDIR)/$(VDRPLUGIN)
|
||||
endif
|
||||
endif
|
||||
ifeq ($(XINELIBOUTPUT_FB), yes)
|
||||
@@ -423,10 +423,10 @@ ifeq ($(XINELIBOUTPUT_FB), yes)
|
||||
@$(INSTALL) -m 0755 vdr-fbfe $(DESTDIR)/$(BINDIR)/vdr-fbfe
|
||||
ifeq ($(XINELIBOUTPUT_VDRPLUGIN), yes)
|
||||
ifeq ($(VDR_TREE), no)
|
||||
- @echo Installing $(DESTDIR)$(LIBDIR)/$(VDRPLUGIN_FBFE)
|
||||
- @mkdir -p $(DESTDIR)$(LIBDIR)
|
||||
- @-rm -rf $(DESTDIR)$(LIBDIR)/$(VDRPLUGIN_FBFE)
|
||||
- @$(INSTALL) -m 0755 $(VDRPLUGIN_FBFE) $(DESTDIR)$(LIBDIR)/$(VDRPLUGIN_FBFE)
|
||||
+ @echo Installing $(LIBDIR)/$(VDRPLUGIN_FBFE)
|
||||
+ @mkdir -p $(LIBDIR)
|
||||
+ @-rm -rf $(LIBDIR)/$(VDRPLUGIN_FBFE)
|
||||
+ @$(INSTALL) -m 0755 $(VDRPLUGIN_FBFE) $(LIBDIR)/$(VDRPLUGIN_FBFE)
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
@@ -437,10 +437,10 @@ ifeq ($(XINELIBOUTPUT_X11), yes)
|
||||
@$(INSTALL) -m 0755 vdr-sxfe $(DESTDIR)/$(BINDIR)/vdr-sxfe
|
||||
ifeq ($(XINELIBOUTPUT_VDRPLUGIN), yes)
|
||||
ifeq ($(VDR_TREE), no)
|
||||
- @echo Installing $(DESTDIR)$(LIBDIR)/$(VDRPLUGIN_SXFE)
|
||||
- @mkdir -p $(DESTDIR)$(LIBDIR)
|
||||
- @-rm -rf $(DESTDIR)$(LIBDIR)/$(VDRPLUGIN_SXFE)
|
||||
- @$(INSTALL) -m 0755 $(VDRPLUGIN_SXFE) $(DESTDIR)$(LIBDIR)/$(VDRPLUGIN_SXFE)
|
||||
+ @echo Installing $(LIBDIR)/$(VDRPLUGIN_SXFE)
|
||||
+ @mkdir -p $(LIBDIR)
|
||||
+ @-rm -rf $(LIBDIR)/$(VDRPLUGIN_SXFE)
|
||||
+ @$(INSTALL) -m 0755 $(VDRPLUGIN_SXFE) $(LIBDIR)/$(VDRPLUGIN_SXFE)
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
@@ -441,6 +439,11 @@ ifeq ($(XINELIBOUTPUT_X11), yes)
|
||||
endif
|
||||
endif
|
||||
|
@ -17,20 +17,18 @@ HAVE_CONFIGURE= yes
|
||||
PORTDOCS= COPYING README HISTORY
|
||||
WRKSRC= ${WRKDIR}/pipelka-${PORTNAME}-${GITHASH}
|
||||
|
||||
NO_STAGE= yes
|
||||
.include "${.CURDIR}/../vdr/Makefile.plugins"
|
||||
|
||||
post-patch: post-patch-plugin
|
||||
|
||||
pre-install:
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/lib/vdr
|
||||
|
||||
post-install:
|
||||
@${MKDIR} ${PREFIX}/etc/vdr/plugins/${PLUGIN}
|
||||
@${INSTALL_DATA} ${WRKSRC}/${PLUGIN}/allowed_hosts.conf ${PREFIX}/etc/vdr/plugins/${PLUGIN}/allowed_hosts.conf.sample
|
||||
@if [ ! -f ${PREFIX}/etc/vdr/plugins/${PLUGIN}/allowed_hosts.conf ]; then \
|
||||
${INSTALL_DATA} -o ${VDR_USER} -g ${VDR_GROUP} ${WRKSRC}/${PLUGIN}/allowed_hosts.conf ${PREFIX}/etc/vdr/plugins/${PLUGIN}; \
|
||||
fi
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR})
|
||||
.endif
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/etc/vdr/plugins/${PLUGIN}
|
||||
${INSTALL_DATA} ${WRKSRC}/${PLUGIN}/allowed_hosts.conf \
|
||||
${STAGEDIR}${PREFIX}/etc/vdr/plugins/${PLUGIN}/allowed_hosts.conf.sample
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -6,4 +6,4 @@
|
||||
install:
|
||||
- @install -d ../../man
|
||||
- @install README ../../man/$(PLUGIN).man
|
||||
+ ${INSTALL_PROGRAM} $(LIBDIR)/libvdr-$(PLUGIN).so.$(APIVERSION) $(PREFIX)/lib/vdr/libvdr-$(PLUGIN).so.$(APIVERSION)
|
||||
+ ${INSTALL_PROGRAM} $(LIBDIR)/libvdr-$(PLUGIN).so.$(APIVERSION) ${DESTDIR}$(PREFIX)/lib/vdr/libvdr-$(PLUGIN).so.$(APIVERSION)
|
||||
|
@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= vdr-plugins
|
||||
PORTVERSION= 1.7.29
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= multimedia
|
||||
MASTER_SITES= # none
|
||||
DISTFILES= # none
|
||||
@ -48,10 +49,9 @@ MARKAD_DESC= MarkAd plugin
|
||||
|
||||
OPTIONS_DEFAULT= CONTROL EPGSEARCH FEMON INFOSATEPG IPTV OSDPIP \
|
||||
OSDTELETEXT REELSCAN REMOTE SKINENIGMANG STREAMDEV \
|
||||
TTXTSUBS WIRBELSCAN XINELIBOUTPUT LIVE UPNP \
|
||||
SLEEPTIMER XVDR EEPG VDRMANAGER SOFTHDDEVICE EXTRECMENU
|
||||
TTXTSUBS WIRBELSCAN XINELIBOUTPUT LIVE \
|
||||
SLEEPTIMER EEPG VDRMANAGER EXTRECMENU VNSISERVER
|
||||
|
||||
NO_STAGE= yes
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MCONTROL}
|
||||
|
@ -23,8 +23,6 @@ MAKE_ARGS+= INCLUDES="-I$(LOCALBASE)/include -I${WRKSRC}"
|
||||
MAKE_ARGS+= PREFIX="${PREFIX}"
|
||||
USES= compiler:features
|
||||
|
||||
NO_STAGE= yes
|
||||
|
||||
.include "${.CURDIR}/../../multimedia/vdr/Makefile.plugins"
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
@ -37,16 +35,15 @@ EXTRA_PATCH_STRIP= -p1
|
||||
post-patch: post-patch-plugin
|
||||
${CP} ${FILESDIR}/gen_version_suffix.h ${WRKSRC}
|
||||
|
||||
pre-su-install:
|
||||
${MKDIR} ${PREFIX}/lib/vdr
|
||||
pre-install:
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/lib/vdr
|
||||
|
||||
post-install: post-install-pluginlocales
|
||||
(cd ${WRKSRC}/${PLUGIN} && \
|
||||
${COPYTREE_SHARE} \* ${PREFIX}/etc/vdr/plugins/${PLUGIN} )
|
||||
${CHOWN} -R ${VDR_USER}:${VDR_GROUP} ${PREFIX}/etc/vdr/plugins/${PLUGIN}
|
||||
(cd ${WRKSRC}/${PLUGIN} && ${COPYTREE_SHARE} \* \
|
||||
${STAGEDIR}${PREFIX}/etc/vdr/plugins/${PLUGIN} )
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
${MKDIR} ${DOCSDIR}
|
||||
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR})
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -31,7 +31,7 @@
|
||||
@-rm -f $(VERSIONSUFFIX)
|
||||
|
||||
+install:
|
||||
+ ${INSTALL_PROGRAM} $(LIBDIR)/libvdr-$(PLUGIN).so.$(APIVERSION) $(PREFIX)/lib/vdr/libvdr-$(PLUGIN).so.$(APIVERSION)
|
||||
+ ${INSTALL_PROGRAM} $(LIBDIR)/libvdr-$(PLUGIN).so.$(APIVERSION) ${DESTDIR}$(PREFIX)/lib/vdr/libvdr-$(PLUGIN).so.$(APIVERSION)
|
||||
+
|
||||
.PRECIOUS: $(I18Npo)
|
||||
|
||||
|
@ -150,6 +150,7 @@ etc/vdr/plugins/live/themes/veltliner/img/logo.png
|
||||
etc/vdr/plugins/live/themes/veltliner/img/logo_login.png
|
||||
etc/vdr/plugins/live/themes/veltliner/img/menu_line_bg.png
|
||||
etc/vdr/plugins/live/themes/veltliner/img/zap.png
|
||||
@exec chown -R %%VDR_USER%%:%%VDR_GROUP%% %D/etc/vdr/plugins/live
|
||||
@dirrm etc/vdr/plugins/live/css
|
||||
@dirrm etc/vdr/plugins/live/img
|
||||
@dirrm etc/vdr/plugins/live/js/live
|
||||
|
Loading…
Reference in New Issue
Block a user