summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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