aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2000-10-21 03:56:05 +0800
committerknu <knu@FreeBSD.org>2000-10-21 03:56:05 +0800
commit5c19db9c873670facbaf2c2544f5edb34637a42d (patch)
tree7e20dd6690ed2e740ee2be58d5e12e38eb082976 /lang
parenta75a179b4dc4c2b8856f703a74c106c83eec8b80 (diff)
downloadfreebsd-ports-graphics-5c19db9c873670facbaf2c2544f5edb34637a42d.tar.gz
freebsd-ports-graphics-5c19db9c873670facbaf2c2544f5edb34637a42d.tar.zst
freebsd-ports-graphics-5c19db9c873670facbaf2c2544f5edb34637a42d.zip
Use RUBY_PORTVERSION, RUBY_DISTNAME and RUBY_WRKSRC.
Diffstat (limited to 'lang')
-rw-r--r--lang/ruby-tcltklib/Makefile8
-rw-r--r--lang/ruby/Makefile4
-rw-r--r--lang/ruby16/Makefile4
3 files changed, 10 insertions, 6 deletions
diff --git a/lang/ruby-tcltklib/Makefile b/lang/ruby-tcltklib/Makefile
index 90528c362f8..660748d9505 100644
--- a/lang/ruby-tcltklib/Makefile
+++ b/lang/ruby-tcltklib/Makefile
@@ -6,11 +6,11 @@
#
PORTNAME= tcltklib
-PORTVERSION= ${RUBY_VERSION}
+PORTVERSION= ${RUBY_PORTVERSION}
CATEGORIES+= lang x11-toolkits ruby tcl${TCL_VERSION} tk${TK_VERSION}
MASTER_SITES= ${MASTER_SITE_RUBY}
-#MASTER_SITE_SUBDIR= ${RUBY_VER}
-DISTNAME= ruby-${PORTVERSION}
+MASTER_SITE_SUBDIR= ${RUBY_VER}
+DISTNAME= ${RUBY_DISTNAME}
DIST_SUBDIR= ruby
MAINTAINER?= knu@FreeBSD.org
@@ -24,7 +24,7 @@ USE_XLIB= yes
MD5_FILE= ${PORTSDIR}/lang/ruby/distinfo
-WRKSRC= ${WRKDIR}/${DISTNAME}/ext/tcltklib
+WRKSRC= ${RUBY_WRKSRC}/ext/tcltklib
CONFIGURE_ARGS= --with-tcllib="${TCL_LIB}" --with-tklib="${TK_LIB}" \
--with-tcl-lib="${LOCALBASE}/lib/${TCL_DIR}" \
--with-tk-lib="${LOCALBASE}/lib/${TK_DIR}" \
diff --git a/lang/ruby/Makefile b/lang/ruby/Makefile
index 82e177ae05b..61ff05fee6e 100644
--- a/lang/ruby/Makefile
+++ b/lang/ruby/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
diff --git a/lang/ruby16/Makefile b/lang/ruby16/Makefile
index 82e177ae05b..61ff05fee6e 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