Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Jul 2008 03:24:54 GMT
From:      "Philip M. Gollucci" <pgollucci@p6m7g8.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        stas@FreeBSD.org, araujo@FreeBSD.org
Subject:   ports/125494: [PATCH]: Mk/bsd.ruby.mk - relocate/consolidate x-generate-plist to bsd.ruby.mk 
Message-ID:  <200807110324.m6B3Os5m023584@riderwayinc.com>
Resent-Message-ID: <200807110330.m6B3U7km067549@freefall.freebsd.org>

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

>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:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 11 03:30:07 UTC 2008
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



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