Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Apr 2006 12:19:52 -0300 (BRST)
From:      Renato Botelho <garga@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        don@na.rim.or.jp
Subject:   ports/96267: [PATCH] japanese/ja-ruby18-ming: Transfor it on a master port and decrease version
Message-ID:  <200604241519.k3OFJqdn006116@data.galle.com.br>
Resent-Message-ID: <200604241520.k3OFKI0A056204@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         96267
>Category:       ports
>Synopsis:       [PATCH] japanese/ja-ruby18-ming: Transfor it on a master port and decrease version
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 24 15:20:18 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Renato Botelho
>Release:        FreeBSD 6.1-RC i386
>Organization:
>Environment:
System: FreeBSD data.galle.com.br 6.1-RC FreeBSD 6.1-RC #2: Thu Apr 13 10:01:39 BRST 2006
>Description:
Since ming update to 0.3.0, that bumped lib version to ming.so.4, this port is
BROKEN. So, I propose you this, convert this port to a master port instead a
slave, based on graphics/ruby-ming port when it was on 0.2a version.

Added file(s):
- distinfo
- pkg-descr
- pkg-plist

Port maintainer (don@na.rim.or.jp) is cc'd.

Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:

--- ja-ruby18-ming-0.2a.0.1.6,1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/japanese/ruby-ming/Makefile,v
retrieving revision 1.3
diff -u -u -r1.3 Makefile
--- Makefile	19 Mar 2004 16:21:38 -0000	1.3
+++ Makefile	24 Apr 2006 15:11:02 -0000
@@ -5,13 +5,40 @@
 # $FreeBSD: ports/japanese/ruby-ming/Makefile,v 1.3 2004/03/19 16:21:38 krion Exp $
 #
 
-CATEGORIES=	japanese
+PORTNAME=	ming
+PORTVERSION=	0.2a.${RUBY_MING_VERSION}
+PORTEPOCH=	1
+CATEGORIES=	japanese graphics ruby
+MASTER_SITES=	http://rubyforge.org/frs/download.php/1765/
 PKGNAMEPREFIX=	ja-${RUBY_PKGNAMEPREFIX}
+DISTNAME=	${PORTNAME}-ruby-${RUBY_MING_VERSION}
+DIST_SUBDIR=	ruby
 
+MAINTAINER=	don@na.rim.or.jp
 COMMENT=	Yet another Ming module for Ruby built with Japanese support
 
 LIB_DEPENDS=	ming.3:${PORTSDIR}/japanese/ming
 
-MASTERDIR=	${.CURDIR}/../../graphics/ruby-ming
+RUBY_MING_VERSION=	0.1.6
 
-.include "${MASTERDIR}/Makefile"
+USE_RUBY=	yes
+USE_RUBY_SETUP=	yes
+CONFIGURE_ARGS=	-- --with-ming-include=${PREFIX}/include/ming --with-ming-lib=${PREFIX}/lib
+
+DOCS_EN=	ChangeLog README.en Usage_en.txt fonts.en
+DOCS_JA=	README.ja Usage_ja.txt fonts.ja progress.rd
+
+post-install:
+.if !defined(NOPORTDOCS)
+	${MKDIR} ${RUBY_MODEXAMPLESDIR}
+	${INSTALL_DATA} ${WRKSRC}/examples/* ${RUBY_MODEXAMPLESDIR}/
+	${MKDIR} ${RUBY_MODDOCDIR}/ja
+.for f in ${DOCS_EN}
+	${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
+.endfor
+.for f in ${DOCS_JA}
+	${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ja/
+.endfor
+.endif
+
+.include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: distinfo
diff -N distinfo
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ distinfo	24 Apr 2006 15:11:02 -0000
@@ -0,0 +1,3 @@
+MD5 (ruby/ming-ruby-0.1.6.tar.gz) = df39e476dc4b93e8142c510d61369ffd
+SHA256 (ruby/ming-ruby-0.1.6.tar.gz) = 837b09bb2c6768e64314a31795916fa4cc3894c1fcd221434cb7b5d0bf371a94
+SIZE (ruby/ming-ruby-0.1.6.tar.gz) = 42844
Index: pkg-descr
===================================================================
RCS file: pkg-descr
diff -N pkg-descr
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ pkg-descr	24 Apr 2006 15:11:02 -0000
@@ -0,0 +1,10 @@
+Ming/Ruby is yet another implementation of Ming embedding for Ruby
+extension library without SWIG. Ming/Ruby also supports JaMing which
+is an improvement of Ming to display Japanese characters and to play
+sounds. To use Japanese fonts with JaMing, the letters must be
+followed the UTF-8 formats. Uconv, which is an UTF-8 extension library
+for Ruby, can be used to convert other Kanji encodings into Unicode.
+
+WWW: http://mingruby.rubyforge.org/
+
+Author: Daisuke Ikegami <ikegami@madscientist.jp>
Index: pkg-plist
===================================================================
RCS file: pkg-plist
diff -N pkg-plist
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ pkg-plist	24 Apr 2006 15:11:02 -0000
@@ -0,0 +1,25 @@
+%%RUBY_SITEARCHLIBDIR%%/ming/ming.so
+@dirrm %%RUBY_SITEARCHLIBDIR%%/ming
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/README
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/action.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/button.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/drag.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/gradient.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/gradientxform.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/keypress.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/mousetrack.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/newbutton.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/shape.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sparks.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sprite.rb
+%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ChangeLog
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README.en
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/Usage_en.txt
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/fonts.en
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ja/README.ja
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ja/Usage_ja.txt
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ja/fonts.ja
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ja/progress.rd
+%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%/ja
+%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%
--- ja-ruby18-ming-0.2a.0.1.6,1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604241519.k3OFJqdn006116>