- Add LICENSE

- Remove bogus HAVE_CONFIGURE
- Don't install license with docs
- Switch to options helpers
This commit is contained in:
Dmitry Marakasov 2016-12-13 09:00:53 +00:00
parent 668fb31ea6
commit 610eefdf7b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=428472

View File

@ -11,22 +11,29 @@ DISTNAME= ${PORTNAME:S/-plugin-/-/}-${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERS
MAINTAINER= ports@FreeBSD.org
COMMENT= Video Disk Recorder - infosat EPG plugin
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
USES= tar:tgz
PATCH_STRIP= -p1
HAVE_CONFIGURE= yes
PORTDOCS= COPYING README HISTORY
WRKSRC= ${WRKDIR}/${PLUGIN}-${DISTVERSION}
PORTDOCS= README HISTORY
OPTIONS_DEFINE= DOCS NLS
.include "${.CURDIR}/../vdr/Makefile.plugins"
post-patch: post-patch-plugin
pre-install:
${MKDIR} ${STAGEDIR}${PREFIX}/lib/vdr
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/vdr
post-install: post-install-pluginlocales
${MKDIR} ${STAGEDIR}${DOCSDIR}
@${MKDIR} ${STAGEDIR}/var/cache/vdr/${PLUGIN}
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
${MKDIR} ${STAGEDIR}/var/cache/vdr/${PLUGIN}
.include <bsd.port.mk>