From pgollucci@riderwayinc.com  Fri Jul 11 03:25:07 2008
Return-Path: <pgollucci@riderwayinc.com>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 2192E1065677;
	Fri, 11 Jul 2008 03:25:07 +0000 (UTC)
	(envelope-from pgollucci@riderwayinc.com)
Received: from riderwayinc.com (riderwayinc.com [74.93.213.161])
	by mx1.freebsd.org (Postfix) with ESMTP id 926288FC12;
	Fri, 11 Jul 2008 03:25:06 +0000 (UTC)
	(envelope-from pgollucci@riderwayinc.com)
Received: from riderwayinc.com (localhost [127.0.0.1])
	by riderwayinc.com (8.14.2/8.14.2) with ESMTP id m6B3OxNq023585
	(version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO);
	Fri, 11 Jul 2008 03:24:59 GMT
	(envelope-from pgollucci@riderwayinc.com)
Received: (from pgollucci@localhost)
	by riderwayinc.com (8.14.2/8.14.2/Submit) id m6B3Os5m023584;
	Fri, 11 Jul 2008 03:24:54 GMT
	(envelope-from pgollucci)
Message-Id: <200807110324.m6B3Os5m023584@riderwayinc.com>
Date: Fri, 11 Jul 2008 03:24:54 GMT
From: "Philip M. Gollucci" <pgollucci@p6m7g8.com>
Reply-To: "Philip M. Gollucci" <pgollucci@p6m7g8.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc: araujo@freebsd.org, stas@freebsd.org
Subject: [PATCH]: Mk/bsd.ruby.mk - relocate/consolidate x-generate-plist to bsd.ruby.mk 
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         125494
>Category:       ports
>Synopsis:       [PATCH]: Mk/bsd.ruby.mk - relocate/consolidate x-generate-plist to bsd.ruby.mk
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    stas
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 11 03:30:07 UTC 2008
>Closed-Date:    Thu Mar 26 15:10:23 UTC 2009
>Last-Modified:  Thu Mar 26 15:10:23 UTC 2009
>Originator:     Philip Gollucci
>Release:        FreeBSD 7.0-RELEASE amd64
>Organization:
Riderway Inc.
>Environment:
System: FreeBSD riderwayinc.com 7.0-RELEASE FreeBSD 7.0-RELEASE #2: Thu Feb 28 21:20:48 UTC 2008 root@elektra.rws:/x1-local/obj/usr/src/sys/MAGNETO amd64
>Description:
Also, I've renamed the make target
x-generate-plist -> x-rubygems-generate-plist
You get this task if USE_RUBYGEMS=yes is in effect

>How-To-Repeat:
>Fix:

--- plist.diff begins here ---
Index: Mk/bsd.ruby.mk
===================================================================
RCS file: /home/ncvs/ports/Mk/bsd.ruby.mk,v
retrieving revision 1.170
diff -u -r1.170 bsd.ruby.mk
--- Mk/bsd.ruby.mk	25 Jun 2008 23:00:27 -0000	1.170
+++ Mk/bsd.ruby.mk	11 Jul 2008 03:22:13 -0000
@@ -426,6 +426,19 @@
 	${SETENV} ${GEM_ENV} ${RUBYGEMBIN} install --no-update-sources --no-ri --install-dir ${PREFIX}/lib/ruby/gems/${RUBY_VER} ${DISTDIR}/${DIST_SUBDIR}/${_D} -- --build-args ${CONFIGURE_ARGS}
 .endfor
 
+# This target is only meant to be used by the port maintainers.
+x-rubygems-generate-plist:
+	(${PORTSDIR}/Tools/scripts/plist -d -m ${MTREE_FILE} ${PREFIX} \
+	| ${SED} -E \
+		's,.*share/nls/.+$$,,g \
+		;s,^${GEM_CACHE}$$,%%GEM_CACHE%%,g \
+		;s,${GEM_DOC_DIR}(/.+)?$$,%%GEM_DOC_DIR%%\1,g \
+		;s,${GEM_LIB_DIR}(/.+)?$$,%%GEM_LIB_DIR%%\1,g \
+		;s,^${GEM_SPEC}$$,%%GEM_SPEC%%,g \
+		;s,^${GEMS_BASE_DIR}/(.+)$$,\1,g \
+		;s,^@dirrm (${SPEC_DIR}|${GEMS_DIR}|lib/ruby).*$$,,g \
+		' | ${TR} -s '\n') > temp-pkg-plist
+
 .endif # USE_RUBYGEMS
 
 #
Index: databases/rubygem-activerecord/Makefile
===================================================================
RCS file: /home/ncvs/ports/databases/rubygem-activerecord/Makefile,v
retrieving revision 1.17
diff -u -r1.17 Makefile
--- databases/rubygem-activerecord/Makefile	6 Apr 2008 08:58:04 -0000	1.17
+++ databases/rubygem-activerecord/Makefile	11 Jul 2008 03:21:56 -0000
@@ -25,19 +25,6 @@
 USE_RUBY=	yes
 USE_RUBYGEMS=	yes
 
-# This target is only meant to be used by the port maintainer.
-x-generate-plist:
-	(${PORTSDIR}/Tools/scripts/plist -d -m ${MTREE_FILE} ${PREFIX} \
-	| ${SED} -E \
-		's,.*share/nls/.+$$,,g \
-		;s,^${GEM_CACHE}$$,%%GEM_CACHE%%,g \
-		;s,${GEM_DOC_DIR}(/.+)?$$,%%GEM_DOC_DIR%%\1,g \
-		;s,${GEM_LIB_DIR}(/.+)?$$,%%GEM_LIB_DIR%%\1,g \
-		;s,^${GEM_SPEC}$$,%%GEM_SPEC%%,g \
-		;s,^${GEMS_BASE_DIR}/(.+)$$,\1,g \
-		;s,^@dirrm (${SPEC_DIR}|${GEMS_DIR}|lib/ruby).*$$,,g \
-		' | ${TR} -s '\n') > temp-pkg-plist
-
 .include <bsd.port.pre.mk>
 
 .if defined(WITH_NATIVE_MYSQL)
Index: databases/rubygem-rrdtool/Makefile
===================================================================
RCS file: /home/ncvs/ports/databases/rubygem-rrdtool/Makefile,v
retrieving revision 1.7
diff -u -r1.7 Makefile
--- databases/rubygem-rrdtool/Makefile	24 Jun 2008 12:34:50 -0000	1.7
+++ databases/rubygem-rrdtool/Makefile	11 Jul 2008 03:21:56 -0000
@@ -26,17 +26,4 @@
 USE_RUBY=	yes
 USE_RUBYGEMS=	yes
 
