- Add LICENSE

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

Approved by:	portmgr blanket
This commit is contained in:
Dmitry Marakasov 2015-08-29 12:08:23 +00:00
parent fe4f5289c9
commit f071e23211
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=395551
2 changed files with 4 additions and 4 deletions

View File

@ -11,6 +11,9 @@ DISTNAME= pipelka-${PORTNAME}-xvdr-${PORTVERSION}-0-g${GITHASH}
MAINTAINER= nox@FreeBSD.org
COMMENT= Video Disk Recorder - XVDR server plugin
LICENSE= GPLv2 # or later
LICENSE_FILE= ${WRKSRC}/COPYING
GITHASH= e4cab47
PATCH_STRIP= -p1
HAVE_CONFIGURE= yes

View File

@ -1,5 +1,2 @@
lib/vdr/libvdr-xvdr.so.%%APIVERSION%%
@unexec if cmp -s %D/etc/vdr/plugins/xvdr/allowed_hosts.conf.sample %D/etc/vdr/plugins/xvdr/allowed_hosts.conf; then rm -f %D/etc/vdr/plugins/xvdr/allowed_hosts.conf; fi
etc/vdr/plugins/xvdr/allowed_hosts.conf.sample
@exec if [ ! -f %D/etc/vdr/plugins/xvdr/allowed_hosts.conf ] ; then cp -p %D/%F %B/allowed_hosts.conf; fi
@dirrmtry etc/vdr/plugins/xvdr
@sample etc/vdr/plugins/xvdr/allowed_hosts.conf.sample