diff options
author | nox <nox@FreeBSD.org> | 2014-05-12 00:04:28 +0800 |
---|---|---|
committer | nox <nox@FreeBSD.org> | 2014-05-12 00:04:28 +0800 |
commit | 4a6fc9800da1a6591888546c2589a88e9c1149f2 (patch) | |
tree | 210e134bd2f4b5dc04c14aa6e03574aefb3b0a80 /multimedia/vdr | |
parent | 8123ed871ebd2d38040a18774288557f58e83fef (diff) | |
download | freebsd-ports-gnome-4a6fc9800da1a6591888546c2589a88e9c1149f2.tar.gz freebsd-ports-gnome-4a6fc9800da1a6591888546c2589a88e9c1149f2.tar.zst freebsd-ports-gnome-4a6fc9800da1a6591888546c2589a88e9c1149f2.zip |
- Add RUN_DEPENDS on x11-fonts/xorg-fonts-truetype.
- Add USES= shebangfix for svdrpsend.
- Use @sample.
- Pet check-plist.
- Bump PORTREVISION.
Diffstat (limited to 'multimedia/vdr')
-rw-r--r-- | multimedia/vdr/Makefile | 11 | ||||
-rw-r--r-- | multimedia/vdr/pkg-plist | 28 |
2 files changed, 14 insertions, 25 deletions
diff --git a/multimedia/vdr/Makefile b/multimedia/vdr/Makefile index b7fab6f6cce1..f63649a4f3d8 100644 --- a/multimedia/vdr/Makefile +++ b/multimedia/vdr/Makefile @@ -3,7 +3,7 @@ PORTNAME= vdr PORTVERSION= 1.7.29 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= multimedia MASTER_SITES= ftp://ftp.tvdr.de/vdr/Developer/ @@ -13,7 +13,8 @@ COMMENT= Video Disk Recorder - development version BUILD_DEPENDS= v4l_compat>=1.0.20120501:${PORTSDIR}/multimedia/v4l_compat LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg BUILD_DEPENDS+= ${LOCALBASE}/libdata/pkgconfig/fontconfig.pc:${PORTSDIR}/x11-fonts/fontconfig -RUN_DEPENDS+= ${LOCALBASE}/libdata/pkgconfig/fontconfig.pc:${PORTSDIR}/x11-fonts/fontconfig +RUN_DEPENDS+= ${LOCALBASE}/libdata/pkgconfig/fontconfig.pc:${PORTSDIR}/x11-fonts/fontconfig \ + xorg-fonts-truetype>=0:${PORTSDIR}/x11-fonts/xorg-fonts-truetype OPTIONS_DEFINE= IPTVPATCH TTXPATCH STB0899_SIGNAL IPTVPATCH_DESC= Stops EIT scans on IPTV channels @@ -22,7 +23,8 @@ DVBPATCH_DESC= DVB audio patch for some countries STB0899_SIGNAL_DESC= STB0899 signal strength patch OPTIONS_DEFAULT= IPTVPATCH TTXPATCH -USES= pkgconfig gettext iconv:wchar_t gmake tar:bzip2 +USES= pkgconfig gettext iconv:wchar_t gmake shebangfix tar:bzip2 +SHEBANG_FILES= svdrpsend DIST_SUBDIR= vdr PORTDOCS= COPYING INSTALL MANUAL README HISTORY CONFDIR= $(ETCDIR) @@ -104,7 +106,8 @@ post-install: ${MKDIR} ${STAGEDIR}${CONFDIR}/plugins ${INSTALL_DATA} ${FILESDIR}/remote.conf ${STAGEDIR}${CONFDIR}/remote.conf.sample for i in $$(cd ${WRKSRC} && ls *.conf); do \ - ${INSTALL_DATA} ${WRKSRC}/$$i ${STAGEDIR}${CONFDIR}/$$i.sample; \ + ${MV} -i ${STAGEDIR}${CONFDIR}/$$i \ + ${STAGEDIR}${CONFDIR}/$$i.sample; \ done ${INSTALL_SCRIPT} ${WRKDIR}/vdr-waitdvb ${STAGEDIR}${PREFIX}/bin .if ${PORT_OPTIONS:MDOCS} diff --git a/multimedia/vdr/pkg-plist b/multimedia/vdr/pkg-plist index 20c5ff28ba4a..555e7198cc0e 100644 --- a/multimedia/vdr/pkg-plist +++ b/multimedia/vdr/pkg-plist @@ -143,27 +143,13 @@ include/vdr/videodir.h %%TTXPATCH%%include/vdr/vdrttxtsubshooks.h @exec mkdir -p %D/etc/vdr/plugins @exec chown %%VDR_USER%%:%%VDR_GROUP%% %D/etc/vdr %D/etc/vdr/plugins -@unexec if cmp -s %D/etc/vdr/remote.conf.sample %D/etc/vdr/remote.conf; then rm -f %D/etc/vdr/remote.conf; fi -etc/vdr/remote.conf.sample -@exec if [ ! -f %D/etc/vdr/remote.conf ] ; then cp -p %D/%F %B/remote.conf; fi -@unexec if cmp -s %D/etc/vdr/channels.conf.sample %D/etc/vdr/channels.conf; then rm -f %D/etc/vdr/channels.conf; fi -etc/vdr/channels.conf.sample -@exec if [ ! -f %D/etc/vdr/channels.conf ] ; then cp -p %D/%F %B/channels.conf; fi -@unexec if cmp -s %D/etc/vdr/diseqc.conf.sample %D/etc/vdr/diseqc.conf; then rm -f %D/etc/vdr/diseqc.conf; fi -etc/vdr/diseqc.conf.sample -@exec if [ ! -f %D/etc/vdr/diseqc.conf ] ; then cp -p %D/%F %B/diseqc.conf; fi -@unexec if cmp -s %D/etc/vdr/keymacros.conf.sample %D/etc/vdr/keymacros.conf; then rm -f %D/etc/vdr/keymacros.conf; fi -etc/vdr/keymacros.conf.sample -@exec if [ ! -f %D/etc/vdr/keymacros.conf ] ; then cp -p %D/%F %B/keymacros.conf; fi -@unexec if cmp -s %D/etc/vdr/scr.conf.sample %D/etc/vdr/scr.conf; then rm -f %D/etc/vdr/scr.conf; fi -etc/vdr/scr.conf.sample -@exec if [ ! -f %D/etc/vdr/scr.conf ] ; then cp -p %D/%F %B/scr.conf; fi -@unexec if cmp -s %D/etc/vdr/sources.conf.sample %D/etc/vdr/sources.conf; then rm -f %D/etc/vdr/sources.conf; fi -etc/vdr/sources.conf.sample -@exec if [ ! -f %D/etc/vdr/sources.conf ] ; then cp -p %D/%F %B/sources.conf; fi -@unexec if cmp -s %D/etc/vdr/svdrphosts.conf.sample %D/etc/vdr/svdrphosts.conf; then rm -f %D/etc/vdr/svdrphosts.conf; fi -etc/vdr/svdrphosts.conf.sample -@exec if [ ! -f %D/etc/vdr/svdrphosts.conf ] ; then cp -p %D/%F %B/svdrphosts.conf; fi +@sample etc/vdr/remote.conf.sample +@sample etc/vdr/channels.conf.sample +@sample etc/vdr/diseqc.conf.sample +@sample etc/vdr/keymacros.conf.sample +@sample etc/vdr/scr.conf.sample +@sample etc/vdr/sources.conf.sample +@sample etc/vdr/svdrphosts.conf.sample %%NLS%%@dirrmtry share/locale/ca_ES/LC_MESSAGES %%NLS%%@dirrmtry share/locale/ca_ES %%NLS%%@dirrmtry share/locale/cs_CZ/LC_MESSAGES |