-# This target is only meant to be used by the port maintainer.
-x-generate-plist:
-	(${PORTSDIR}/Tools/scripts/plist -d -m ${MTREE_FILE} ${PREFIX} \
-	| ${SED} -E \
-		's,.*share/nls/.+$$,,g \
-		;s,^${GEM_CACHE}$$,%%GEM_CACHE%%,g \
-		;s,${GEM_DOC_DIR}(/.+)?$$,%%GEM_DOC_DIR%%\1,g \
-		;s,${GEM_LIB_DIR}(/.+)?$$,%%GEM_LIB_DIR%%\1,g \
-		;s,^${GEM_SPEC}$$,%%GEM_SPEC%%,g \
-		;s,^${GEMS_BASE_DIR}/(.+)$$,\1,g \
-		;s,^@dirrm (${SPEC_DIR}|${GEMS_DIR}|lib/ruby).*$$,,g \
-		' | ${TR} -s '\n') > temp-pkg-plist
-
 .include <bsd.port.mk>
Index: devel/rubygem-activesupport/Makefile
===================================================================
RCS file: /home/ncvs/ports/devel/rubygem-activesupport/Makefile,v
retrieving revision 1.12
diff -u -r1.12 Makefile
--- devel/rubygem-activesupport/Makefile	6 Apr 2008 08:58:05 -0000	1.12
+++ devel/rubygem-activesupport/Makefile	11 Jul 2008 03:21:56 -0000
@@ -16,17 +16,4 @@
 USE_RUBY=	yes
 USE_RUBYGEMS=	yes
 
-# This target is only meant to be used by the port maintainer.
-x-generate-plist:
-	(${PORTSDIR}/Tools/scripts/plist -d -m ${MTREE_FILE} ${PREFIX} \
-	| ${SED} -E \
-		's,.*share/nls/.+$$,,g \
-		;s,^${GEM_CACHE}$$,%%GEM_CACHE%%,g \
-		;s,${GEM_DOC_DIR}(/.+)?$$,%%GEM_DOC_DIR%%\1,g \
-		;s,${GEM_LIB_DIR}(/.+)?$$,%%GEM_LIB_DIR%%\1,g \
-		;s,^${GEM_SPEC}$$,%%GEM_SPEC%%,g \
-		;s,^${GEMS_BASE_DIR}/(.+)$$,\1,g \
-		;s,^@dirrm (${SPEC_DIR}|${GEMS_DIR}|lib/ruby).*$$,,g \
-		' | ${TR} -s '\n') > temp-pkg-plist
-
 .include <bsd.port.mk>
Index: devel/rubygem-daemons/Makefile
===================================================================
RCS file: /home/ncvs/ports/devel/rubygem-daemons/Makefile,v
retrieving revision 1.12
diff -u -r1.12 Makefile
--- devel/rubygem-daemons/Makefile	6 Apr 2008 08:58:06 -0000	1.12
+++ devel/rubygem-daemons/Makefile	11 Jul 2008 03:21:56 -0000
@@ -15,17 +15,4 @@
 USE_RUBY=	yes
 USE_RUBYGEMS=	yes
 
-# This target is only meant to be used by the port maintainer.
-x-generate-plist:
-	(${PORTSDIR}/Tools/scripts/plist -d -m ${MTREE_FILE} ${PREFIX} \
-	| ${SED} -E \
-		's,.*share/nls/.+$$,,g \
-		;s,^${GEM_CACHE}$$,%%GEM_CACHE%%,g \
-		;s,${GEM_DOC_DIR}(/.+)?$$,%%GEM_DOC_DIR%%\1,g \
-		;s,${GEM_LIB_DIR}(/.+)?$$,%%GEM_LIB_DIR%%\1,g \
-		;s,^${GEM_SPEC}$$,%%GEM_SPEC%%,g \
-		;s,^${GEMS_BASE_DIR}/(.+)$$,\1,g \
-		;s,^@dirrm (${SPEC_DIR}|${GEMS_DIR}|lib/ruby).*$$,,g \
-		' | ${TR} -s '\n') > temp-pkg-plist
-
 .include <bsd.port.mk>
Index: devel/rubygem-fastthread/Makefile
===================================================================
RCS file: /home/ncvs/ports/devel/rubygem-fastthread/Makefile,v
retrieving revision 1.4
diff -u -r1.4 Makefile
--- devel/rubygem-fastthread/Makefile	6 Apr 2008 08:58:06 -0000	1.4
+++ devel/rubygem-fastthread/Makefile	11 Jul 2008 03:21:56 -0000
@@ -16,17 +16,4 @@
 USE_RUBY=	yes
 USE_RUBYGEMS=	yes
 
-# This target is only meant to be used by the port maintainer.
-x-generate-plist:
-	(${PORTSDIR}/Tools/scripts/plist -d -m ${MTREE_FILE} ${PREFIX} \
-	| ${SED} -E \
-		's,.*share/nls/.+$$,,g \
-		;s,^${GEM_CACHE}$$,%%GEM_CACHE%%,g \
-		;s,${GEM_DOC_DIR}(/.+)?$$,%%GEM_DOC_DIR%%\1,g \
-		;s,${GEM_LIB_DIR}(/.+)?$$,%%GEM_LIB_DIR%%\1,g \
-		;s,^${GEM_SPEC}$$,%%GEM_SPEC%%,g \
-		;s,^${GEMS_BASE_DIR}/(.+)$$,\1,g \
-		;s,^@dirrm (${SPEC_DIR}|${GEMS_DIR}|lib/ruby).*$$,,g \
-		' | ${TR} -s '\n') > temp-pkg-plist
-
 .include <bsd.port.mk>
Index: devel/rubygem-gem_plugin/Makefile
===================================================================
RCS file: /home/ncvs/ports/devel/rubygem-gem_plugin/Makefile,v
retrieving revision 1.7
diff -u -r1.7 Makefile
--- devel/rubygem-gem_plugin/Makefile	6 Apr 2008 08:58:06 -0000	1.7
+++ devel/rubygem-gem_plugin/Makefile	11 Jul 2008 03:21:56 -0000
@@ -19,17 +19,4 @@
 USE_RAKE=	yes
 USE_RUBYGEMS=	yes
 
-# This target is only meant to be used by the port maintainer.
-x-generate-plist:
-	(${PORTSDIR}/Tools/scripts/plist -d -m ${MTREE_FILE} ${PREFIX} \
-	| ${SED} -E \
-		's,.*share/nls/.+$$,,g \
-		;s,^${CACHE_DIR}(/.+)$$,%%CACHE_DIR%%\1,g \
-		;s,${GEM_DOC_DIR}(/.+)?$$,%%GEM_DOC_DIR%%\1,g \
-		;s,${GEM_LIB_DIR}(/.+)?$$,%%GEM_LIB_DIR%%\1,g \
-		;s,^${SPEC_DIR}(/.+)$$,%%SPEC_DIR%%\1,g \
-		;s,^${GEMS_BASE_DIR}/(.+)$$,\1,g \
-		;s,^@dirrm (${SPEC_DIR}|${GEMS_DIR}|lib/ruby).*$$,,g \
-		' | ${TR} -s '\n') > temp-pkg-plist
-
 .include <bsd.port.mk>
