Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Apr 2019 14:45:48 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r498136 - head/mail/lens
Message-ID:  <201904061445.x36EjmuN011409@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sat Apr  6 14:45:48 2019
New Revision: 498136
URL: https://svnweb.freebsd.org/changeset/ports/498136

Log:
  Remove outdated BROKEN_RUBY23
  
  - While I'm here:
    - Add NO_ARCH
    - Convert to options target helper
  
  With hat:	ruby

Modified:
  head/mail/lens/Makefile

Modified: head/mail/lens/Makefile
==============================================================================
--- head/mail/lens/Makefile	Sat Apr  6 14:45:42 2019	(r498135)
+++ head/mail/lens/Makefile	Sat Apr  6 14:45:48 2019	(r498136)
@@ -11,11 +11,12 @@ MASTER_SITES=	http://www.pitecan.com/Lens/ \
 MAINTAINER=	tota@FreeBSD.org
 COMMENT=	Mail filter written in Ruby
 
-NO_BUILD=	yes
-BROKEN_RUBY23=	yes
-USE_RUBY=	yes
 USES=		shebangfix
+USE_RUBY=	yes
 
+NO_ARCH=	yes
+NO_BUILD=	yes
+
 LIB_FILES=	lens.rb maildir.rb message.rb parsedate.rb classify.rb
 SHEBANG_FILES=	lens
 
@@ -27,8 +28,12 @@ do-install:
 .for f in ${LIB_FILES}
 	${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${RUBY_SITELIBDIR}/lens
 .endfor
+
+do-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/index.html ${STAGEDIR}${DOCSDIR}
+
+do-install-EXAMPLES-on:
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 	${INSTALL_DATA} ${WRKSRC}/lensrc.sample ${STAGEDIR}${EXAMPLESDIR}/dot.lensrc
 	${INSTALL_DATA} ${WRKSRC}/commandmailrc.sample ${STAGEDIR}${EXAMPLESDIR}/dot.commandmailrc



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