Clean up port's makefile

Also:
- Set LICENSE
- Standardize COMMENT
- Update WWW
- Install manual pages under share/man
This commit is contained in:
Mateusz Piotrowski 2020-10-05 23:20:38 +00:00
parent 5b7e849252
commit 21156d06d8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=551549
2 changed files with 26 additions and 19 deletions

View File

@ -1,29 +1,36 @@
# Created by: Oliver Eikemeier # Created by: Oliver Eikemeier
# $FreeBSD$ # $FreeBSD$
PORTNAME= tenshi PORTNAME= tenshi
PORTVERSION= 0.15 PORTVERSION= 0.15
CATEGORIES= sysutils PORTREVISION= 1
MASTER_SITES= http://dev.inversepath.com/tenshi/ CATEGORIES= sysutils
MASTER_SITES= http://dev.inversepath.com/tenshi/
MAINTAINER= ports@FreeBSD.org MAINTAINER= ports@FreeBSD.org
COMMENT= Tenshi is a log monitoring program, designed to watch multiple logs COMMENT= Log monitoring program, designed to watch multiple logs
RUN_DEPENDS= ${LOCALBASE}/bin/gtail:sysutils/coreutils \ LICENSE= MIT
p5-IO-BufferedSelect>=0:devel/p5-IO-BufferedSelect LICENSE_FILE= ${WRKSRC}/LICENSE
USES= perl5 RUN_DEPENDS= ${LOCALBASE}/bin/gtail:sysutils/coreutils \
USE_PERL5= run build patch p5-IO-BufferedSelect>=0:devel/p5-IO-BufferedSelect
NO_BUILD= yes
NO_ARCH= yes
USE_RC_SUBR= tenshi
SUB_LIST= PERL=${PERL}
OPTIONS_DEFINE= DOCS USES= perl5
USE_PERL5= build patch run
USE_RC_SUBR= tenshi
PLIST_FILES= bin/tenshi etc/tenshi.conf.sample man/man8/tenshi.8.gz NO_ARCH= yes
NO_BUILD= yes
SUB_LIST= PERL=${PERL}
PORTDOCS= README Changelog PLIST_FILES= bin/tenshi \
etc/tenshi.conf.sample \
share/man/man8/tenshi.8.gz
PORTDOCS= Changelog README
OPTIONS_DEFINE= DOCS
post-patch: post-patch:
@${PERL5} -pi.bak -e ' \ @${PERL5} -pi.bak -e ' \
@ -35,7 +42,7 @@ post-patch:
do-install: do-install:
${INSTALL_SCRIPT} ${WRKSRC}/tenshi ${STAGEDIR}${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/tenshi ${STAGEDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/tenshi.conf ${STAGEDIR}${PREFIX}/etc/tenshi.conf.sample ${INSTALL_DATA} ${WRKSRC}/tenshi.conf ${STAGEDIR}${PREFIX}/etc/tenshi.conf.sample
${INSTALL_MAN} ${WRKSRC}/tenshi.8 ${STAGEDIR}${MAN8PREFIX}/man/man8 ${INSTALL_MAN} ${WRKSRC}/tenshi.8 ${STAGEDIR}${MAN8PREFIX}/share/man/man8
do-install-DOCS-on: do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR} @${MKDIR} ${STAGEDIR}${DOCSDIR}

View File

@ -12,4 +12,4 @@ operators ( ). This allows cleaner and more readable reports. All
reports are separated by hostname and all messages are condensed reports are separated by hostname and all messages are condensed
when possible. when possible.
WWW: http://dev.inversepath.com/trac/tenshi WWW: https://inversepath.com/tenshi.html