Sun Jun 14 22:34:19 2009 UTC ()
Do not add @dirrm to automatically-generated PLIST.


(minskim)
diff -r1.43 -r1.44 pkgsrc/misc/rubygems/rubygem.mk

cvs diff -r1.43 -r1.44 pkgsrc/misc/rubygems/Attic/rubygem.mk (expand / switch to unified diff)

--- pkgsrc/misc/rubygems/Attic/rubygem.mk 2009/06/14 18:12:48 1.43
+++ pkgsrc/misc/rubygems/Attic/rubygem.mk 2009/06/14 22:34:19 1.44
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: rubygem.mk,v 1.43 2009/06/14 18:12:48 minskim Exp $ 1# $NetBSD: rubygem.mk,v 1.44 2009/06/14 22:34:19 minskim Exp $
2# 2#
3# This Makefile fragment is intended to be included by packages that build 3# This Makefile fragment is intended to be included by packages that build
4# and install Ruby gems. 4# and install Ruby gems.
5# 5#
6# Package-settable variables: 6# Package-settable variables:
7# 7#
8# BUILD_TARGET 8# BUILD_TARGET
9# The Rakefile target that creates a local gem if using the 9# The Rakefile target that creates a local gem if using the
10# ``rake'' GEM_BUILD method. 10# ``rake'' GEM_BUILD method.
11# 11#
12# Default: gem 12# Default: gem
13# 13#
14# GEM_BUILD 14# GEM_BUILD
@@ -244,29 +244,27 @@ _gem-build-cleanbuild: @@ -244,29 +244,27 @@ _gem-build-cleanbuild:
244.endif 244.endif
245 245
246### 246###
247### gem-install 247### gem-install
248### 248###
249### The gem-install target installs the gem in ${_RUBY_INSTALL_ROOT} into 249### The gem-install target installs the gem in ${_RUBY_INSTALL_ROOT} into
250### the actual gem repository. 250### the actual gem repository.
251### 251###
252GENERATE_PLIST+= ${RUBYGEM_GENERATE_PLIST} 252GENERATE_PLIST+= ${RUBYGEM_GENERATE_PLIST}
253RUBYGEM_GENERATE_PLIST= \ 253RUBYGEM_GENERATE_PLIST= \
254 ${ECHO} "@comment The following lines are automatically generated." && \ 254 ${ECHO} "@comment The following lines are automatically generated." && \
255 ( cd ${_RUBYGEM_INSTALL_ROOT}${PREFIX} && \ 255 ( cd ${_RUBYGEM_INSTALL_ROOT}${PREFIX} && \
256 ${FIND} ${GEM_DOCDIR:S|${PREFIX}/||} \! -type d -print | \ 256 ${FIND} ${GEM_DOCDIR:S|${PREFIX}/||} \! -type d -print | \
257 ${SORT} && \ 257 ${SORT} );
258 ${FIND} ${GEM_DOCDIR:S|${PREFIX}/||} -type d -print | \ 
259 ${SORT} -r | ${SED} -e "s,^,@dirrm ," ); 
260 258
261_GEM_INSTALL_TARGETS= _gem-build-install-root 259_GEM_INSTALL_TARGETS= _gem-build-install-root
262_GEM_INSTALL_TARGETS+= _gem-build-install-root-check 260_GEM_INSTALL_TARGETS+= _gem-build-install-root-check
263.if !empty(GEM_CLEANBUILD) 261.if !empty(GEM_CLEANBUILD)
264_GEM_INSTALL_TARGETS+= _gem-build-cleanbuild 262_GEM_INSTALL_TARGETS+= _gem-build-cleanbuild
265.endif 263.endif
266_GEM_INSTALL_TARGETS+= _gem-install 264_GEM_INSTALL_TARGETS+= _gem-install
267 265
268.ORDER: ${_GEM_INSTALL_TARGETS} 266.ORDER: ${_GEM_INSTALL_TARGETS}
269 267
270USE_TOOLS+= pax 268USE_TOOLS+= pax
271 269
272do-install: ${_GEM_INSTALL_TARGETS} 270do-install: ${_GEM_INSTALL_TARGETS}