Date: Wed, 25 Jan 2017 09:01:18 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r432412 - head/multimedia/vdr-plugin-vnsiserver Message-ID: <201701250901.v0P91INd014813@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Wed Jan 25 09:01:18 2017 New Revision: 432412 URL: https://svnweb.freebsd.org/changeset/ports/432412 Log: - Add LICENSE - Remove bogus HAVE_CONFIGURE - Don't install license with docs - Switch to options helpers Modified: head/multimedia/vdr-plugin-vnsiserver/Makefile Modified: head/multimedia/vdr-plugin-vnsiserver/Makefile ============================================================================== --- head/multimedia/vdr-plugin-vnsiserver/Makefile Wed Jan 25 04:08:16 2017 (r432411) +++ head/multimedia/vdr-plugin-vnsiserver/Makefile Wed Jan 25 09:01:18 2017 (r432412) @@ -8,34 +8,41 @@ CATEGORIES= multimedia MAINTAINER= ports@FreeBSD.org COMMENT= Video Disk Recorder - VNSI server plugin +LICENSE= GPLv2+ +LICENSE_FILE= ${WRKSRC}/COPYING + USE_GITHUB= yes GH_ACCOUNT= FernetMenta GH_TAGNAME= 36e2b61 USES= pkgconfig PATCH_STRIP= -p1 -HAVE_CONFIGURE= yes -PORTDOCS= COPYING README HISTORY -MAKE_ARGS+= LIBDIR=${WRKDIR}/lib \ +MAKE_ARGS= LIBDIR=${WRKDIR}/lib \ LOCDIR=${PREFIX}/share/locale \ VDRSRC=${LOCALBASE}/include/vdr \ INCLUDES=-I${LOCALBASE}/include +PORTDOCS= README HISTORY + +OPTIONS_DEFINE= DOCS + .include "${.CURDIR}/../vdr/Makefile.plugins" post-patch: post-patch-plugin pre-install: - ${MKDIR} ${STAGEDIR}${PREFIX}/lib/vdr - ${MKDIR} ${STAGEDIR}${PREFIX}/share/locale/de_DE/LC_MESSAGES \ + @${MKDIR} ${STAGEDIR}${PREFIX}/lib/vdr + @${MKDIR} ${STAGEDIR}${PREFIX}/share/locale/de_DE/LC_MESSAGES \ ${STAGEDIR}${PREFIX}/share/locale/lt_LT/LC_MESSAGES post-install: - ${MKDIR} ${STAGEDIR}${PREFIX}/etc/vdr/plugins/${PLUGIN} + @${MKDIR} ${STAGEDIR}${PREFIX}/etc/vdr/plugins/${PLUGIN} ${INSTALL_DATA} ${WRKSRC}/${PLUGIN}/allowed_hosts.conf \ ${STAGEDIR}${PREFIX}/etc/vdr/plugins/${PLUGIN}/allowed_hosts.conf.sample - ${MKDIR} ${STAGEDIR}${DOCSDIR} + +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}) .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201701250901.v0P91INd014813>