diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-14 16:41:21 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-14 16:41:21 +0000 |
commit | a8457261fb56fd94261cc200bee1517e814c5ae4 (patch) | |
tree | 0e7c40978632e93afd4fb1369026d4ddb8f01310 /misc | |
parent | d4cf170bf4cc53806731f354d120171de3af1f3c (diff) | |
download | pkgsrc-a8457261fb56fd94261cc200bee1517e814c5ae4.tar.gz |
Allow for gem-extract to be overridden so that packages with special
extraction procedures can be handled by this file.
Diffstat (limited to 'misc')
-rw-r--r-- | misc/rubygems/rubygem.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/misc/rubygems/rubygem.mk b/misc/rubygems/rubygem.mk index d29c58ea0b2..92c397ce77d 100644 --- a/misc/rubygems/rubygem.mk +++ b/misc/rubygems/rubygem.mk @@ -1,4 +1,4 @@ -# $NetBSD: rubygem.mk,v 1.19 2008/03/14 15:30:10 jlam Exp $ +# $NetBSD: rubygem.mk,v 1.20 2008/03/14 16:41:21 jlam Exp $ # # This Makefile fragment is intended to be included by packages that build # and install Ruby gems. @@ -134,6 +134,7 @@ _GEMSPEC_FILE= ${WRKDIR}/${PKGBASE:S|^${RUBY_PKGPREFIX}-||}.gemspec .PHONY: gem-extract do-extract: gem-extract +.if !target(gem-extract) gem-extract: ${RUN} cd ${WRKDIR} && ${EXTRACTOR} -f tar ${_DISTDIR:Q}/${GEMFILE:Q} ${RUN} mkdir ${WRKSRC} @@ -141,6 +142,7 @@ gem-extract: ${RUN} cd ${WRKDIR} && ${EXTRACTOR} metadata.gz && \ mv metadata ${_GEMSPEC_FILE} ${RUN} cd ${WRKDIR} && rm -f data.tar.gz* metadata.gz* +.endif ### ### gem-build |