Index: devel/rubygem-ptreloaded/Makefile
===================================================================
RCS file: /home/ncvs/ports/devel/rubygem-ptreloaded/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- devel/rubygem-ptreloaded/Makefile	6 Apr 2008 08:58:08 -0000	1.2
+++ devel/rubygem-ptreloaded/Makefile	11 Jul 2008 03:21:56 -0000
@@ -23,12 +23,4 @@
 USE_RUBY=	yes
 USE_RUBYGEMS=	yes
 
-x-generate-plist:
-	${ECHO} %%GEM_CACHE%% > pkg-plist.new
-	${FIND} ${PREFIX}/${GEM_DOC_DIR} -type f | ${SED} -e 's,${PREFIX}/${GEM_DOC_DIR},%%GEM_DOC_DIR%%,' >> pkg-plist.new
-	${FIND} ${PREFIX}/${GEM_LIB_DIR} -type f | ${SED} -e 's,${PREFIX}/${GEM_LIB_DIR},%%GEM_LIB_DIR%%,' >> pkg-plist.new
-	${ECHO} %%GEM_SPEC%% >> pkg-plist.new
-	${FIND} ${PREFIX}/${GEM_LIB_DIR} -type d -depth | ${SED} -e 's,${PREFIX}/${GEM_LIB_DIR},@dirrm %%GEM_LIB_DIR%%,' >> pkg-plist.new
-	${FIND} ${PREFIX}/${GEM_DOC_DIR} -type d -depth | ${SED} -e 's,${PREFIX}/${GEM_DOC_DIR},@dirrm %%GEM_DOC_DIR%%,' >> pkg-plist.new
-
 .include <bsd.port.mk>
Index: devel/rubygem-ruby-prof/Makefile
===================================================================
RCS file: /home/ncvs/ports/devel/rubygem-ruby-prof/Makefile,v
retrieving revision 1.3
diff -u -r1.3 Makefile
--- devel/rubygem-ruby-prof/Makefile	6 Apr 2008 08:58:09 -0000	1.3
+++ devel/rubygem-ruby-prof/Makefile	11 Jul 2008 03:21:56 -0000
@@ -16,17 +16,4 @@
 USE_RUBY=	yes
 USE_RUBYGEMS=	yes
 
-# This target is only meant to be used by the port maintainer.
-x-generate-plist:
-	(${PORTSDIR}/Tools/scripts/plist -d -m ${MTREE_FILE} ${PREFIX} \
-	| ${SED} -E \
-		's,.*share/nls/.+$$,,g \
-		;s,^${GEM_CACHE}$$,%%GEM_CACHE%%,g \
-		;s,${GEM_DOC_DIR}(/.+)?$$,%%GEM_DOC_DIR%%\1,g \
-		;s,${GEM_LIB_DIR}(/.+)?$$,%%GEM_LIB_DIR%%\1,g \
-		;s,^${GEM_SPEC}$$,%%GEM_SPEC%%,g \
-		;s,^${GEMS_BASE_DIR}/(.+)$$,\1,g \
-		;s,^@dirrm (${SPEC_DIR}|${GEMS_DIR}|lib/ruby).*$$,,g \
-		' | ${TR} -s '\n') > temp-pkg-plist
-
 .include <bsd.port.mk>
Index: devel/rubygem-ruby2ruby/Makefile
===================================================================
RCS file: /home/ncvs/ports/devel/rubygem-ruby2ruby/Makefile,v
retrieving revision 1.3
diff -u -r1.3 Makefile
--- devel/rubygem-ruby2ruby/Makefile	6 Apr 2008 08:58:10 -0000	1.3
+++ devel/rubygem-ruby2ruby/Makefile	11 Jul 2008 03:21:56 -0000
@@ -21,13 +21,4 @@
 USE_RUBY=	yes
 USE_RUBYGEMS=	yes
 
-x-generate-plist:
-	${ECHO} bin/r2r_show > pkg-plist.new
-	${ECHO} %%GEM_CACHE%% >> pkg-plist.new
-	${FIND} ${PREFIX}/${GEM_DOC_DIR} -type f | ${SED} -e 's,${PREFIX}/${GEM_DOC_DIR},%%GEM_DOC_DIR%%,' >> pkg-plist.new
-	${FIND} ${PREFIX}/${GEM_LIB_DIR} -type f | ${SED} -e 's,${PREFIX}/${GEM_LIB_DIR},%%GEM_LIB_DIR%%,' >> pkg-plist.new
-	${ECHO} %%GEM_SPEC%% >> pkg-plist.new
-	${FIND} ${PREFIX}/${GEM_LIB_DIR} -type d -depth | ${SED} -e 's,${PREFIX}/${GEM_LIB_DIR},@dirrm %%GEM_LIB_DIR%%,' >> pkg-plist.new
-	${FIND} ${PREFIX}/${GEM_DOC_DIR} -type d -depth | ${SED} -e 's,${PREFIX}/${GEM_DOC_DIR},@dirrm %%GEM_DOC_DIR%%,' >> pkg-plist.new
-
 .include <bsd.port.mk>
Index: devel/rubygem-rubyinlineaccel/Makefile
===================================================================
RCS file: /home/ncvs/ports/devel/rubygem-rubyinlineaccel/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- devel/rubygem-rubyinlineaccel/Makefile	6 Apr 2008 08:58:10 -0000	1.2
+++ devel/rubygem-rubyinlineaccel/Makefile	11 Jul 2008 03:21:56 -0000
@@ -23,12 +23,4 @@
 USE_RUBY=	yes
 USE_RUBYGEMS=	yes
 
-x-generate-plist:
-	${ECHO} %%GEM_CACHE%% > pkg-plist.new
-	${FIND} ${PREFIX}/${GEM_DOC_DIR} -type f | ${SED} -e 's,${PREFIX}/${GEM_DOC_DIR},%%GEM_DOC_DIR%%,' >> pkg-plist.new
-	${FIND} ${PREFIX}/${GEM_LIB_DIR} -type f | ${SED} -e 's,${PREFIX}/${GEM_LIB_DIR},%%GEM_LIB_DIR%%,' >> pkg-plist.new
-	${ECHO} %%GEM_SPEC%% >> pkg-plist.new
-	${FIND} ${PREFIX}/${GEM_LIB_DIR} -type d -depth | ${SED} -e 's,${PREFIX}/${GEM_LIB_DIR},@dirrm %%GEM_LIB_DIR%%,' >> pkg-plist.new
-	${FIND} ${PREFIX}/${GEM_DOC_DIR} -type d -depth | ${SED} -e 's,${PREFIX}/${GEM_DOC_DIR},@dirrm %%GEM_DOC_DIR%%,' >> pkg-plist.new
-
 .include <bsd.port.mk>
