# Ports collection makefile for:	rubygem-ncursesw
# Date created:				19 March 2011
# Whom:					Eric Freeman <freebsdports@chillibear.com>
#
# $FreeBSD: ports/devel/rubygem-ncursesw/Makefile,v 1.2 2011/06/14 14:53:47 swills Exp $
#

PORTNAME=	ncursesw
PORTVERSION=	1.2.4.3
PORTREVISION=	1
CATEGORIES=	devel rubygems
MASTER_SITES=	RG

MAINTAINER=	freebsdports@chillibear.com
COMMENT=	A gem wrapper to the ncurses library with wide character support

USE_RUBY=		yes
USE_RUBYGEMS=		yes
RUBYGEM_AUTOPLIST=	yes

REINPLACE_ARGS=

# correct a mistake in the gemspec that prevents it being properly registered
post-install:
	@${REINPLACE_CMD} -e 's|s.date = %q{2010-11-9 13:45:50 -08:00|s.date = %q{2010-11-09|' ${PREFIX}/${GEMS_BASE_DIR}/specifications/${PORTNAME}-${PORTVERSION}.gemspec

.include <bsd.port.mk>
