summaryrefslogtreecommitdiff
path: root/mail/ruby-tmail/Makefile
blob: bd57aaf4280bd5e0c7a9f4345ae71d97720a15df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# $NetBSD: Makefile,v 1.11 2005/11/02 09:48:34 taca Exp $

DISTNAME=	tmail-0.10.8
PKGNAME=	${RUBY_PKGPREFIX}-${DISTNAME}
PKGREVISION=	3
CATEGORIES=	mail ruby
MASTER_SITES=	http://i.loveruby.net/archive/tmail/

MAINTAINER=	taca@NetBSD.org
HOMEPAGE=	http://i.loveruby.net/en/projects/tmail/
COMMENT=	Mail manipulating library for Ruby including MIME multipart support

RUBY_HAS_ARCHLIB=	yes
USE_RUBY_SETUP=		yes

post-install:
	${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/tmail/en
	${INSTALL_DATA} ${WRKSRC}/BUGS ${WRKSRC}/ChangeLog ${WRKSRC}/TODO \
		${RUBY_DOCDIR}/tmail
	${INSTALL_DATA} ${WRKSRC}/Incompatibilities ${WRKSRC}/README.en \
		${RUBY_DOCDIR}/tmail/en
	${INSTALL_DATA} ${WRKSRC}/doc.en/*.html ${RUBY_DOCDIR}/tmail/en
	${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/tmail/ja
	${INSTALL_DATA} ${WRKSRC}/Incompatibilities.ja ${WRKSRC}/README.ja \
		${RUBY_DOCDIR}/tmail/ja
	${INSTALL_DATA} ${WRKSRC}/doc.ja/*.html ${RUBY_DOCDIR}/tmail/ja
	${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/tmail/data
	${INSTALL_DATA} ${WRKSRC}/sample/*.rb ${RUBY_EXAMPLESDIR}/tmail
	${INSTALL_DATA} ${WRKSRC}/sample/data/* ${RUBY_EXAMPLESDIR}/tmail/data

.include "../../lang/ruby/modules.mk"
.include "../../mk/bsd.pkg.mk"