aboutsummaryrefslogblamecommitdiff
path: root/mail/ruby-rfilter/Makefile
blob: db0f58a0194583ffbec09138acaa7b475df1bfe7 (plain) (tree)
1
2
3
4
5
6
7
8
9







                                                                
                    





                                                          
                                 
                                                                              




















                                                                              
# New ports collection makefile for:	RubyFilter
# Date created:		6 February 2003
# Whom:			Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#

PORTNAME=	rfilter
PORTVERSION=	0.12
CATEGORIES=	mail ruby
MASTER_SITES=	http://www.lickey.com/rubyfilter/download/
PKGNAMEPREFIX=	${RUBY_PKGNAMEPREFIX}
DISTNAME=	rubyfilter-${PORTVERSION}
DIST_SUBDIR=	ruby

MAINTAINER=	ports@FreeBSD.org
COMMENT=	A Ruby library for filtering and delivering email to mailboxes

RUN_DEPENDS=	${RUBY_SITELIBDIR}/rmail/parser.rb:${PORTSDIR}/mail/ruby-rmail

USE_RUBY=	yes
USE_RUBY_SETUP=	yes
RUBY_SETUP=	install.rb

DOCS=		NEWS README THANKS TODO doc

post-extract:
	${FIND} ${WRKSRC} -name '*~' -delete

post-install:
.if !defined(NOPORTDOCS)
	${MKDIR} ${RUBY_MODDOCDIR}
.for f in ${DOCS}
	${CP} -R ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
.endfor
.endif

.include <bsd.port.mk>