Index: mail/rubygem-actionmailer/Makefile
===================================================================
RCS file: /home/ncvs/ports/mail/rubygem-actionmailer/Makefile,v
retrieving revision 1.12
diff -u -r1.12 Makefile
--- mail/rubygem-actionmailer/Makefile	6 Apr 2008 08:58:13 -0000	1.12
+++ mail/rubygem-actionmailer/Makefile	11 Jul 2008 03:21:56 -0000
@@ -19,17 +19,4 @@
 USE_RUBY=	yes
 USE_RUBYGEMS=	yes
 
-# This target is only meant to be used by the port maintainer.
-x-generate-plist:
-	(${PORTSDIR}/Tools/scripts/plist -d -m ${MTREE_FILE} ${PREFIX} \
-	| ${SED} -E \
-		's,.*share/nls/.+$$,,g \
-		;s,^${GEM_CACHE}$$,%%GEM_CACHE%%,g \
-		;s,${GEM_DOC_DIR}(/.+)?$$,%%GEM_DOC_DIR%%\1,g \
-		;s,${GEM_LIB_DIR}(/.+)?$$,%%GEM_LIB_DIR%%\1,g \
-		;s,^${GEM_SPEC}$$,%%GEM_SPEC%%,g \
-		;s,^${GEMS_BASE_DIR}/(.+)$$,\1,g \
-		;s,^@dirrm (${SPEC_DIR}|${GEMS_DIR}|lib/ruby).*$$,,g \
-		' | ${TR} -s '\n') > temp-pkg-plist
-
 .include <bsd.port.mk>
Index: sysutils/rubygem-capistrano/Makefile
===================================================================
RCS file: /home/ncvs/ports/sysutils/rubygem-capistrano/Makefile,v
retrieving revision 1.13
diff -u -r1.13 Makefile
--- sysutils/rubygem-capistrano/Makefile	5 Jul 2008 23:07:29 -0000	1.13
+++ sysutils/rubygem-capistrano/Makefile	11 Jul 2008 03:21:56 -0000
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	capistrano
-PORTVERSION=	2.4.0
+PORTVERSION=	2.4.3
 CATEGORIES=	sysutils rubygems
 MASTER_SITES=	RF
 
Index: www/rubygem-actionpack/Makefile
===================================================================
RCS file: /home/ncvs/ports/www/rubygem-actionpack/Makefile,v
retrieving revision 1.13
diff -u -r1.13 Makefile
--- www/rubygem-actionpack/Makefile	6 Apr 2008 08:58:18 -0000	1.13
+++ www/rubygem-actionpack/Makefile	11 Jul 2008 03:21:56 -0000
@@ -19,17 +19,4 @@
 USE_RUBY=	yes
 USE_RUBYGEMS=	yes
 
-# This target is only meant to be used by the port maintainer.
-x-generate-plist:
-	(${PORTSDIR}/Tools/scripts/plist -d -m ${MTREE_FILE} ${PREFIX} \
-	| ${SED} -E \
-		's,.*share/nls/.+$$,,g \
-		;s,^${GEM_CACHE}$$,%%GEM_CACHE%%,g \
-		;s,${GEM_DOC_DIR}(/.+)?$$,%%GEM_DOC_DIR%%\1,g \
-		;s,${GEM_LIB_DIR}(/.+)?$$,%%GEM_LIB_DIR%%\1,g \
-		;s,^${GEM_SPEC}$$,%%GEM_SPEC%%,g \
-		;s,^${GEMS_BASE_DIR}/(.+)$$,\1,g \
-		;s,^@dirrm (${SPEC_DIR}|${GEMS_DIR}|lib/ruby).*$$,,g \
-		' | ${TR} -s '\n') > temp-pkg-plist
-
 .include <bsd.port.mk>
Index: www/rubygem-actionwebservice/Makefile
===================================================================
RCS file: /home/ncvs/ports/www/rubygem-actionwebservice/Makefile,v
retrieving revision 1.14
diff -u -r1.14 Makefile
--- www/rubygem-actionwebservice/Makefile	6 Apr 2008 08:58:18 -0000	1.14
+++ www/rubygem-actionwebservice/Makefile	11 Jul 2008 03:21:56 -0000
@@ -20,17 +20,4 @@
 USE_RUBY=	yes
 USE_RUBYGEMS=	yes
 
-# This target is only meant to be used by the port maintainer.
-x-generate-plist:
-	(${PORTSDIR}/Tools/scripts/plist -d -m ${MTREE_FILE} ${PREFIX} \
-	| ${SED} -E \
-		's,.*share/nls/.+$$,,g \
-		;s,^${GEM_CACHE}$$,%%GEM_CACHE%%,g \
-		;s,${GEM_DOC_DIR}(/.+)?$$,%%GEM_DOC_DIR%%\1,g \
-		;s,${GEM_LIB_DIR}(/.+)?$$,%%GEM_LIB_DIR%%\1,g \
-		;s,^${GEM_SPEC}$$,%%GEM_SPEC%%,g \
-		;s,^${GEMS_BASE_DIR}/(.+)$$,\1,g \
-		;s,^@dirrm (${SPEC_DIR}|${GEMS_DIR}|lib/ruby).*$$,,g \
-		' | ${TR} -s '\n') > temp-pkg-plist
-
 .include <bsd.port.mk>
Index: www/rubygem-amazon-ecs/Makefile
===================================================================
RCS file: /home/ncvs/ports/www/rubygem-amazon-ecs/Makefile,v
retrieving revision 1.4
diff -u -r1.4 Makefile
--- www/rubygem-amazon-ecs/Makefile	6 Apr 2008 08:58:18 -0000	1.4
+++ www/rubygem-amazon-ecs/Makefile	11 Jul 2008 03:21:56 -0000
@@ -19,13 +19,4 @@
 USE_RUBY=	yes
 USE_RUBYGEMS=	yes
 
