aboutsummaryrefslogtreecommitdiffstats
path: root/mail/rubygem-tmail/Makefile
blob: 3fdb0689797dcabfca1423d4f4b66fa021492818 (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
# 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.8
CATEGORIES= mail ruby
MASTER_SITES=   http://www.loveruby.net/archive/%SUBDIR%/
MASTER_SITE_SUBDIR= ${PORTNAME}
PKGNAMEPREFIX=  ${RUBY_PKGNAMEPREFIX}
DIST_SUBDIR=    ruby

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

USE_RUBY=   yes
USE_RUBY_SETUP= yes
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>