1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/mail/ruby-tmail/Makefile
Akinori MUSHA c68548820c Now bsd.ruby.mk is automatically included by bsd.port.mk when USE_RUBY
or USE_LIBRUBY is defined, individual ruby ports no longer need to
include it explicitly.
2000-09-26 08:02:17 +00:00

42 lines
1.1 KiB
Makefile

# 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.8.13
CATEGORIES= mail ruby
MASTER_SITES= ${MASTER_SITE_LOCAL} \
http://www1.u-netsurf.ne.jp/~brew/mine/soft/
MASTER_SITE_SUBDIR= knu
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DIST_SUBDIR= ruby
MAINTAINER= knu@FreeBSD.org
RUN_DEPENDS= ${RUBY_SITELIBDIR}/racc/parser.rb:${PORTSDIR}/devel/ruby-racc-runtime \
${RUBY_SITEARCHLIBDIR}/strscan.so:${PORTSDIR}/devel/ruby-strscan
USE_RUBY= yes
USE_RUBY_AMSTD= yes
USE_RUBY_SETUP= yes
post-patch:
${PERL} -i -ne '/\btmail\b/ and print' \
${WRKSRC}/ext/PATHCONV ${WRKSRC}/lib/PATHCONV
for d in cparse strscanso; do ${RM} -rf ${WRKSRC}/ext/$$d; done
for d in amstd raccrt strscan; do ${RM} -rf ${WRKSRC}/lib/$$d; done
do-install:
.if !defined(NOPORTDOCS)
${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/
.endif
.include <bsd.port.mk>