# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
# $FreeBSD: tags/RELEASE_10_0_0/devel/rubygem-listen/Makefile 332262 2013-10-31 15:52:24Z sunpoet $

PORTNAME=	listen
PORTVERSION=	2.2.0
CATEGORIES=	devel rubygems
MASTER_SITES=	RG

MAINTAINER=	sunpoet@FreeBSD.org
COMMENT=	Listen to file modifications and notify about the changes

LICENSE=	MIT

RUN_DEPENDS=	rubygem-celluloid>=0.15.2:${PORTSDIR}/devel/rubygem-celluloid \
		rubygem-rb-kqueue>=0.2:${PORTSDIR}/devel/rubygem-rb-kqueue

USE_RUBY=	yes
USE_RUBYGEMS=	yes
RUBYGEM_AUTOPLIST=	yes

post-patch:
	@${REINPLACE_CMD} -e '27,54 d' ${WRKSRC}/${GEM_NAME}.gemspec

.include <bsd.port.mk>
