2000-08-22 10:36:30 +02:00
|
|
|
# New ports collection makefile for: Ruby-TMail
|
|
|
|
# Date created: 22 Aug 2000
|
|
|
|
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= tmail
|
2002-07-11 19:38:12 +02:00
|
|
|
PORTVERSION= 0.10.5
|
2000-08-22 10:36:30 +02:00
|
|
|
CATEGORIES= mail ruby
|
2002-02-25 00:03:29 +01:00
|
|
|
MASTER_SITES= http://www.loveruby.net/archive/%SUBDIR%/ \
|
2002-02-27 19:37:24 +01:00
|
|
|
http://www.ruby-lang.org/~knu/backup/
|
2002-01-03 21:30:38 +01:00
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
2000-09-07 09:44:38 +02:00
|
|
|
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
2001-09-08 16:38:01 +02:00
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}-all
|
2000-08-22 10:36:30 +02:00
|
|
|
DIST_SUBDIR= ruby
|
|
|
|
|
|
|
|
MAINTAINER= knu@FreeBSD.org
|
|
|
|
|
2000-09-07 09:44:38 +02:00
|
|
|
USE_RUBY= yes
|
|
|
|
USE_RUBY_SETUP= yes
|
2000-08-22 10:36:30 +02:00
|
|
|
|
2001-09-08 16:38:01 +02:00
|
|
|
CONFIGURE_ARGS= --with=tmail
|
|
|
|
|
|
|
|
WRKDIR_TMAIL= ${WRKSRC}/packages/tmail
|
2000-08-22 10:36:30 +02:00
|
|
|
|
2002-06-09 06:33:36 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${RUBY_VER} < 1.7
|
|
|
|
RUN_DEPENDS+= ${RUBY_SITELIBDIR}/racc/parser.rb:${PORTSDIR}/lang/ruby16-shim-ruby18
|
|
|
|
.endif
|
|
|
|
|
2000-08-22 10:36:30 +02:00
|
|
|
do-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
2001-07-31 18:32:27 +02:00
|
|
|
${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME}
|
2001-09-08 16:38:01 +02:00
|
|
|
${CP} -R ${WRKDIR_TMAIL}/sample/ ${RUBY_EXAMPLESDIR}/${PORTNAME}/
|
2001-07-31 18:32:27 +02:00
|
|
|
${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}/ja
|
2002-05-25 03:10:54 +02:00
|
|
|
${CP} -R ${WRKDIR_TMAIL}/Incompatibilities ${WRKDIR_TMAIL}/README.en ${WRKDIR_TMAIL}/doc.en/* ${RUBY_DOCDIR}/${PORTNAME}/
|
|
|
|
${CP} -R ${WRKDIR_TMAIL}/Incompatibilities.ja ${WRKDIR_TMAIL}/README.ja ${WRKDIR_TMAIL}/doc.ja/* ${RUBY_DOCDIR}/${PORTNAME}/ja/
|
2000-08-22 10:36:30 +02:00
|
|
|
.endif
|
|
|
|
|
2002-06-09 06:33:36 +02:00
|
|
|
.include <bsd.port.post.mk>
|