summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2019-04-06 14:45:48 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2019-04-06 14:45:48 +0000
commit54a573cab0db93bca74250bcb4cd33915cc4682d (patch)
tree168e10181aa9b5b1ffea4ba3e26f1283cbb7d882
parentRemove outdated BROKEN_RUBY23 (diff)
Remove outdated BROKEN_RUBY23
- While I'm here: - Add NO_ARCH - Convert to options target helper With hat: ruby
Notes
Notes: svn path=/head/; revision=498136
-rw-r--r--mail/lens/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/mail/lens/Makefile b/mail/lens/Makefile
index 15afab2cd846..6f80a5870d54 100644
--- a/mail/lens/Makefile
+++ b/mail/lens/Makefile
@@ -11,10 +11,11 @@ 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