- Add LICENSE

- Switch to USES=tar
- Add NO_ARCH
- Switch to options helpers
This commit is contained in:
Dmitry Marakasov 2015-12-31 01:20:48 +00:00
parent b9b80c698e
commit f04f95246b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=404896

View File

@ -5,13 +5,16 @@ PORTNAME= mtail
PORTVERSION= 1.1.1
CATEGORIES= misc
MASTER_SITES= http://matt.immute.net/src/mtail/
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= Small tail workalike that performs output coloring
USES= python:run
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= python:run tar:tgz
NO_BUILD= yes
NO_ARCH= yes
PLIST_FILES= bin/${PORTNAME}
PORTDOCS= CHANGES LICENSE README
PORTEXAMPLES= mtailrc
@ -23,8 +26,12 @@ post-patch:
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC}/&&${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
do-install-EXAMPLES-on:
@${MKDIR} $ ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/mtailrc.sample \
${STAGEDIR}${EXAMPLESDIR}/mtailrc