summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lang/ruby_r-devel/Makefile20
-rw-r--r--lang/ruby_r/Makefile18
-rw-r--r--lang/ruby_static-devel/Makefile16
-rw-r--r--lang/ruby_static/Makefile135
-rw-r--r--lang/ruby_static/files/ruby16-patch-ext+zlib+extconf.rb11
-rw-r--r--lang/ruby_static/pkg-plist2
6 files changed, 0 insertions, 202 deletions
diff --git a/lang/ruby_r-devel/Makefile b/lang/ruby_r-devel/Makefile
deleted file mode 100644
index 3ac2afa6d77e..000000000000
--- a/lang/ruby_r-devel/Makefile
+++ /dev/null
@@ -1,20 +0,0 @@
-# New ports collection makefile for: ruby_r-devel
-# Date created: 3 June 2001
-# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
-#
-# $FreeBSD$
-#
-
-MASTERDIR= ${.CURDIR}/../ruby-devel
-
-RUBY_VER= 1.8
-
-BUILD_DEPENDS= ${RUBY_WITHOUT_SUFFIX}${RUBY_VER:S/.//}:${MASTERDIR}
-RUN_DEPENDS= ${RUBY_WITHOUT_SUFFIX}${RUBY_VER:S/.//}:${MASTERDIR}
-
-NOPORTDOCS= yes
-NORUBYLIB= yes
-
-RUBY_WITH_PTHREAD= yes
-
-.include "${MASTERDIR}/Makefile"
diff --git a/lang/ruby_r/Makefile b/lang/ruby_r/Makefile
deleted file mode 100644
index 90ccc5fa270d..000000000000
--- a/lang/ruby_r/Makefile
+++ /dev/null
@@ -1,18 +0,0 @@
-# New ports collection makefile for: ruby_r
-# Date created: 3 June 2001
-# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
-#
-# $FreeBSD$
-#
-
-MASTERDIR= ${.CURDIR}/../ruby
-
-BUILD_DEPENDS= ${RUBY_WITHOUT_SUFFIX}${RUBY_VER:S/.//}:${MASTERDIR}
-RUN_DEPENDS= ${RUBY_WITHOUT_SUFFIX}${RUBY_VER:S/.//}:${MASTERDIR}
-
-NOPORTDOCS= yes
-NORUBYLIB= yes
-
-RUBY_WITH_PTHREAD= yes
-
-.include "${MASTERDIR}/Makefile"
diff --git a/lang/ruby_static-devel/Makefile b/lang/ruby_static-devel/Makefile
deleted file mode 100644
index d03b88eedbc7..000000000000
--- a/lang/ruby_static-devel/Makefile
+++ /dev/null
@@ -1,16 +0,0 @@
-# New ports collection makefile for: ruby_static-devel
-# Date created: 3 June 2001
-# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
-#
-# $FreeBSD$
-#
-
-MASTERDIR= ${.CURDIR}/../ruby_static
-
-PORTREVISION= 0
-
-RUBY_VER= 1.8
-
-LATEST_LINK= ruby_static-devel
-
-.include "${MASTERDIR}/Makefile"
diff --git a/lang/ruby_static/Makefile b/lang/ruby_static/Makefile
deleted file mode 100644
index fc255a69e774..000000000000
--- a/lang/ruby_static/Makefile
+++ /dev/null
@@ -1,135 +0,0 @@
-# New ports collection makefile for: ruby_static
-# Date created: 19 February 2001
-# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
-#
-# $FreeBSD$
-#
-
-PORTNAME= ruby_static
-PORTVERSION= ${RUBY_PORTVERSION}
-PORTREVISION?= 0
-CATEGORIES= lang ruby ipv6
-MASTER_SITES= # none
-DISTFILES= # none
-
-MAINTAINER= knu@FreeBSD.org
-COMMENT= A Ruby binary with some modules compiled in (in case of emergency)
-
-EXTRACT_DEPENDS= ${NONEXISTENT}:${.CURDIR}/../../${RUBY_PORT}:patch
-
-USE_RUBY= yes
-
-RUBY_VER?= 1.6
-
-.include <bsd.port.pre.mk>
-
-# Beware, because gdbm is under GPL, you must treat the whole binary
-# as GPL says if you include gdbm in it.
-EXT_PORTS= databases/ruby-bdb1
-_PORTSDIR= ${.CURDIR}/../..
-_RUBY_PORTDIR= ${_PORTSDIR}/${RUBY_PORT}
-
-LIB_DEPENDS+= iconv.3:${PORTSDIR}/converters/libiconv
-
-.if ${RUBY_VER} < 1.7
-EXT_PORTS+= ${RUBY_SHIM18_PORT}
-EXTRA_PATCHES= ${PATCHDIR}/ruby16-patch-*
-.else
-EXT_PORTS+= converters/ruby-iconv
-.endif
-
-.for p in ${EXT_PORTS}
-EXTRACT_DEPENDS+= ${NONEXISTENT}:${_PORTSDIR}/${p}:patch
-.endfor
-
-GNU_CONFIGURE= yes
-
-WRKSRC= ${RUBY_WRKSRC}
-
-DESCR= ${_RUBY_PORTDIR}/pkg-descr
-
-# You can build a totally statically linked binary by defining STATIC,
-# although the resulted interpreter is not capable of loading dynamic
-# modules.
-
-CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib"
-CONFIGURE_ARGS!= cd ${_RUBY_PORTDIR} && ${MAKE} -V CONFIGURE_ARGS
-.if defined(STATIC)
-CONFIGURE_ARGS:= ${CONFIGURE_ARGS:N--enable-shared:M-*} \
- --with-static-linked-ext=yes \
- --with-opt-dir="${LOCALBASE}"
-.else
-CONFIGURE_ARGS:= ${CONFIGURE_ARGS:M-*} \
- --with-opt-dir="${LOCALBASE}"
-.endif
-
-.if defined(DEBUG)
-CFLAGS+= -g
-STRIP= # none
-.endif
-
-MAKE_ARGS= -j3
-
-.if ${RUBY_VER} == ${RUBY_DEFAULT_VER}
-IF_DEFAULT= ""
-.else
-IF_DEFAULT= "@comment "
-.endif
-
-PLIST_SUB+= IF_DEFAULT=${IF_DEFAULT}
-
-do-fetch:
- @${DO_NADA}
-
-post-patch:
-.if defined(STATIC)
- ${RUBY} -i -pe 'gsub /-rdynamic/, "-static"' ${WRKSRC}/configure.in
-.endif
- ${RUBY} -i -pe '$$. == 1 and puts %q/require "rbconfig.rb"/' ${WRKSRC}/ext/bdb1/extconf.rb
-
-do-extract:
- ${MKDIR} ${WRKDIR}
- ${LN} -sf `cd ${_RUBY_PORTDIR} && ${MAKE} -V WRKSRC` ${WRKSRC}
-.for p in ${EXT_PORTS}
- wrksrc=$$(cd ${_PORTSDIR}/${p} && ${MAKE} -V WRKSRC) ; \
- ${FIND} -L $$wrksrc -name extconf.rb | \
- ${XARGS} ${GREP} -l create_makefile | \
- while read extdir; do \
- extdir=$${extdir%/extconf.rb}; \
- case "$p" in \
- ${RUBY_SHIM18_PORT}) \
- m=$$(basename $$extdir); \
- case $$extdir in \
- */racc/*) \
- ${MKDIR} ${WRKSRC}/ext/racc; \
- m=racc/$${m} ;; \
- */ext/features/ruby18/*) \
- ${MKDIR} ${WRKSRC}/ext/features/ruby18; \
- m=features/ruby18/$${m}_ruby18 ;; \
- esac ;; \
- *) \
- m="${p:T:S,^ruby-,,}" ;; \
- esac; \
- ${CP} -RPp $$extdir ${WRKSRC}/ext/$$m; \
- ${TOUCH} ${WRKSRC}/ext/$$m/MANIFEST; \
- done
-.endfor
-.if defined(STATIC)
- ${ECHO_CMD} "option nodynamic" > ${WRKSRC}/ext/Setup
-.else
- ${ECHO_CMD} "#option nodynamic" > ${WRKSRC}/ext/Setup
-.endif
- cd ${WRKSRC}/ext; ${FIND} * -name extconf.rb | \
- ${XARGS} ${GREP} -l create_makefile | \
- while read extdir; do \
- extdir=$${extdir%/extconf.rb}; \
- echo $$extdir; \
- done >> Setup
-
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/${RUBY_NAME} ${RUBY_WITH_SUFFIX}_s
-.if ${RUBY_VER} == ${RUBY_DEFAULT_VER}
- ${LN} -fs ruby${_RUBY_SUFFIX}_s ${RUBY_WITHOUT_SUFFIX}_s
-.endif
-
-.include <bsd.port.post.mk>
diff --git a/lang/ruby_static/files/ruby16-patch-ext+zlib+extconf.rb b/lang/ruby_static/files/ruby16-patch-ext+zlib+extconf.rb
deleted file mode 100644
index 3ff097f28f02..000000000000
--- a/lang/ruby_static/files/ruby16-patch-ext+zlib+extconf.rb
+++ /dev/null
@@ -1,11 +0,0 @@
---- ext/zlib/extconf.rb.orig Fri Mar 28 11:24:47 2003
-+++ ext/zlib/extconf.rb Sun Apr 27 05:56:22 2003
-@@ -24,7 +24,7 @@
- oldlibs = $libs
- oldlibpath = $LIBPATH
- $libs += " " + Config::CONFIG['LIBRUBYARG']
-- $LIBPATH = [$libdir, $archdir] | $LIBPATH
-+ $LIBPATH = [$libdir, $archdir || Config::CONFIG["compile_dir"]] | $LIBPATH
- begin
- have_func s, 'ruby.h'
- rescue ArgumentError # for ruby-1.4
diff --git a/lang/ruby_static/pkg-plist b/lang/ruby_static/pkg-plist
deleted file mode 100644
index e8e4eb369d6f..000000000000
--- a/lang/ruby_static/pkg-plist
+++ /dev/null
@@ -1,2 +0,0 @@
-%%IF_DEFAULT%%bin/ruby_s
-bin/ruby%%_RUBY_SUFFIX%%_s