summaryrefslogtreecommitdiff
path: root/mail/ruby-rmail/Makefile
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2002-02-20 06:15:01 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2002-02-20 06:15:01 +0000
commita9c4eec89eedae0ab65d0319a4c5e8ac0a7bbd9b (patch)
treec637a34c9e85d1f641f7a57f3bc35a68bdca3508 /mail/ruby-rmail/Makefile
parentupgrade to 1.7.0 (diff)
Update to 0.6. Automatically generated documents are omitted. Use
RDoc (textprox/ruby-rdoc) to generate them if necessary.
Diffstat (limited to 'mail/ruby-rmail/Makefile')
-rw-r--r--mail/ruby-rmail/Makefile16
1 files changed, 10 insertions, 6 deletions
diff --git a/mail/ruby-rmail/Makefile b/mail/ruby-rmail/Makefile
index 6f06f4dc043f..a96b8fa0d3e7 100644
--- a/mail/ruby-rmail/Makefile
+++ b/mail/ruby-rmail/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= mail
-PORTVERSION= 0.5
+PORTVERSION= 0.6
CATEGORIES= mail ruby
MASTER_SITES= http://www.lickey.com/rubymail/download/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
@@ -21,17 +21,21 @@ NO_BUILD= yes
RUBY_SHEBANG_FILES= ${WRKSRC}/bin/*.rb
-post-extract:
- ${FIND} ${WRKSRC} -type f -name 'heaer*' -delete
+DOCS= NEWS README THANKS doc/*
+EXAMPLES= bin/*.rb dot.rdeliver
do-install:
${MKDIR} ${RUBY_SITELIBDIR}/mail
- ${INSTALL_DATA} ${WRKSRC}/mail/* ${RUBY_SITELIBDIR}/mail/
+ ${CP} -R ${WRKSRC}/mail/* ${RUBY_SITELIBDIR}/mail/
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME}
- ${INSTALL_SCRIPT} ${WRKSRC}/bin/*.rb ${RUBY_EXAMPLESDIR}/${PORTNAME}/
+.for f in ${EXAMPLES}
+ ${INSTALL_SCRIPT} ${WRKSRC}/${f} ${RUBY_EXAMPLESDIR}/${PORTNAME}/
+.endfor
${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}
- ${INSTALL_DATA} ${WRKSRC}/NEWS ${WRKSRC}/README ${RUBY_DOCDIR}/${PORTNAME}/
+.for f in ${DOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/
+.endfor
${CP} -R ${WRKSRC}/doc/* ${RUBY_DOCDIR}/${PORTNAME}/
.endif