2000-08-22 08:36:30 +00:00
|
|
|
# New ports collection makefile for: Ruby-TMail
|
|
|
|
# Date created: 22 Aug 2000
|
|
|
|
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= tmail
|
2001-03-02 10:53:44 +00:00
|
|
|
PORTVERSION= 0.9.1
|
2000-08-22 08:36:30 +00:00
|
|
|
CATEGORIES= mail ruby
|
2000-09-15 14:19:38 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL} \
|
|
|
|
http://www1.u-netsurf.ne.jp/~brew/mine/soft/
|
|
|
|
MASTER_SITE_SUBDIR= knu
|
2000-09-07 07:44:38 +00:00
|
|
|
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
2000-08-22 08:36:30 +00:00
|
|
|
DIST_SUBDIR= ruby
|
|
|
|
|
|
|
|
MAINTAINER= knu@FreeBSD.org
|
|
|
|
|
2000-09-07 07:44:38 +00:00
|
|
|
RUN_DEPENDS= ${RUBY_SITELIBDIR}/racc/parser.rb:${PORTSDIR}/devel/ruby-racc-runtime \
|
2001-01-27 09:46:32 +00:00
|
|
|
${RUBY_SITELIBDIR}/strscan.rb:${PORTSDIR}/devel/ruby-strscan
|
2000-08-22 08:36:30 +00:00
|
|
|
|
2000-09-07 07:44:38 +00:00
|
|
|
USE_RUBY= yes
|
|
|
|
USE_RUBY_AMSTD= yes
|
|
|
|
USE_RUBY_SETUP= yes
|
2000-08-22 08:36:30 +00:00
|
|
|
|
|
|
|
post-patch:
|
2000-11-18 21:00:22 +00:00
|
|
|
${RUBY} -i -ne '/\btmail\b/ and print' \
|
2000-08-22 08:36:30 +00:00
|
|
|
${WRKSRC}/ext/PATHCONV ${WRKSRC}/lib/PATHCONV
|
2001-01-27 09:46:32 +00:00
|
|
|
for d in cparse cscan; do ${RM} -rf ${WRKSRC}/ext/$$d; done
|
2000-08-22 08:36:30 +00:00
|
|
|
for d in amstd raccrt strscan; do ${RM} -rf ${WRKSRC}/lib/$$d; done
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
2000-09-07 07:44:38 +00:00
|
|
|
${MKDIR} ${RUBY_EXAMPLESDIR}/tmail
|
|
|
|
${CP} -R ${WRKSRC}/sample/ ${RUBY_EXAMPLESDIR}/tmail/
|
|
|
|
${MKDIR} ${RUBY_DOCDIR}/tmail/ja
|
|
|
|
${CP} -R ${WRKSRC}/README.en ${WRKSRC}/doc.en/ ${RUBY_DOCDIR}/tmail/
|
|
|
|
${CP} -R ${WRKSRC}/README.ja ${WRKSRC}/doc.ja/ ${RUBY_DOCDIR}/tmail/ja/
|
2000-08-22 08:36:30 +00:00
|
|
|
.endif
|
|
|
|
|
2000-09-26 08:02:17 +00:00
|
|
|
.include <bsd.port.mk>
|