aboutsummaryrefslogtreecommitdiffstats
path: root/mail/rubygem-tmail/Makefile
blob: 7c0ac7545df627ae66455e5113ec739a7fee75b0 (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
# 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.5
CATEGORIES= mail ruby
MASTER_SITES=   http://www.loveruby.net/archive/%SUBDIR%/ \
        http://www.ruby-lang.org/~knu/backup/
MASTER_SITE_SUBDIR= ${PORTNAME}
PKGNAMEPREFIX=  ${RUBY_PKGNAMEPREFIX}
DISTNAME=   ${PORTNAME}-${PORTVERSION}-all
DIST_SUBDIR=    ruby

MAINTAINER= knu@FreeBSD.org

USE_RUBY=   yes
USE_RUBY_SETUP= yes
USE_RUBY_FEATURES=  racc-runtime

CONFIGURE_ARGS= --with=tmail

WRKDIR_TMAIL=   ${WRKSRC}/packages/tmail

do-install:
.if !defined(NOPORTDOCS)
    ${MKDIR} ${RUBY_MODEXAMPLESDIR}
    ${CP} -R ${WRKDIR_TMAIL}/sample/ ${RUBY_MODEXAMPLESDIR}/
    ${MKDIR} ${RUBY_MODDOCDIR}/ja
    ${CP} -R ${WRKDIR_TMAIL}/Incompatibilities ${WRKDIR_TMAIL}/README.en ${WRKDIR_TMAIL}/doc.en/* ${RUBY_MODDOCDIR}/
    ${CP} -R ${WRKDIR_TMAIL}/Incompatibilities.ja ${WRKDIR_TMAIL}/README.ja ${WRKDIR_TMAIL}/doc.ja/* ${RUBY_MODDOCDIR}/ja/
.endif

.include <bsd.port.mk>