aboutsummaryrefslogtreecommitdiffstats
path: root/mail/ruby-rmail/Makefile
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2002-02-20 14:15:01 +0800
committerknu <knu@FreeBSD.org>2002-02-20 14:15:01 +0800
commit7178b053b29f6f5ba9fb734b7f41f003a4e24097 (patch)
tree3a8b2a46b2a0576b01054f298b902989196fb785 /mail/ruby-rmail/Makefile
parent28bce90052dc726f90d7a95a01492f50b00feaf7 (diff)
downloadfreebsd-ports-gnome-7178b053b29f6f5ba9fb734b7f41f003a4e24097.tar.gz
freebsd-ports-gnome-7178b053b29f6f5ba9fb734b7f41f003a4e24097.tar.zst
freebsd-ports-gnome-7178b053b29f6f5ba9fb734b7f41f003a4e24097.zip
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