aboutsummaryrefslogtreecommitdiffstats
path: root/mail/ruby-tmail/Makefile
blob: 23f4d1e273a1308e97a06ddd7888d6f53b903d1c (plain) (blame)
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
33
34
35
36
37
38
39
40
41
# New ports collection makefile for:    Ruby-TMail
# Date created:     22 Aug 2000
# Whom:         Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#

PORTNAME=   tmail
PORTVERSION=    0.10.7
CATEGORIES= mail ruby
MASTER_SITES=   http://www.loveruby.net/archive/%SUBDIR%/
MASTER_SITE_SUBDIR= ${PORTNAME}
PKGNAMEPREFIX=  ${RUBY_PKGNAMEPREFIX}
DIST_SUBDIR=    ruby

MAINTAINER= knu@FreeBSD.org
COMMENT=    A RFC2822/MIME compliant mail manipulating library for Ruby

USE_RUBY=   yes
USE_RUBY_SETUP= yes
RUBY_SETUP= install.rb
USE_RUBY_FEATURES=  racc-runtime

DOCS_EN=    Incompatibilities   README.en   doc.en/*    \
        *ChangeLog      BUGS        TODO
DOCS_JA=    Incompatibilities.ja    README.ja   doc.ja/*

do-install:
.if !defined(NOPORTDOCS)
    ${MKDIR} ${RUBY_MODEXAMPLESDIR}
    ${CP} -R ${WRKSRC}/sample/ ${RUBY_MODEXAMPLESDIR}/
    ${MKDIR} ${RUBY_MODDOCDIR}/ja
.for f in ${DOCS_EN}
    ${CP} -R ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
.endfor
.for f in ${DOCS_JA}
    ${CP} -R ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ja/
.endfor
.endif

.include <bsd.port.mk>