diff options
author | jlam <jlam> | 2008-03-14 16:41:21 +0000 |
---|---|---|
committer | jlam <jlam> | 2008-03-14 16:41:21 +0000 |
commit | 9342f2117a1d8b1ec20813116df835f8f9d866b5 (patch) | |
tree | 0e7c40978632e93afd4fb1369026d4ddb8f01310 /misc/rubygems | |
parent | d5bbf9023aa4d41ef297662e94655b93c94767ce (diff) | |
download | pkgsrc-9342f2117a1d8b1ec20813116df835f8f9d866b5.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/rubygems')
-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 |