freebsd-ports/mail/ruby-tmail/Makefile
Akinori MUSHA 68469903d6 Apply a patch to avoid coredump on platforms where sizeof(int) !=
sizeof(long).

Obtained from;	[ruby-list:36492]
2002-11-15 19:56:05 +00:00

38 lines
994 B
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.10.6
PORTREVISION= 1
CATEGORIES= mail ruby
MASTER_SITES= http://www.loveruby.net/archive/%SUBDIR%/
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>