-# This target is only meant to be used by the port maintainer.
-x-generate-plist:
-	${ECHO} %%GEM_CACHE%% > pkg-plist.new
-	${FIND} ${PREFIX}/${GEM_DOC_DIR} -type f | ${SED} -e 's,${PREFIX}/${GEM_DOC_DIR},%%GEM_DOC_DIR%%,' >> pkg-plist.new
-	${FIND} ${PREFIX}/${GEM_LIB_DIR} -type f | ${SED} -e 's,${PREFIX}/${GEM_LIB_DIR},%%GEM_LIB_DIR%%,' >> pkg-plist.new
-	${ECHO} %%GEM_SPEC%% >> pkg-plist.new
-	${FIND} ${PREFIX}/${GEM_LIB_DIR} -type d -depth | ${SED} -e 's,${PREFIX}/${GEM_LIB_DIR},@dirrm %%GEM_LIB_DIR%%,' >> pkg-plist.new
-	${FIND} ${PREFIX}/${GEM_DOC_DIR} -type d -depth | ${SED} -e 's,${PREFIX}/${GEM_DOC_DIR},@dirrm %%GEM_DOC_DIR%%,' >> pkg-plist.new
-
 .include <bsd.port.mk>
Index: www/rubygem-mongrel/Makefile
===================================================================
RCS file: /home/ncvs/ports/www/rubygem-mongrel/Makefile,v
retrieving revision 1.17
diff -u -r1.17 Makefile
--- www/rubygem-mongrel/Makefile	14 Apr 2008 09:26:23 -0000	1.17
+++ www/rubygem-mongrel/Makefile	11 Jul 2008 03:21:56 -0000
@@ -27,17 +27,4 @@
 post-install:
 	@${RM} -rf "${PREFIX}/${GEM_LIB_DIR}/ext"
 
-# This target is only meant to be used by the port maintainer.
-x-generate-plist:
-	(${PORTSDIR}/Tools/scripts/plist -d -m ${MTREE_FILE} ${PREFIX} \
-	| ${SED} -E \
-		's,.*share/nls/.+$$,,g \
-		;s,^${GEM_CACHE}$$,%%GEM_CACHE%%,g \
-		;s,${GEM_DOC_DIR}(/.+)?$$,%%GEM_DOC_DIR%%\1,g \
-		;s,${GEM_LIB_DIR}(/.+)?$$,%%GEM_LIB_DIR%%\1,g \
-		;s,^${GEM_SPEC}$$,%%GEM_SPEC%%,g \
-		;s,^${GEMS_BASE_DIR}/(.+)$$,\1,g \
-		;s,^@dirrm (${SPEC_DIR}|${GEMS_DIR}|lib/ruby).*$$,,g \
-		' | ${TR} -s '\n') > temp-pkg-plist
-
 .include <bsd.port.mk>
Index: www/rubygem-mongrel_cluster/Makefile
===================================================================
RCS file: /home/ncvs/ports/www/rubygem-mongrel_cluster/Makefile,v
retrieving revision 1.13
diff -u -r1.13 Makefile
--- www/rubygem-mongrel_cluster/Makefile	6 Apr 2008 08:58:19 -0000	1.13
+++ www/rubygem-mongrel_cluster/Makefile	11 Jul 2008 03:21:56 -0000
@@ -21,20 +21,6 @@
 USE_RUBYGEMS=	yes
 REINPLACE_ARGS=	-i ""
 
-# This target is only meant to be used by the port maintainer.
-x-generate-plist:
-	(${PORTSDIR}/Tools/scripts/plist -d -m ${MTREE_FILE} ${PREFIX} \
-	| ${SED} -E \
-		's,.*share/nls/.+$$,,g \
-		;s,.*etc/rc.d/.+$$,,g \
-		;s,^${GEM_CACHE}$$,%%GEM_CACHE%%,g \
-		;s,${GEM_DOC_DIR}(/.+)?$$,%%GEM_DOC_DIR%%\1,g \
-		;s,${GEM_LIB_DIR}(/.+)?$$,%%GEM_LIB_DIR%%\1,g \
-		;s,^${GEM_SPEC}$$,%%GEM_SPEC%%,g \
-		;s,^${GEMS_BASE_DIR}/(.+)$$,\1,g \
-		;s,^@dirrm (${SPEC_DIR}|${GEMS_DIR}|lib/ruby).*$$,,g \
-		' | ${TR} -s '\n') > temp-pkg-plist
-
 post-install:
 	${RMDIR} ${PREFIX}/${GEM_DOC_DIR}
 	@${REINPLACE_CMD} -e 's|/usr/bin/env ruby|${RUBY}|' ${PREFIX}/bin/mongrel_cluster_ctl
Index: www/rubygem-rails-app-installer/Makefile
===================================================================
RCS file: /home/ncvs/ports/www/rubygem-rails-app-installer/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- www/rubygem-rails-app-installer/Makefile	6 Apr 2008 08:58:20 -0000	1.2
+++ www/rubygem-rails-app-installer/Makefile	11 Jul 2008 03:21:56 -0000
@@ -23,17 +23,4 @@
 USE_RAKE=	yes
 USE_RUBYGEMS=	yes
 
-# This target is only meant to be used by the port maintainer.
-x-generate-plist:
-	(${PORTSDIR}/Tools/scripts/plist -d -m ${MTREE_FILE} ${PREFIX} \
-	| ${SED} -E \
-		's,.*share/nls/.+$$,,g \
-		;s,^${GEM_CACHE}$$,%%GEM_CACHE%%,g \
-		;s,${GEM_DOC_DIR}(/.+)?$$,%%GEM_DOC_DIR%%\1,g \
-		;s,${GEM_LIB_DIR}(/.+)?$$,%%GEM_LIB_DIR%%\1,g \
-		;s,^${GEM_SPEC}$$,%%GEM_SPEC%%,g \
-		;s,^${GEMS_BASE_DIR}/(.+)$$,\1,g \
-		;s,^@dirrm (${SPEC_DIR}|${GEMS_DIR}|lib/ruby).*$$,,g \
-		' | ${TR} -s '\n') > temp-pkg-plist
-
 .include <bsd.port.mk>
Index: www/rubygem-rails/Makefile
===================================================================
RCS file: /home/ncvs/ports/www/rubygem-rails/Makefile,v
retrieving revision 1.18
diff -u -r1.18 Makefile
--- www/rubygem-rails/Makefile	6 Apr 2008 08:58:20 -0000	1.18
+++ www/rubygem-rails/Makefile	11 Jul 2008 03:21:56 -0000
@@ -29,19 +29,6 @@
 USE_RAKE=	yes
 USE_RUBYGEMS=	yes
 
