Handle ri document directories properly.

This commit is contained in:
Akinori MUSHA 2004-08-12 09:46:42 +00:00
parent e68b38c1ca
commit a968313325
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=116011
2 changed files with 2047 additions and 2036 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= ruby${RUBY_R}
PORTVERSION= ${RUBY_PORTVERSION}
PORTREVISION= 1
CATEGORIES= lang ruby ipv6
MASTER_SITES= ${MASTER_SITE_RUBY}
MASTER_SITE_SUBDIR= ${MASTER_SITE_SUBDIR_RUBY}
@ -157,6 +158,10 @@ post-install:
${TOUCH} ${RUBY_EXAMPLESDIR}/.keep_me
${MKDIR} ${RUBY_DOCDIR}
${TOUCH} ${RUBY_DOCDIR}/.keep_me
${MKDIR} ${RUBY_RIDIR}
${SETENV} LC_TIME=C /bin/date > ${RUBY_RIDIR}/created.rid
${MKDIR} ${RUBY_SITERIDIR}
${SETENV} LC_TIME=C /bin/date > ${RUBY_SITERIDIR}/created.rid
.if !defined(NOPORTDOCS)
${CP} -R ${WRKSRC}/sample/* ${RUBY_EXAMPLESDIR}/
${MKDIR} ${RUBY_EXAMPLESDIR}/curses

File diff suppressed because it is too large Load Diff