- Clarify LICENSE

- Add LICENSE_FILE
- Add NO_ARCH
- Switch to options helpers
This commit is contained in:
Dmitry Marakasov 2016-07-21 09:00:32 +00:00
parent a2da9c2833
commit c8a8129cd0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=418867

View file

@ -10,22 +10,28 @@ DISTNAME= ${PORTNAME}_${PORTVERSION}.orig
MAINTAINER= ports@FreeBSD.org
COMMENT= Powerful web page update checker
LICENSE= GPLv3
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/LICENSE
NO_BUILD= yes
USE_RUBY= yes
USES= shebangfix
SHEBANG_FILES= ${WRKSRC}/${PORTNAME}
USE_RUBY= yes
NO_BUILD= yes
NO_ARCH= yes
WRKSRC= ${WRKDIR}/${PORTNAME}_${PORTVERSION}
PORTDOCS= ChangeLog LICENSE THANKSTO
PORTDOCS= ChangeLog THANKSTO
PLIST_FILES= bin/${PORTNAME} \
man/man1/${PORTNAME}.1.gz
OPTIONS_DEFINE= DOCS
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}