diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2017-02-10 17:01:27 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2017-02-10 17:01:27 +0800 |
commit | ccc2ed3a166e04caecae931a565fbcac23c2e6e2 (patch) | |
tree | 3343863294992a1359030db2d9e8031cf0a59bb3 /multimedia | |
parent | 667b51f10334d3a065f3b524a97e19b09e7a0615 (diff) | |
download | freebsd-ports-gnome-ccc2ed3a166e04caecae931a565fbcac23c2e6e2.tar.gz freebsd-ports-gnome-ccc2ed3a166e04caecae931a565fbcac23c2e6e2.tar.zst freebsd-ports-gnome-ccc2ed3a166e04caecae931a565fbcac23c2e6e2.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-streamdev/Makefile | 22 |
1 files changed, 15 insertions, 7 deletions
diff --git a/multimedia/vdr-plugin-streamdev/Makefile b/multimedia/vdr-plugin-streamdev/Makefile index 0400ef28a5d4..ffcaab21e16b 100644 --- a/multimedia/vdr-plugin-streamdev/Makefile +++ b/multimedia/vdr-plugin-streamdev/Makefile @@ -12,17 +12,23 @@ DISTFILES= ${DISTNAME:S/plugin-//}${EXTRACT_SUFX}:release MAINTAINER= ports@FreeBSD.org COMMENT= Video Disk Recorder - stream device plugin -RUN_DEPENDS+= bash:shells/bash +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING + +RUN_DEPENDS= bash:shells/bash USES= shebangfix tar:tgz SHEBANG_FILES= streamdev-server/externremux.sh -PORTDOCS= COPYING README HISTORY -HAVE_CONFIGURE= yes MAKE_JOBS_UNSAFE= yes WRKSRC= ${WRKDIR}/${PLUGIN}-${PORTVERSION} -VDR_PLUGIN_MAKEFILES= ${WRKSRC}/client/Makefile \ +VDR_PLUGIN_MAKEFILES=\ + ${WRKSRC}/client/Makefile \ ${WRKSRC}/server/Makefile +PORTDOCS= README HISTORY + +OPTIONS_DEFINE= DOCS NLS + .include "${.CURDIR}/../vdr/Makefile.plugins" pre-patch: @@ -40,11 +46,13 @@ pre-install: post-install: post-install-pluginlocales @${MKDIR} ${STAGEDIR}${PREFIX}/etc/vdr/plugins/${PLUGIN}-server - @${INSTALL_SCRIPT} ${WRKSRC}/${PLUGIN}-server/externremux.sh \ + ${INSTALL_SCRIPT} ${WRKSRC}/${PLUGIN}-server/externremux.sh \ ${STAGEDIR}${PREFIX}/etc/vdr/plugins/${PLUGIN}-server/externremux.sh.sample - @${INSTALL_DATA} ${WRKSRC}/${PLUGIN}-server/streamdevhosts.conf \ + ${INSTALL_DATA} ${WRKSRC}/${PLUGIN}-server/streamdevhosts.conf \ ${STAGEDIR}${PREFIX}/etc/vdr/plugins/${PLUGIN}-server/streamdevhosts.conf.sample - ${MKDIR} ${STAGEDIR}${DOCSDIR} + +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}) .include <bsd.port.mk> |