1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- Remove indefinite article from COMMENT

- Add OPTIONS_DEFINE
- Support STAGEDIR
  * Make PORTDOCS and PORTEXAMPLES unconditional to stage
- Remove Author: from pkg-descr
- Replace tab with a single space after WWW: in pkg-descr
This commit is contained in:
TAKATSU Tomonari 2014-05-11 09:26:41 +00:00
parent 4ab4233d0b
commit f6e6109b57
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=353660
2 changed files with 12 additions and 16 deletions

View File

@ -9,7 +9,7 @@ MASTER_SITES= http://www.pitecan.com/Lens/ \
${MASTER_SITE_LOCAL:S|%SUBDIR%|tota/lens|}
MAINTAINER= tota@FreeBSD.org
COMMENT= A mail filter written in Ruby
COMMENT= Mail filter written in Ruby
NO_BUILD= yes
USE_RUBY= yes
@ -17,21 +17,18 @@ USE_RUBY= yes
LIB_FILES= lens.rb maildir.rb message.rb parsedate.rb classify.rb
RUBY_SHEBANG_FILES= lens
NO_STAGE= yes
OPTIONS_DEFINE= DOCS EXAMPLES
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/lens ${PREFIX}/bin
${MKDIR} ${RUBY_SITELIBDIR}/lens
${INSTALL_SCRIPT} ${WRKSRC}/lens ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${RUBY_SITELIBDIR}/lens
.for f in ${LIB_FILES}
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_SITELIBDIR}/lens
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${RUBY_SITELIBDIR}/lens
.endfor
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/index.html ${DOCSDIR}
.endif
.if !defined(NOPORTEXAMPLES)
${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/lensrc.sample ${EXAMPLESDIR}/dot.lensrc
${INSTALL_DATA} ${WRKSRC}/commandmailrc.sample ${EXAMPLESDIR}/dot.commandmailrc
.endif
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/index.html ${STAGEDIR}${DOCSDIR}
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/lensrc.sample ${STAGEDIR}${EXAMPLESDIR}/dot.lensrc
${INSTALL_DATA} ${WRKSRC}/commandmailrc.sample ${STAGEDIR}${EXAMPLESDIR}/dot.commandmailrc
.include <bsd.port.mk>

View File

@ -1,5 +1,4 @@
Lens is a mail filter written in Ruby. Lens can filter an
incoming mail when it is received and filter mails in a Maildir.
Author: Toshiyuki Masui
WWW: http://www.pitecan.com/Lens/
WWW: http://www.pitecan.com/Lens/