summaryrefslogtreecommitdiffstats
path: root/lang/ruby18/Makefile
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2004-08-12 09:46:42 +0000
committerknu <knu@FreeBSD.org>2004-08-12 09:46:42 +0000
commitf7b0283c7cb43d48464e0df40da4f2b625ad9948 (patch)
treedf3bfdff54f4d8ab0ddec18d445c54e44bc2da91 /lang/ruby18/Makefile
parent9055efed349c5be010e6ff607fc626cd62b1f05c (diff)
downloadFreeBSD-ports-f7b0283c7cb43d48464e0df40da4f2b625ad9948.zip
FreeBSD-ports-f7b0283c7cb43d48464e0df40da4f2b625ad9948.tar.gz
Handle ri document directories properly.
Diffstat (limited to 'lang/ruby18/Makefile')
-rw-r--r--lang/ruby18/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/lang/ruby18/Makefile b/lang/ruby18/Makefile
index 1f50ef0..e155886 100644
--- a/lang/ruby18/Makefile
+++ b/lang/ruby18/Makefile
@@ -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
OpenPOWER on IntegriCloud