svn commit: r353660 - head/mail/lens
TAKATSU Tomonari
tota at FreeBSD.org
Sun May 11 09:26:42 UTC 2014
Author: tota
Date: Sun May 11 09:26:41 2014
New Revision: 353660
URL: http://svnweb.freebsd.org/changeset/ports/353660
QAT: https://qat.redports.org/buildarchive/r353660/
Log:
- 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
Modified:
head/mail/lens/Makefile
head/mail/lens/pkg-descr
Modified: head/mail/lens/Makefile
==============================================================================
--- head/mail/lens/Makefile Sun May 11 08:57:54 2014 (r353659)
+++ head/mail/lens/Makefile Sun May 11 09:26:41 2014 (r353660)
@@ -9,7 +9,7 @@ MASTER_SITES= http://www.pitecan.com/Len
${MASTER_SITE_LOCAL:S|%SUBDIR%|tota/lens|}
MAINTAINER= tota at 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>
Modified: head/mail/lens/pkg-descr
==============================================================================
--- head/mail/lens/pkg-descr Sun May 11 08:57:54 2014 (r353659)
+++ head/mail/lens/pkg-descr Sun May 11 09:26:41 2014 (r353660)
@@ -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/
More information about the svn-ports-head
mailing list