-# This target is only meant to be used by the port maintainer.
-x-generate-plist:
-	(${PORTSDIR}/Tools/scripts/plist -d -m ${MTREE_FILE} ${PREFIX} \
-	| ${SED} -E \
-		's,.*share/nls/.+$$,,g \
-		;s,^${GEM_CACHE}$$,%%GEM_CACHE%%,g \
-		;s,${GEM_DOC_DIR}(/.+)?$$,%%GEM_DOC_DIR%%\1,g \
-		;s,${GEM_LIB_DIR}(/.+)?$$,%%GEM_LIB_DIR%%\1,g \
-		;s,^${GEM_SPEC}$$,%%GEM_SPEC%%,g \
-		;s,^${GEMS_BASE_DIR}/(.+)$$,\1,g \
-		;s,^@dirrm (${SPEC_DIR}|${GEMS_DIR}|lib/ruby).*$$,,g \
-		' | ${TR} -s '\n') > temp-pkg-plist
-
 .include <bsd.port.pre.mk>
 
 .if defined(WITH_FCGI)
Index: www/rubygem-scrubyt/Makefile
===================================================================
RCS file: /home/ncvs/ports/www/rubygem-scrubyt/Makefile,v
retrieving revision 1.5
diff -u -r1.5 Makefile
--- www/rubygem-scrubyt/Makefile	6 Apr 2008 08:58:21 -0000	1.5
+++ www/rubygem-scrubyt/Makefile	11 Jul 2008 03:21:56 -0000
@@ -19,13 +19,4 @@
 USE_RUBY=	yes
 USE_RUBYGEMS=	yes
 
-# This target is only meant to be used by the port maintainer.
-x-generate-plist:
-	${ECHO} %%GEM_CACHE%% > pkg-plist.new
-	${FIND} ${PREFIX}/${GEM_DOC_DIR} -type f | ${SED} -e 's,${PREFIX}/${GEM_DOC_DIR},%%GEM_DOC_DIR%%,' >> pkg-plist.new
-	${FIND} ${PREFIX}/${GEM_LIB_DIR} -type f | ${SED} -e 's,${PREFIX}/${GEM_LIB_DIR},%%GEM_LIB_DIR%%,' >> pkg-plist.new
-	${ECHO} %%GEM_SPEC%% >> pkg-plist.new
-	${FIND} ${PREFIX}/${GEM_LIB_DIR} -type d -depth | ${SED} -e 's,${PREFIX}/${GEM_LIB_DIR},@dirrm %%GEM_LIB_DIR%%,' >> pkg-plist.new
-	${FIND} ${PREFIX}/${GEM_DOC_DIR} -type d -depth | ${SED} -e 's,${PREFIX}/${GEM_DOC_DIR},@dirrm %%GEM_DOC_DIR%%,' >> pkg-plist.new
-
 .include <bsd.port.mk>
