summaryrefslogtreecommitdiff
path: root/lang/ruby16
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2000-10-20 19:56:05 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2000-10-20 19:56:05 +0000
commit849badb66173129a5af142bfe8051fb2d19db582 (patch)
tree7f1c6afaddee8a46fc924ed3a6087898853c13db /lang/ruby16
parentAllow users to define RUBY variable to utilize ruby ports with (diff)
Use RUBY_PORTVERSION, RUBY_DISTNAME and RUBY_WRKSRC.
Diffstat (limited to 'lang/ruby16')
-rw-r--r--lang/ruby16/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/lang/ruby16/Makefile b/lang/ruby16/Makefile
index 82e177ae05be..61ff05fee6e7 100644
--- a/lang/ruby16/Makefile
+++ b/lang/ruby16/Makefile
@@ -6,10 +6,11 @@
#
PORTNAME= ruby
-PORTVERSION= ${RUBY_VERSION}
+PORTVERSION= ${RUBY_PORTVERSION}
CATEGORIES= lang ruby ipv6
MASTER_SITES= ${MASTER_SITE_RUBY}
MASTER_SITE_SUBDIR= ${RUBY_VER}
+DISTNAME= ${RUBY_DISTNAME}
DIST_SUBDIR= ruby
MAINTAINER= knu@FreeBSD.org
@@ -20,6 +21,7 @@ RUBY_NO_RUN_DEPENDS= yes
USE_AUTOCONF= yes
INSTALLS_SHLIB= yes
+WRKSRC= ${RUBY_WRKSRC}
CONFIGURE_ARGS= --enable-shared
MAN1= ruby${_RUBY_SUFFIX}.1
MLINKS= ruby${_RUBY_SUFFIX}.1 ruby.1