diff options
author | crees <crees@FreeBSD.org> | 2013-05-01 05:56:40 +0800 |
---|---|---|
committer | crees <crees@FreeBSD.org> | 2013-05-01 05:56:40 +0800 |
commit | ccee821aafc69ca0705739921f7d7f292ad65945 (patch) | |
tree | 539f5ea0820afd20adeaa818b19a28feccc701a4 /devel | |
parent | d0904ec87df748555982427250b660a9b91de373 (diff) | |
download | freebsd-ports-gnome-ccee821aafc69ca0705739921f7d7f292ad65945.tar.gz freebsd-ports-gnome-ccee821aafc69ca0705739921f7d7f292ad65945.tar.zst freebsd-ports-gnome-ccee821aafc69ca0705739921f7d7f292ad65945.zip |
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)
Diffstat (limited to 'devel')
-rw-r--r-- | devel/Makefile | 2 | ||||
-rw-r--r-- | devel/ruby-term-ansicolor/Makefile | 39 | ||||
-rw-r--r-- | devel/ruby-term-ansicolor/distinfo | 2 | ||||
-rw-r--r-- | devel/ruby-term-ansicolor/pkg-plist | 9 | ||||
-rw-r--r-- | devel/rubygem-term-ansicolor/Makefile | 32 | ||||
-rw-r--r-- | devel/rubygem-term-ansicolor/distinfo | 2 | ||||
-rw-r--r-- | devel/rubygem-term-ansicolor/pkg-descr (renamed from devel/ruby-term-ansicolor/pkg-descr) | 0 |
7 files changed, 35 insertions, 51 deletions
diff --git a/devel/Makefile b/devel/Makefile index a6e808a4277f..48f5f4183275 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -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 diff --git a/devel/ruby-term-ansicolor/Makefile b/devel/ruby-term-ansicolor/Makefile deleted file mode 100644 index 52b2ade24906..000000000000 --- a/devel/ruby-term-ansicolor/Makefile +++ /dev/null @@ -1,39 +0,0 @@ -# New ports collection makefile for: ruby-term-ansicolor -# Date created: 2007-01-12 -# Whom: Cheng-Lung Sung <clsung@FreeBSD.org> -# -# $FreeBSD$ -# - -PORTNAME= term-ansicolor -PORTVERSION= 1.0.4 -CATEGORIES= devel ruby -MASTER_SITES= RF -PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} -EXTRACT_SUFX= .tgz -DIST_SUBDIR= ruby - -MAINTAINER= clsung@FreeBSD.org -COMMENT= Term::ANSIColor for Ruby - -USE_RUBY= yes -RUBY_SETUP= install.rb - -NO_BUILD= yes - -DOCS= doc-main.txt -EXAMPLES= examples/* - -do-install: - @cd ${INSTALL_WRKSRC}; \ - ${SETENV} ${MAKE_ENV} ${RUBY} ${RUBY_FLAGS} ${RUBY_SETUP} - -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} -.endif - -.include <bsd.port.mk> diff --git a/devel/ruby-term-ansicolor/distinfo b/devel/ruby-term-ansicolor/distinfo deleted file mode 100644 index 8a7bce4775b7..000000000000 --- a/devel/ruby-term-ansicolor/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (ruby/term-ansicolor-1.0.4.tgz) = aef5c6e40d9abe61872d0e749e9d1c417b3bc84809c224a82293bb52a9f8ce40 -SIZE (ruby/term-ansicolor-1.0.4.tgz) = 12287 diff --git a/devel/ruby-term-ansicolor/pkg-plist b/devel/ruby-term-ansicolor/pkg-plist deleted file mode 100644 index ebe3d675d9cd..000000000000 --- a/devel/ruby-term-ansicolor/pkg-plist +++ /dev/null @@ -1,9 +0,0 @@ -%%RUBY_SITELIBDIR%%/term/ansicolor.rb -%%RUBY_SITELIBDIR%%/term/ansicolor/version.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/cdiff.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/example.rb -%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%% -%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc-main.txt -%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%% -@dirrmtry %%RUBY_SITELIBDIR%%/term/ansicolor -@dirrmtry %%RUBY_SITELIBDIR%%/term diff --git a/devel/rubygem-term-ansicolor/Makefile b/devel/rubygem-term-ansicolor/Makefile new file mode 100644 index 000000000000..50b1ae0b371a --- /dev/null +++ b/devel/rubygem-term-ansicolor/Makefile @@ -0,0 +1,32 @@ +# Created by: Cheng-Lung Sung <clsung@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= term-ansicolor +PORTVERSION= 1.1.4 +CATEGORIES= devel ruby +MASTER_SITES= RG + +MAINTAINER= clsung@FreeBSD.org +COMMENT= Term::ANSIColor for Ruby + +USE_RUBY= yes +USE_RUBYGEMS= yes +RUBYGEM_AUTOPLIST= yes + +PORTEXAMPLES= cdiff decolor + +.include <bsd.port.options.mk> + +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 ${PORT_OPTIONS:MEXAMPLES} + ${MKDIR} ${EXAMPLESDIR} + ${INSTALL_SCRIPT} ${PORTEXAMPLES:S,^,${WRKSRC}/bin/,} ${EXAMPLESDIR}/ +.endif + +.include <bsd.port.mk> diff --git a/devel/rubygem-term-ansicolor/distinfo b/devel/rubygem-term-ansicolor/distinfo new file mode 100644 index 000000000000..dd841ba7762f --- /dev/null +++ b/devel/rubygem-term-ansicolor/distinfo @@ -0,0 +1,2 @@ +SHA256 (rubygem/term-ansicolor-1.1.4.gem) = 195d10f2ff32214b722acc50b9ab9670dff944a2b0eb34c427324d56d2ac4911 +SIZE (rubygem/term-ansicolor-1.1.4.gem) = 20480 diff --git a/devel/ruby-term-ansicolor/pkg-descr b/devel/rubygem-term-ansicolor/pkg-descr index 4009426f937a..4009426f937a 100644 --- a/devel/ruby-term-ansicolor/pkg-descr +++ b/devel/rubygem-term-ansicolor/pkg-descr |