diff options
author | tota <tota@FreeBSD.org> | 2014-06-28 16:08:31 +0800 |
---|---|---|
committer | tota <tota@FreeBSD.org> | 2014-06-28 16:08:31 +0800 |
commit | cc045efe1aed0d57ae449a89ac401bfd222c621e (patch) | |
tree | f0d8179c30c57b0723e6a5c3c78cbf98764e970c /devel | |
parent | f862195a5dc53de70409b5ae8f2e4158b2d9b7a5 (diff) | |
download | freebsd-ports-gnome-cc045efe1aed0d57ae449a89ac401bfd222c621e.tar.gz freebsd-ports-gnome-cc045efe1aed0d57ae449a89ac401bfd222c621e.tar.zst freebsd-ports-gnome-cc045efe1aed0d57ae449a89ac401bfd222c621e.zip |
- Support STAGEDIR
- Add LICENSE section
Diffstat (limited to 'devel')
-rw-r--r-- | devel/rubygem-io-like/Makefile | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/devel/rubygem-io-like/Makefile b/devel/rubygem-io-like/Makefile index 3e8feb9c8467..561a5b1fb5d8 100644 --- a/devel/rubygem-io-like/Makefile +++ b/devel/rubygem-io-like/Makefile @@ -11,11 +11,13 @@ PKGNAMEPREFIX= rubygem- MAINTAINER= tota@FreeBSD.org COMMENT= The interface of IO objects to classes providing a few simple methods +LICENSE= RUBY +LICENSE_FILE= ${WRKSRC}/LICENSE + BUILD_DEPENDS= ${RUBYGEMBIN}:${PORTSDIR}/devel/ruby-gems \ rdoc:${PORTSDIR}/devel/rubygem-rdoc RUN_DEPENDS= ${RUBYGEMBIN}:${PORTSDIR}/devel/ruby-gems -NROKEN= not staged USE_RUBY= yes USE_RAKE= yes @@ -49,13 +51,12 @@ RUBYGEMBIN= ${LOCALBASE}/bin/gem${RUBY_VER:S/.//} GEMFILES= ${GEM_NAME}.gem -RUBYGEM_ARGS=-l --no-update-sources --no-ri --install-dir ${PREFIX}/lib/ruby/gems/${RUBY_VER} +RUBYGEM_ARGS=-l --no-update-sources --no-ri --install-dir ${STAGEDIR}${PREFIX}/lib/ruby/gems/${RUBY_VER} --ignore-dependencies --bindir=${STAGEDIR}${PREFIX}/bin WRKSRC= ${WRKDIR}/${PORTNAME}-ruby-1.9-temp OPTIONS_DEFINE= DOCS -NO_STAGE= yes .include <bsd.port.options.mk> .if ${PORT_OPTIONS:MDOCS} @@ -82,15 +83,15 @@ post-install: @${ECHO} ${GEM_CACHE} >> ${TMPPLIST} @${ECHO} ${GEM_SPEC} >> ${TMPPLIST} .if ${PORT_OPTIONS:MDOCS} - @${FIND} -ds ${PREFIX}/${GEM_DOC_DIR} -type f -print | ${SED} -E -e \ - 's,^${PREFIX}/?,,' >> ${TMPPLIST} - @${FIND} -ds ${PREFIX}/${GEM_DOC_DIR} -type d -print | ${SED} -E -e \ - 's,^${PREFIX}/?,@dirrm ,' >> ${TMPPLIST} + @${FIND} -ds ${STAGEDIR}${PREFIX}/${GEM_DOC_DIR} -type f -print | ${SED} -E -e \ + 's,^${STAGEDIR}${PREFIX}/?,,' >> ${TMPPLIST} + @${FIND} -ds ${STAGEDIR}${PREFIX}/${GEM_DOC_DIR} -type d -print | ${SED} -E -e \ + 's,^${STAGEDIR}${PREFIX}/?,@dirrm ,' >> ${TMPPLIST} .endif - @${FIND} -ds ${PREFIX}/${GEM_LIB_DIR} -type f -print | ${SED} -E -e \ - 's,^${PREFIX}/?,,' >> ${TMPPLIST} - @${FIND} -ds ${PREFIX}/${GEM_LIB_DIR} -type d -print | ${SED} -E -e \ - 's,^${PREFIX}/?,@dirrm ,' >> ${TMPPLIST} + @${FIND} -ds ${STAGEDIR}${PREFIX}/${GEM_LIB_DIR} -type f -print | ${SED} -E -e \ + 's,^${STAGEDIR}${PREFIX}/?,,' >> ${TMPPLIST} + @${FIND} -ds ${STAGEDIR}${PREFIX}/${GEM_LIB_DIR} -type d -print | ${SED} -E -e \ + 's,^${STAGEDIR}${PREFIX}/?,@dirrm ,' >> ${TMPPLIST} @${ECHO_CMD} "@unexec rmdir %D/${GEMS_DIR} 2>/dev/null || true" >> ${TMPPLIST} .if ${PORT_OPTIONS:MDOCS} @${ECHO_CMD} "@unexec rmdir %D/${DOC_DIR} 2>/dev/null || true" >> ${TMPPLIST} |