--- plist.diff ends here ---


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->stas 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Fri Jul 11 03:30:16 UTC 2008 
Responsible-Changed-Why:  
bsd.ruby.mk is stas territory (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=125494 
State-Changed-From-To: open->feedback 
State-Changed-By: stas 
State-Changed-When: Sat Jul 12 22:42:29 UTC 2008 
State-Changed-Why:  
- Awaiting submitter responce. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=125494 

From: Stanislav Sedov <stas@FreeBSD.org>
To: bug-followup@FreeBSD.org
Cc: "Philip M. Gollucci" <pgollucci@p6m7g8.com>
Subject: Re: ports/125494: [PATCH]: Mk/bsd.ruby.mk - relocate/consolidate
 x-generate-plist to bsd.ruby.mk
Date: Sun, 13 Jul 2008 02:36:48 +0400

 I don't think it's a good idea to add this target
 to bsd.port.mk. That's not required for ports infrastructure
 itself and used only by ports developers. Furthermore,
 the entire idea of static package lists for rubygems
 is broken-by-design, as, for example, the naming
 of RI docs depends on ruby version and even on
 the type of filesystem. I described this in detail
 some time ago in ports@. Thus it'd be much useful
 to add a special target to bsd.ruby.mk to generate
 package-plist for gem automatically (at least the
 RI part) and convert all gems that still use static
 plists to use that target. I wan planning to work
 on this and even got several patches, but went
 out of time:-(
 
 So if you feel motivated to work on this issue, I'm
 all up for this.
 
 -- 
 Stanislav Sedov
 ST4096-RIPE

From: "Philip M. Gollucci" <pgollucci@p6m7g8.com>
To: Stanislav Sedov <stas@FreeBSD.org>
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/125494: [PATCH]: Mk/bsd.ruby.mk - relocate/consolidate
 x-generate-plist to bsd.ruby.mk
Date: Mon, 14 Jul 2008 22:53:07 -0400

 Stanislav Sedov wrote:
 > I don't think it's a good idea to add this target
 > to bsd.port.mk. That's not required for ports infrastructure
       ^^^^ I'll assume you meant bsd.ruby.mk.
 
 > the entire idea of static package lists for rubygems
 > is broken-by-design, as, for example, the naming
 > of RI docs depends on ruby version and even on
 > the type of filesystem. 
 Right (ZFS) which is wierd.
 
 I wouldn't call them static per say....
 
 
 
 > some time ago in ports@. Thus it'd be much useful
 > to add a special target to bsd.ruby.mk to generate
 > package-plist for gem automatically (at least the
 > RI part) and convert all gems that still use static
 > plists to use that target. I wan planning to work
 > on this and even got several patches, but went
 > out of time:-(
 Link ?
 
 > 
 > So if you feel motivated to work on this issue, I'm
 > all up for this.
 
 Well at the moment, I work at an RoR shop, but I'm not particularly into 
 ruby et al.
 I am however motivated to make updates to the ruby port gems easier for 
 myself.
 
 
 
 
 -- 
 ------------------------------------------------------------------------
 Philip M. Gollucci (philip@ridecharge.com)
 o:703.549.2050x206
 Senior System Admin - Riderway, Inc.
 http://riderway.com / http://ridecharge.com
 1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C
 
 Work like you don't need the money,
 love like you'll never get hurt,
 and dance like nobody's watching.
 

From: Alexander Logvinov <ports@logvinov.com>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/125494: [PATCH]: Mk/bsd.ruby.mk - relocate/consolidate x-generate-plist to bsd.ruby.mk
Date: Mon, 11 Aug 2008 13:03:38 +1000

 ------------73139924DBC38C
 Content-Type: text/plain; charset=windows-1251
 Content-Transfer-Encoding: quoted-printable
 
 Hello!
 
   What do you think about this patch?
 
 Example:
 
 PORTNAME=3D       rutils
 PORTVERSION=3D    0.2.5
 CATEGORIES=3D     russian devel rubygems
 MASTER_SITES=3D   RF
 
 MAINTAINER=3D     ports@logvinov.com
 COMMENT=3D        Simple processing of russian strings
 
 USE_RUBY=3D       yes
 USE_RUBYGEMS=3D   yes
 AUTOMATIC_PLIST=3D        yes
 EXTRA_PLIST_FILES=3D      bin/gilensize bin/rutilize
 
 
 Index: bsd.ruby.mk
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
 RCS file: /home/pcvs/ports/Mk/bsd.ruby.mk,v
 retrieving revision 1.172
 diff -u -r1.172 bsd.ruby.mk
 --- bsd.ruby.mk 10 Aug 2008 19:26:32 -0000      1.172
 +++ bsd.ruby.mk 11 Aug 2008 00:23:05 -0000
 @@ -426,6 +426,21 @@
         ${SETENV} ${GEM_ENV} ${RUBYGEMBIN} install -l --no-update-sources -=
 -no-ri --install-dir ${PREFIX}/lib/ruby/gems/${RUBY_VER} ${DISTDIR}/${DIST_=
 SUBDIR}/${_D} -- --build-args ${CONFIGURE_ARGS}
  .endfor
 =20
 +.if defined(AUTOMATIC_PLIST)
 +post-install:
 +.if defined(EXTRA_PLIST_FILES)
 +.for file in ${EXTRA_PLIST_FILES}
 +       @${ECHO} ${file} >> ${TMPPLIST}
 +.endfor
 +.endif
 +       @${ECHO} ${GEM_CACHE} >> ${TMPPLIST}
 +       @${FIND} ${PREFIX}/${GEM_DOC_DIR} -type f | ${SED} -e 's,${PREFIX}/=
 ${GEM_DOC_DIR},${GEM_DOC_DIR},' >> ${TMPPLIST}
 +       @${FIND} ${PREFIX}/${GEM_LIB_DIR} -type f | ${SED} -e 's,${PREFIX}/=
 ${GEM_LIB_DIR},${GEM_LIB_DIR},' >> ${TMPPLIST}
 +       @${ECHO} ${GEM_SPEC} >> ${TMPPLIST}
 +       @${FIND} ${PREFIX}/${GEM_LIB_DIR} -type d -depth | ${SED} -e 's,${P=
 REFIX}/${GEM_LIB_DIR},@dirrm ${GEM_LIB_DIR},' >> ${TMPPLIST}
 +       @${FIND} ${PREFIX}/${GEM_DOC_DIR} -type d -depth | ${SED} -e 's,${P=
 REFIX}/${GEM_DOC_DIR},@dirrm ${GEM_DOC_DIR},' >> ${TMPPLIST}
 +.endif
 +
  .endif # USE_RUBYGEMS
 =20
  #
  =20
 
 --
 WBR
 ------------73139924DBC38C
 Content-Type: application/pgp-signature
 
 -----BEGIN PGP MESSAGE-----
 Version: GnuPG v1.4.9 (MingW32)
 
 iQEcBAEBAgAGBQJIn6wKAAoJECvkNOkwqtvMgasH/AoT2HL0huAkYmlc6DH5t5Pi
 ChWR3c+CRQ6noZL8dfD4sOkP9X4NfHmIuaz/fNTzgdfNCu87MH5juHch9aYiP1kc
 pNv2n0cuW2DEHHonmvOXl/2LY529gGXS3QgEskL2XOLcqDOussWktYsOCERlayzx
 2uE4jXo3mNAHGRdx86uXVnK/AHoquiV6KiT7RWlR2oGRsolBUIAel9n94S/7aV+i
 0FqxKBQehJzKcCoHWCybSLJYHn3gWYf7vY6t582gd4hk/KUHk9Ke7653GOpMSdeM
 jDTWyaeixcKStmXG2n8YK95cyeNbv/0aXsjJq+WfSppUKZ08lERIqeUiM8ANtZQ=
 =YdaN
 -----END PGP MESSAGE-----
 
 ------------73139924DBC38C--
 

From: Alexander Logvinov <ports@logvinov.com>
To: bug-followup@FreeBSD.org
Cc: stas@freebsd.org, pav@freebsd.org
Subject: Re: ports/125494: [PATCH]: Mk/bsd.ruby.mk - relocate/consolidate x-generate-plist to bsd.ruby.mk
Date: Wed, 17 Sep 2008 19:11:36 +1000

 ------------949819B3922EB2E
 Content-Type: text/plain; charset=windows-1251
 Content-Transfer-Encoding: quoted-printable
 
 Hello!
 
   I have prepared new patch and tinderbox build of all 108 rubygem-* ports
   while ports freeze in effect and I have some free time.
 
 Index: bsd.ruby.mk
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
 RCS file: /home/pcvs/ports/Mk/bsd.ruby.mk,v
 retrieving revision 1.173
 diff -u -r1.173 bsd.ruby.mk
 --- bsd.ruby.mk 15 Aug 2008 21:45:55 -0000      1.173
 +++ bsd.ruby.mk 17 Sep 2008 07:26:18 -0000
 @@ -426,6 +426,21 @@
         ${SETENV} ${GEM_ENV} ${RUBYGEMBIN} install -l --no-update-sources -=
 -no-ri --install-dir ${PREFIX}/lib/ruby/gems/${RUBY_VER} ${DISTDIR}/${DIST_=
 SUBDIR}/${_D} -- --build-args ${CONFIGURE_ARGS}
  .endfor
 =20
 +.if !defined(NO_AUTOMATIC_PLIST)
 +post-install-script:
 +.if defined(EXTRA_PLIST_FILES)
 +.for file in ${EXTRA_PLIST_FILES}
 +       @${ECHO} ${file} >> ${TMPPLIST}
 +.endfor
 +.endif
 +       @${ECHO} ${GEM_CACHE} >> ${TMPPLIST}
 +       @${FIND} ${PREFIX}/${GEM_DOC_DIR} ! -type d | ${SED} -e 's,${PREFIX=
 }/${GEM_DOC_DIR},${GEM_DOC_DIR},' >> ${TMPPLIST}
 +       @${FIND} ${PREFIX}/${GEM_LIB_DIR} ! -type d | ${SED} -e 's,${PREFIX=
 }/${GEM_LIB_DIR},${GEM_LIB_DIR},' >> ${TMPPLIST}
 +       @${ECHO} ${GEM_SPEC} >> ${TMPPLIST}
 +       @${FIND} ${PREFIX}/${GEM_LIB_DIR} -type d -depth | ${SED} -e 's,${P=
 REFIX}/${GEM_LIB_DIR},@dirrm ${GEM_LIB_DIR},' >> ${TMPPLIST}
 +       @${FIND} ${PREFIX}/${GEM_DOC_DIR} -type d -depth | ${SED} -e 's,${P=
 REFIX}/${GEM_DOC_DIR},@dirrm ${GEM_DOC_DIR},' >> ${TMPPLIST}
 +.endif
 +
  .endif # USE_RUBYGEMS
 =20
  #
 
 
    Here is this patch: http://www.logvinov.ru/files/ruby/ruby_mk.diff
    Ports diff: http://www.logvinov.ru/files/ruby/rubygem.diff
    Logs: http://www.logvinov.ru/files/ruby/logs/
 
    This patches should fix ZFS pointyhat rubygem-* package builds.
 
 --
 Best regards,
  Alexander                          mailto:ports@logvinov.com
 ------------949819B3922EB2E
 Content-Type: application/pgp-signature
 
 -----BEGIN PGP MESSAGE-----
 Version: GnuPG v1.4.9 (MingW32)
 
 iQEcBAEBAgAGBQJI0MnIAAoJECvkNOkwqtvMfp0IAJCHq7y1YYuxiW/T6lpzr5Ob
 GoQlilp1Ilv/NmnLiWEOXdQ/rdg3yHyOL7COIFgXeUAymlrcFqUpp+b3D4MOzPib
 nWqZbSogGZA/DNXS1ldAueoEETOd+R7jPAqis+XkCgiQhOplJ5j0MVWpH8KDurGH
 6ktKjEaXgixUkDFI+N3ei8fOfFn+dkNf3PizIz8Zaemm7bNnrskWa2QBzI/ZyiV/
 EKwFW7FKwb095c0Nii9nxljNxAkENQAOE69h5IgyNnq4Yi868aipJYDNN1eXM4aT
 LUxyS0AkLnIj9VcqB6HKtxzpJIB5OScrdIGhBFtFkEE3aei1NSYEiJ8qWgulcQY=
 =jFkU
 -----END PGP MESSAGE-----
 
 ------------949819B3922EB2E--
 

