summaryrefslogtreecommitdiff
path: root/mail/ruby-tmail/Makefile
diff options
context:
space:
mode:
authortaca <taca>2001-07-01 12:54:55 +0000
committertaca <taca>2001-07-01 12:54:55 +0000
commit282e6d5bc5145c1278149c4b497bc2581f40ac65 (patch)
tree9e24dd76ec966ee2492c8c3b248153fadc90e055 /mail/ruby-tmail/Makefile
parente1f3876939baeb3d8a47df836aaf0bda1a8028e8 (diff)
downloadpkgsrc-282e6d5bc5145c1278149c4b497bc2581f40ac65.tar.gz
Importing ruby-tmail package.
TMail is a mail manipulating library for Ruby, with RFC822 and MIME multipart support.
Diffstat (limited to 'mail/ruby-tmail/Makefile')
-rw-r--r--mail/ruby-tmail/Makefile34
1 files changed, 34 insertions, 0 deletions
diff --git a/mail/ruby-tmail/Makefile b/mail/ruby-tmail/Makefile
new file mode 100644
index 00000000000..fdcffcefc85
--- /dev/null
+++ b/mail/ruby-tmail/Makefile
@@ -0,0 +1,34 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/07/01 12:54:55 taca Exp $
+# FreeBSD: ports/mail/ruby-tmail/Makefile,v 1.10 2001/01/27 09:46:32 knu Exp
+
+DISTNAME= tmail-0.9.4
+PKGNAME= ${RUBY_PKGNAMEPREFIX}${DISTNAME}
+CATEGORIES= mail
+MASTER_SITES= http://www.xdsl.ne.jp/Cd/aamine/soft/
+
+MAINTAINER= taca@netbsd.org
+HOMEPAGE= http://www.xdsl.ne.jp/Cd/aamine/
+COMMENT= Mail manipulating library for Ruby including MIME multipart support
+
+DEPENDS+= ${RUBY_PKGNAMEPREFIX}racc-runtime>=1.3.6:../../devel/ruby-racc-runtime
+DEPENDS+= ${RUBY_PKGNAMEPREFIX}strscan>=0.6.1:../../devel/ruby-strscan
+
+DIST_SUBDIR= ruby
+USE_RUBY_AMSTD= yes
+USE_RUBY_SETUP= yes
+
+post-patch:
+ ${RUBY} -i -ne '/\btmail\b/ and print' \
+ ${WRKSRC}/ext/PATHCONV ${WRKSRC}/lib/PATHCONV
+ for d in cparse cscan; do ${RM} -rf ${WRKSRC}/ext/$$d; done
+ for d in amstd raccrt strscan; do ${RM} -rf ${WRKSRC}/lib/$$d; done
+
+post-install:
+ ${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/tmail
+ ${CP} -R ${WRKSRC}/sample/* ${RUBY_EXAMPLESDIR}/tmail
+ ${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/tmail/ja
+ ${CP} -R ${WRKSRC}/README.en ${WRKSRC}/doc.en/* ${RUBY_DOCDIR}/tmail
+ ${CP} -R ${WRKSRC}/README.ja ${WRKSRC}/doc.ja/* ${RUBY_DOCDIR}/tmail/ja
+
+.include "../../lang/ruby-base/Makefile.common"
+.include "../../mk/bsd.pkg.mk"