aboutsummaryrefslogtreecommitdiffstats
path: root/mail/ruby-rmail/Makefile
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2002-01-16 19:51:32 +0800
committerknu <knu@FreeBSD.org>2002-01-16 19:51:32 +0800
commit4f9d5ef0444843832a1f7b5ac758cd6e3721bc94 (patch)
tree033a479d0568fc0f8b615d1d6b37aa8380084b29 /mail/ruby-rmail/Makefile
parent2f01a1996ad56ad5b65d1601d0fa48a26d705345 (diff)
downloadfreebsd-ports-gnome-4f9d5ef0444843832a1f7b5ac758cd6e3721bc94.tar.gz
freebsd-ports-gnome-4f9d5ef0444843832a1f7b5ac758cd6e3721bc94.tar.zst
freebsd-ports-gnome-4f9d5ef0444843832a1f7b5ac758cd6e3721bc94.zip
Add ruby-mail, a light-weight mail manipulating library for Ruby.
Diffstat (limited to 'mail/ruby-rmail/Makefile')
-rw-r--r--mail/ruby-rmail/Makefile35
1 files changed, 35 insertions, 0 deletions
diff --git a/mail/ruby-rmail/Makefile b/mail/ruby-rmail/Makefile
new file mode 100644
index 000000000000..4035e44782b8
--- /dev/null
+++ b/mail/ruby-rmail/Makefile
@@ -0,0 +1,35 @@
+# New ports collection makefile for: RubyMail
+# Date created: 16 January 2002
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= mail
+PORTVERSION= 0.3
+CATEGORIES= mail ruby
+MASTER_SITES= http://www.lickey.com/%SUBDIR%/
+MASTER_SITE_SUBDIR= ruby${PORTNAME}
+PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
+DISTNAME= ruby${PORTNAME}-${PORTVERSION}
+DIST_SUBDIR= ruby
+
+MAINTAINER= knu@FreeBSD.org
+
+USE_RUBY= yes
+
+NO_BUILD= yes
+
+RUBY_SHEBANG_FILES= ${WRKSRC}/bin/*.rb
+
+do-install:
+ ${MKDIR} ${RUBY_SITELIBDIR}/mail
+ ${INSTALL_DATA} ${WRKSRC}/mail/* ${RUBY_SITELIBDIR}/mail/
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME}
+ ${INSTALL_SCRIPT} ${WRKSRC}/bin/*.rb ${RUBY_EXAMPLESDIR}/${PORTNAME}/
+ ${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}
+ ${CP} -R ${WRKSRC}/doc/* ${RUBY_DOCDIR}/${PORTNAME}/
+.endif
+
+.include <bsd.port.mk>