From: Stanislav Sedov <stas@FreeBSD.org>
To: Alexander Logvinov <ports@logvinov.com>
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/125494: [PATCH]: Mk/bsd.ruby.mk - relocate/consolidate
 x-generate-plist to bsd.ruby.mk
Date: Wed, 24 Sep 2008 00:05:58 +0400

 --Signature=_Wed__24_Sep_2008_00_05_58_+0400_lqStfR3OnlqU3WRP
 Content-Type: text/plain; charset=US-ASCII
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 On Wed, 17 Sep 2008 09:50:03 GMT
 Alexander Logvinov <ports@logvinov.com> mentioned:
 
 >  Hello!
 > =20
 >    I have prepared new patch and tinderbox build of all 108 rubygem-* por=
 ts
 >    while ports freeze in effect and I have some free time.
 > =20
 >  Index: bsd.ruby.mk
 >  =3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=
 =3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D
 >  =3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=
 =3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D
 >  =3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=
 =3D3D=3D3D=3D3D
 >  RCS file: /home/pcvs/ports/Mk/bsd.ruby.mk,v
 >  retrieving revision 1.173
 >  diff -u -r1.173 bsd.ruby.mk
 >  --- bsd.ruby.mk 15 Aug 2008 21:45:55 -0000      1.173
 >  +++ bsd.ruby.mk 17 Sep 2008 07:26:18 -0000
 >  @@ -426,6 +426,21 @@
 >          ${SETENV} ${GEM_ENV} ${RUBYGEMBIN} install -l --no-update-source=
 s -=3D
 >  -no-ri --install-dir ${PREFIX}/lib/ruby/gems/${RUBY_VER} ${DISTDIR}/${DI=
 ST_=3D
 >  SUBDIR}/${_D} -- --build-args ${CONFIGURE_ARGS}
 >   .endfor
 >  =3D20
 >  +.if !defined(NO_AUTOMATIC_PLIST)
 >  +post-install-script:
 >  +.if defined(EXTRA_PLIST_FILES)
 >  +.for file in ${EXTRA_PLIST_FILES}
 >  +       @${ECHO} ${file} >> ${TMPPLIST}
 >  +.endfor
 >  +.endif
 >  +       @${ECHO} ${GEM_CACHE} >> ${TMPPLIST}
 >  +       @${FIND} ${PREFIX}/${GEM_DOC_DIR} ! -type d | ${SED} -e 's,${PRE=
 FIX=3D
 >  }/${GEM_DOC_DIR},${GEM_DOC_DIR},' >> ${TMPPLIST}
 >  +       @${FIND} ${PREFIX}/${GEM_LIB_DIR} ! -type d | ${SED} -e 's,${PRE=
 FIX=3D
 >  }/${GEM_LIB_DIR},${GEM_LIB_DIR},' >> ${TMPPLIST}
 >  +       @${ECHO} ${GEM_SPEC} >> ${TMPPLIST}
 >  +       @${FIND} ${PREFIX}/${GEM_LIB_DIR} -type d -depth | ${SED} -e 's,=
 ${P=3D
 >  REFIX}/${GEM_LIB_DIR},@dirrm ${GEM_LIB_DIR},' >> ${TMPPLIST}
 >  +       @${FIND} ${PREFIX}/${GEM_DOC_DIR} -type d -depth | ${SED} -e 's,=
 ${P=3D
 >  REFIX}/${GEM_DOC_DIR},@dirrm ${GEM_DOC_DIR},' >> ${TMPPLIST}
 >  +.endif
 >  +
 >   .endif # USE_RUBYGEMS
 >  =3D20
 >   #
 > =20
 
 Thanks for working on this! This work is very appreciated, indeed.
 Do you think it might be better to generate automatic plist entries
 only for RI files, leaving all the 'normal' entries in place? In
 ports collection we prefer to have static plist for better tracking
 what is installing.
 
 We could add an option like USE_RUBY_AUTOGEMDOCS, which will cause
 bsd.ruby.mk to scan gem doc dir for RI files and add them to plist.
 Given the fact that RI dir location is always the same that should
 work well.
 
 What do you think?
 
 --=20
 Stanislav Sedov
 ST4096-RIPE
 
 --Signature=_Wed__24_Sep_2008_00_05_58_+0400_lqStfR3OnlqU3WRP
 Content-Type: application/pgp-signature
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.9 (FreeBSD)
 
 iEYEARECAAYFAkjZTCYACgkQK/VZk+smlYENogCfdT7D+lpHA6fLjRixeixX4Zc1
 fX0An2c4jYsdNERdyG5Oc2sNZ2u9T5nl
 =GkzQ
 -----END PGP SIGNATURE-----
 
 --Signature=_Wed__24_Sep_2008_00_05_58_+0400_lqStfR3OnlqU3WRP--
State-Changed-From-To: feedback->closed 
State-Changed-By: pav 
State-Changed-When: Thu Mar 26 15:09:01 UTC 2009 
State-Changed-Why:  
recent bsd.ruby.mk now features RUBYGEM_AUTOPLIST 

http://www.freebsd.org/cgi/query-pr.cgi?pr=125494 
>Unformatted:
