# Created by: Cheng-Lung Sung # $FreeBSD: head/devel/rubygem-term-ansicolor/Makefile 353445 2014-05-09 06:17:22Z rpaulo $ PORTNAME= term-ansicolor PORTVERSION= 1.3.0 CATEGORIES= devel ruby MASTER_SITES= RG MAINTAINER= clsung@FreeBSD.org COMMENT= Term::ANSIColor for Ruby RUN_DEPENDS= rubygem-tins>=0.8:${PORTSDIR}/devel/rubygem-tins USE_RUBY= yes USE_RUBYGEMS= yes RUBYGEM_AUTOPLIST= yes PLIST_FILES+= bin/colortab bin/term_display bin/term_mandel PORTEXAMPLES= cdiff decolor OPTIONS_DEFINE= EXAMPLES .include post-patch: # Chop out the cdiff and decolor binaries; these should be installed to # EXAMPLESDIR ${REINPLACE_CMD} -e '/^- [cd][de][ic][fo][fl]o*r*$$/d' \ ${WRKSRC}/term-ansicolor-${PORTVERSION}.gemspec post-install: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_SCRIPT} ${PORTEXAMPLES:S,^,${WRKSRC}/bin/,} ${STAGEDIR}${EXAMPLESDIR}/ .include