- Add LICENSE

- Remove bogus HAVE_CONFIGURE
- Don't install license with docs
- Switch to options helpers
This commit is contained in:
Dmitry Marakasov 2017-01-11 09:01:36 +00:00
parent bc7c479c43
commit 7157752c5a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=431164

View file

@ -10,21 +10,28 @@ MASTER_SITES= http://projects.vdr-developer.org/attachments/download/652/
MAINTAINER= ports@FreeBSD.org
COMMENT= Video Disk Recorder - sleep timer plugin
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
USES= tar:tgz
PATCH_STRIP= -p1
HAVE_CONFIGURE= yes
PORTDOCS= COPYING README HISTORY
WRKSRC= ${WRKDIR}/${PLUGIN}-${PORTVERSION}
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}
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>