diff options
author | stas <stas@FreeBSD.org> | 2009-02-14 04:41:33 +0800 |
---|---|---|
committer | stas <stas@FreeBSD.org> | 2009-02-14 04:41:33 +0800 |
commit | 552b01f86ad0054b57836fa7af9688bb87a6bb5d (patch) | |
tree | dffb9e332fa85e0b91d636716adca3098cbea2ac /devel | |
parent | 3f63aeddd9978b26b97891bd177efb0d84747742 (diff) | |
download | freebsd-ports-gnome-552b01f86ad0054b57836fa7af9688bb87a6bb5d.tar.gz freebsd-ports-gnome-552b01f86ad0054b57836fa7af9688bb87a6bb5d.tar.zst freebsd-ports-gnome-552b01f86ad0054b57836fa7af9688bb87a6bb5d.zip |
- Do not try to add docs in PLIST in NOPORTDOCS case.
Pointy hat to: me
Diffstat (limited to 'devel')
-rw-r--r-- | devel/ruby-gems/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/devel/ruby-gems/Makefile b/devel/ruby-gems/Makefile index e116f2b90ec5..0e13af6267eb 100644 --- a/devel/ruby-gems/Makefile +++ b/devel/ruby-gems/Makefile @@ -55,11 +55,13 @@ post-install: @${TOUCH} ${PREFIX}/${GEMS_DOC_BASE_DIR}/.keep_this @${LN} -sf ${PREFIX}/bin/gem18 ${PREFIX}/bin/gem +.if !defined(NOPORTDOCS) @${FIND} -ds ${PREFIX}/lib/ruby/gems/${RUBY_VER}/doc/${DISTNAME} \ -type f -print | ${SED} -E -e 's,^${PREFIX}/?,,' >> ${TMPPLIST} @${FIND} -ds ${PREFIX}/lib/ruby/gems/${RUBY_VER}/doc/${DISTNAME} \ -type d -print | ${SED} -E -e 's,^${PREFIX}/?,@dirrm ,' >> ${TMPPLIST} @${ECHO_CMD} "@unexec rmdir %D/lib/ruby/gems/${RUBY_VER}/doc 2>/dev/null || true" >> ${TMPPLIST} +.endif @${ECHO_CMD} "@unexec rmdir %D/lib/ruby/gems/${RUBY_VER} 2>/dev/null || true" >> ${TMPPLIST} @${ECHO_CMD} "@unexec rmdir %D/lib/ruby/gems 2>/dev/null || true" >> ${TMPPLIST} @${ECHO_CMD} "@unexec rmdir %D/lib/ruby 2>/dev/null || true" >> ${TMPPLIST} |