svn commit: r316968 - in head/devel: . ruby-term-ansicolor rubygem-term-ansicolor
Chris Rees
crees at FreeBSD.org
Tue Apr 30 21:56:42 UTC 2013
Author: crees
Date: Tue Apr 30 21:56:40 2013
New Revision: 316968
URL: http://svnweb.freebsd.org/changeset/ports/316968
Log:
devel/ruby-term-ansicolor: Update and move origin
term-ansicolor is now a rubygem, and is at version 1.1.4.
PR: ports/177856
Approved by: maintainer timeout (clsung, 16 days)
Added:
head/devel/rubygem-term-ansicolor/
- copied from r315799, head/devel/ruby-term-ansicolor/
Deleted:
head/devel/ruby-term-ansicolor/
head/devel/rubygem-term-ansicolor/pkg-plist
Modified:
head/devel/Makefile
head/devel/rubygem-term-ansicolor/Makefile
head/devel/rubygem-term-ansicolor/distinfo
Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile Tue Apr 30 21:04:20 2013 (r316967)
+++ head/devel/Makefile Tue Apr 30 21:56:40 2013 (r316968)
@@ -3951,7 +3951,6 @@
SUBDIR += ruby-statgrab
SUBDIR += ruby-subversion
SUBDIR += ruby-sysvipc
- SUBDIR += ruby-term-ansicolor
SUBDIR += ruby-tzfile
SUBDIR += ruby-wirble
SUBDIR += rubygem-abstract
@@ -4160,6 +4159,7 @@
SUBDIR += rubygem-sysinfo
SUBDIR += rubygem-systemu
SUBDIR += rubygem-templater
+ SUBDIR += rubygem-term-ansicolor
SUBDIR += rubygem-test
SUBDIR += rubygem-test-unit
SUBDIR += rubygem-thor
Modified: head/devel/rubygem-term-ansicolor/Makefile
==============================================================================
--- head/devel/ruby-term-ansicolor/Makefile Sun Apr 14 14:10:51 2013 (r315799)
+++ head/devel/rubygem-term-ansicolor/Makefile Tue Apr 30 21:56:40 2013 (r316968)
@@ -1,39 +1,32 @@
-# New ports collection makefile for: ruby-term-ansicolor
-# Date created: 2007-01-12
-# Whom: Cheng-Lung Sung <clsung at FreeBSD.org>
-#
+# Created by: Cheng-Lung Sung <clsung at FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= term-ansicolor
-PORTVERSION= 1.0.4
+PORTVERSION= 1.1.4
CATEGORIES= devel ruby
-MASTER_SITES= RF
-PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
-EXTRACT_SUFX= .tgz
-DIST_SUBDIR= ruby
+MASTER_SITES= RG
MAINTAINER= clsung at FreeBSD.org
COMMENT= Term::ANSIColor for Ruby
USE_RUBY= yes
-RUBY_SETUP= install.rb
+USE_RUBYGEMS= yes
+RUBYGEM_AUTOPLIST= yes
-NO_BUILD= yes
+PORTEXAMPLES= cdiff decolor
-DOCS= doc-main.txt
-EXAMPLES= examples/*
+.include <bsd.port.options.mk>
-do-install:
- @cd ${INSTALL_WRKSRC}; \
- ${SETENV} ${MAKE_ENV} ${RUBY} ${RUBY_FLAGS} ${RUBY_SETUP}
+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:
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${RUBY_MODDOCDIR}
- ${MKDIR} ${RUBY_MODEXAMPLESDIR}
- ${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${RUBY_MODDOCDIR}
- ${INSTALL_DATA} ${EXAMPLES:S,^,${WRKSRC}/,} ${RUBY_MODEXAMPLESDIR}
+.if ${PORT_OPTIONS:MEXAMPLES}
+ ${MKDIR} ${EXAMPLESDIR}
+ ${INSTALL_SCRIPT} ${PORTEXAMPLES:S,^,${WRKSRC}/bin/,} ${EXAMPLESDIR}/
.endif
.include <bsd.port.mk>
Modified: head/devel/rubygem-term-ansicolor/distinfo
==============================================================================
--- head/devel/ruby-term-ansicolor/distinfo Sun Apr 14 14:10:51 2013 (r315799)
+++ head/devel/rubygem-term-ansicolor/distinfo Tue Apr 30 21:56:40 2013 (r316968)
@@ -1,2 +1,2 @@
-SHA256 (ruby/term-ansicolor-1.0.4.tgz) = aef5c6e40d9abe61872d0e749e9d1c417b3bc84809c224a82293bb52a9f8ce40
-SIZE (ruby/term-ansicolor-1.0.4.tgz) = 12287
+SHA256 (rubygem/term-ansicolor-1.1.4.gem) = 195d10f2ff32214b722acc50b9ab9670dff944a2b0eb34c427324d56d2ac4911
+SIZE (rubygem/term-ansicolor-1.1.4.gem) = 20480
More information about the svn-ports-all
mailing list