diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2017-01-26 17:01:21 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2017-01-26 17:01:21 +0800 |
commit | 574f0af892af20593c6239526236e1982165e94c (patch) | |
tree | 6c9262754c66b179dc61925829e5841945311a79 /multimedia | |
parent | cd143bca4176e8c639cbdeee5555ea3f1eea400b (diff) | |
download | freebsd-ports-gnome-574f0af892af20593c6239526236e1982165e94c.tar.gz freebsd-ports-gnome-574f0af892af20593c6239526236e1982165e94c.tar.zst freebsd-ports-gnome-574f0af892af20593c6239526236e1982165e94c.zip |
- Add LICENSE
- Remove bogus HAVE_CONFIGURE
- Don't install license with docs
- Switch to options helpers
- Pet portlint
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/vdr-plugin-iptv/Makefile | 39 |
1 files changed, 24 insertions, 15 deletions
diff --git a/multimedia/vdr-plugin-iptv/Makefile b/multimedia/vdr-plugin-iptv/Makefile index 22cfd9ffb4f0..57127d99d43e 100644 --- a/multimedia/vdr-plugin-iptv/Makefile +++ b/multimedia/vdr-plugin-iptv/Makefile @@ -11,14 +11,19 @@ DISTNAME= ${PORTNAME:S/-plugin-/-/}-${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERS MAINTAINER= ports@FreeBSD.org COMMENT= Video Disk Recorder - IP television plugin +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING + USES= tar:tgz PATCH_STRIP= -p1 -HAVE_CONFIGURE= yes -PORTDOCS= COPYING README HISTORY -PORTEXAMPLES= channels.conf.iptv -MAKE_ARGS+= IPTV_EXTSHELL=/bin/sh +MAKE_ARGS= IPTV_EXTSHELL=/bin/sh WRKSRC= ${WRKDIR}/${PLUGIN}-${DISTVERSION} +PORTDOCS= README HISTORY +PORTEXAMPLES= channels.conf.iptv + +OPTIONS_DEFINE= DOCS EXAMPLES NLS + .include "${.CURDIR}/../vdr/Makefile.plugins" post-patch: post-patch-plugin @@ -27,28 +32,32 @@ post-patch: post-patch-plugin ${WRKSRC}/iptv/vlc2iptv pre-install: - ${MKDIR} ${STAGEDIR}${PREFIX}/lib/vdr + @${MKDIR} ${STAGEDIR}${PREFIX}/lib/vdr post-install: post-install-pluginlocales @${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 \ + ${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 \ + ${INSTALL_SCRIPT} ${WRKSRC}/${PLUGIN}/internetradio.sh \ ${STAGEDIR}${PREFIX}/etc/vdr/plugins/${PLUGIN}/internetradio.sh.sample - @${INSTALL_SCRIPT} ${WRKSRC}/${PLUGIN}/iptvstream-notrap.sh \ + ${INSTALL_SCRIPT} ${WRKSRC}/${PLUGIN}/iptvstream-notrap.sh \ ${STAGEDIR}${PREFIX}/etc/vdr/plugins/${PLUGIN}/iptvstream-notrap.sh.sample - @${INSTALL_SCRIPT} ${WRKSRC}/${PLUGIN}/iptvstream.sh \ + ${INSTALL_SCRIPT} ${WRKSRC}/${PLUGIN}/iptvstream.sh \ ${STAGEDIR}${PREFIX}/etc/vdr/plugins/${PLUGIN}/iptvstream.sh.sample - @${INSTALL_SCRIPT} ${WRKSRC}/${PLUGIN}/linein.sh \ + ${INSTALL_SCRIPT} ${WRKSRC}/${PLUGIN}/linein.sh \ ${STAGEDIR}${PREFIX}/etc/vdr/plugins/${PLUGIN}/linein.sh.sample - @${INSTALL_SCRIPT} ${WRKSRC}/${PLUGIN}/vlc2iptv \ + ${INSTALL_SCRIPT} ${WRKSRC}/${PLUGIN}/vlc2iptv \ ${STAGEDIR}${PREFIX}/etc/vdr/plugins/${PLUGIN}/vlc2iptv.sample - @${INSTALL_SCRIPT} ${WRKSRC}/${PLUGIN}/webcam.sh \ + ${INSTALL_SCRIPT} ${WRKSRC}/${PLUGIN}/webcam.sh \ ${STAGEDIR}${PREFIX}/etc/vdr/plugins/${PLUGIN}/webcam.sh.sample - ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + +post-install-EXAMPLES-on: + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${FILESDIR}/channels.conf.iptv ${STAGEDIR}${EXAMPLESDIR} - ${MKDIR} ${STAGEDIR}${DOCSDIR} + +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}) .include <bsd.port.mk> |