Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 May 2014 09:26:42 +0000 (UTC)
From:      TAKATSU Tomonari <tota@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r353660 - head/mail/lens
Message-ID:  <201405110926.s4B9QgXY071442@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405110926.s4B9QgXY071442>