- Fix shebangs

- Drop @dirrm* from plist
- Switch to @sample

Approved by:	portmgr blanket
MFH:		2015Q3 (blanket)
This commit is contained in:
Dmitry Marakasov 2015-07-31 15:16:23 +00:00
parent 6c9827719a
commit 35b992cd99
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=393319
2 changed files with 5 additions and 8 deletions

View file

@ -3,6 +3,7 @@
PORTNAME= vdr-plugin-streamdev
PORTVERSION= 0.6.1
PORTREVISION= 1
CATEGORIES= multimedia
MASTER_SITES= http://projects.vdr-developer.org/attachments/download/1580/:release \
LOCAL/nox:snapshot
@ -13,7 +14,8 @@ COMMENT= Video Disk Recorder - stream device plugin
RUN_DEPENDS+= bash:${PORTSDIR}/shells/bash
USES= tar:tgz
USES= shebangfix tar:tgz
SHEBANG_FILES= streamdev-server/externremux.sh
PORTDOCS= COPYING README HISTORY
HAVE_CONFIGURE= yes
MAKE_JOBS_UNSAFE= yes

View file

@ -1,12 +1,7 @@
lib/vdr/libvdr-streamdev-client.so.%%APIVERSION%%
lib/vdr/libvdr-streamdev-server.so.%%APIVERSION%%
@unexec if cmp -s %D/etc/vdr/plugins/streamdev-server/externremux.sh.sample %D/etc/vdr/plugins/streamdev-server/externremux.sh; then rm -f %D/etc/vdr/plugins/streamdev-server/externremux.sh; fi
etc/vdr/plugins/streamdev-server/externremux.sh.sample
@exec if [ ! -f %D/etc/vdr/plugins/streamdev-server/externremux.sh ] ; then cp -p %D/%F %B/externremux.sh; fi
@unexec if cmp -s %D/etc/vdr/plugins/streamdev-server/streamdevhosts.conf.sample %D/etc/vdr/plugins/streamdev-server/streamdevhosts.conf; then rm -f %D/etc/vdr/plugins/streamdev-server/streamdevhosts.conf; fi
etc/vdr/plugins/streamdev-server/streamdevhosts.conf.sample
@exec if [ ! -f %D/etc/vdr/plugins/streamdev-server/streamdevhosts.conf ] ; then cp -p %D/%F %B/streamdevhosts.conf; fi
@dirrmtry etc/vdr/plugins/streamdev-server
@sample etc/vdr/plugins/streamdev-server/externremux.sh.sample
@sample etc/vdr/plugins/streamdev-server/streamdevhosts.conf.sample
%%NLS%%share/locale/de_DE/LC_MESSAGES/vdr-streamdev-client.mo
%%NLS%%share/locale/de_DE/LC_MESSAGES/vdr-streamdev-server.mo
%%NLS%%share/locale/es_ES/LC_MESSAGES/vdr-streamdev-client.mo