diff options
author | taca <taca@pkgsrc.org> | 2001-07-01 12:54:55 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2001-07-01 12:54:55 +0000 |
commit | 5ea8384846845ae8d6e6db370973e5e2924ee6b7 (patch) | |
tree | 9e24dd76ec966ee2492c8c3b248153fadc90e055 /mail/ruby-tmail/Makefile | |
parent | a4713930cc097c61be67c01fa6f37c321002cf95 (diff) | |
download | pkgsrc-5ea8384846845ae8d6e6db370973e5e2924ee6b7.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/Makefile | 34 |
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" |