summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2002-11-04 21:16:33 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2002-11-04 21:16:33 +0000
commit1eaafa5a2f688a3254ee238574423a888b3896db (patch)
tree3a62e706246eda57758b4bab118e3a0bdc8e6f70 /www
parentThe Sybase driver for Ruby-DBI has been (officially) broken for quite (diff)
pRuby has been broken for quite some time, so remove the port.
Notes
Notes: svn path=/head/; revision=69469
Diffstat (limited to 'www')
-rw-r--r--www/Makefile1
-rw-r--r--www/pruby/Makefile71
-rw-r--r--www/pruby/distinfo1
-rw-r--r--www/pruby/files/patch-Makefile34
-rw-r--r--www/pruby/files/patch-extconf.sh108
-rw-r--r--www/pruby/pkg-comment1
-rw-r--r--www/pruby/pkg-descr12
-rw-r--r--www/pruby/pkg-plist7
8 files changed, 0 insertions, 235 deletions
diff --git a/www/Makefile b/www/Makefile
index f8a69acb00e1..27d2eec0a9ab 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -347,7 +347,6 @@
SUBDIR += phpnuke
SUBDIR += plugger
SUBDIR += pound
- SUBDIR += pruby
SUBDIR += publicfile
SUBDIR += py-HTMLgen
SUBDIR += py-albatross
diff --git a/www/pruby/Makefile b/www/pruby/Makefile
deleted file mode 100644
index c4901a702464..000000000000
--- a/www/pruby/Makefile
+++ /dev/null
@@ -1,71 +0,0 @@
-# New ports collection makefile for: pRuby
-# Date created: 24 February 2001
-# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
-#
-# $FreeBSD$
-#
-
-PORTNAME= pruby
-PORTVERSION= 0.20
-CATEGORIES= www lang ruby
-MASTER_SITES= http://www.inf.bme.hu/~pts/
-DIST_SUBDIR= ruby
-
-MAINTAINER= knu@FreeBSD.org
-
-BUILD_DEPENDS= php:${PHP4_PORTDIR} \
- ${LOCALBASE}/libexec/apache/libphp4.so:${MOD_PHP4_PORTDIR} \
- ${NONEXISTENT}:${MOD_PHP4_PORTDIR}:configure
-.if defined(PACKAGE_BUILDING)
-LIB_DEPENDS= mysqlclient.10:${PORTSDIR}/databases/mysql323-client
-.endif
-RUN_DEPENDS= ${LOCALBASE}/libexec/apache/libphp4.so:${MOD_PHP4_PORTDIR}
-
-BROKEN= "does not work with the latest PHP4"
-
-USE_GMAKE= yes
-USE_RUBY= yes
-
-.include <bsd.port.pre.mk>
-
-PHP4_PORTDIR= ${.CURDIR}/../../lang/php4
-MOD_PHP4_PORTDIR= ${.CURDIR}/../mod_php4
-MOD_PHP4_WRKSRC_CMD= cd ${MOD_PHP4_PORTDIR} && ${MAKE} -V WRKSRC
-
-DOCS_EN= README contrib/_htaccess
-
-pre-everything::
- dir=`${MOD_PHP4_WRKSRC_CMD}`; \
- ${MKDIR} $${dir}; \
- ${TOUCH} $${dir}/../../Makefile.inc
-
-do-configure:
- cd ${WRKSRC} && ( \
- dir=`${MOD_PHP4_WRKSRC_CMD}`; \
- php contrib/phpinfo.php > phpinfo.out; \
- ( \
- ${ECHO_CMD} "PHP4_SRC=$${dir}"; \
- ${ECHO_CMD} "PHP4_CONFIGURED=yes"; \
- ${ECHO_CMD} "RUBY_SRC="; \
- ${ECHO_CMD} "RUBY=${RUBY}"; \
- ${ECHO_CMD} "PHPINFO_OUT=phpinfo.out"; \
- ${ECHO_CMD} "LIBRUBYS_SO=${LOCALBASE}/lib/libruby.so"; \
- ) > Configuration; \
- )
-
-pre-install:
- dir=`. ${WRKSRC}/phpinfo.sd; ${ECHO_CMD} $${PI_EXTENSION_DIR}`; \
- ${MKDIR} $${dir}
-
-post-install:
- dir=`. ${WRKSRC}/phpinfo.sd; ${ECHO_CMD} $${PI_EXTENSION_DIR}`; \
- ${INSTALL_DATA} ${WRKSRC}/ext_pruby_src/pruby_*.rb $${dir}/; \
- ${PERL} -i -pe "s,%%EXTENSION_DIR%%,$${dir#${PREFIX}/},g" ${TMPPLIST}
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${RUBY_MODDOCDIR}
-.for f in ${DOCS_EN}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
-.endfor
-.endif
-
-.include <bsd.port.post.mk>
diff --git a/www/pruby/distinfo b/www/pruby/distinfo
deleted file mode 100644
index 67006c4a2d5c..000000000000
--- a/www/pruby/distinfo
+++ /dev/null
@@ -1 +0,0 @@
-MD5 (ruby/pruby-0.20.tar.gz) = dd51a6316550efe701a3364d34b47e9b
diff --git a/www/pruby/files/patch-Makefile b/www/pruby/files/patch-Makefile
deleted file mode 100644
index c57343faad02..000000000000
--- a/www/pruby/files/patch-Makefile
+++ /dev/null
@@ -1,34 +0,0 @@
---- Makefile.orig Thu Feb 22 07:07:58 2001
-+++ Makefile Fri Mar 2 22:01:20 2001
-@@ -16,7 +16,7 @@
- all: pruby.so
-
- clean:
-- -[ -f rbwhere.mk ] && make -C ext_pruby_src clean
-+ -[ -f rbwhere.mk ] && gmake -C ext_pruby_src clean
- rm -f $(CLEAN)
-
- confclean: clean
-@@ -27,18 +27,18 @@
- conf: configed.now
-
- ext_pruby_src/libs.mk ext_pruby_src/Makefile phpinfo.sd rbwhere.mk rbwhere.sd configed.now: extconf.sh phpinfo.out Configuration ext_pruby_src/Makefile.inpts ext_pruby_src/libs.mk.inpts
-- bash ./extconf.sh
-+ sh ./extconf.sh
-
- pruby.so: ext_pruby_src/.libs/pruby.so
- cp -f $< $@
-
- ext_pruby_src/.libs/pruby.so: rbwhere.mk ext_pruby_src/php_pruby.c
-- make -C ext_pruby_src
-+ gmake -C ext_pruby_src
-
- php_ini_which: phpinfo.sd
-- bash -c 'source phpinfo.sd; echo "$$PI_CONFIGURATION_FILE__PHP_INI__PATH"/php.ini'
-+ sh -c '. phpinfo.sd; echo "$$PI_CONFIGURATION_FILE__PHP_INI__PATH"/php.ini'
-
- install: pruby.so phpinfo.sd
-- bash -c 'source phpinfo.sd; cp -f pruby.so "$$PI_EXTENSION_DIR"/pruby.so'
-+ sh -c '. phpinfo.sd; cp -f pruby.so "$$PI_EXTENSION_DIR"/pruby.so'
-
- # end of Makefile
diff --git a/www/pruby/files/patch-extconf.sh b/www/pruby/files/patch-extconf.sh
deleted file mode 100644
index 7117c45cc7bc..000000000000
--- a/www/pruby/files/patch-extconf.sh
+++ /dev/null
@@ -1,108 +0,0 @@
---- extconf.sh.orig Thu Feb 22 06:01:54 2001
-+++ extconf.sh Sat Mar 3 17:27:35 2001
-@@ -1,4 +1,4 @@
--#!/bin/bash --
-+#!/bin/sh --
- # extconf.sh
- # configuring pRuby before compilation
- # by pts@fazekas.hu at Wed Feb 21 16:18:26 CET 2001
-@@ -25,7 +25,7 @@
-
- show() {
- echo "$@" >&2
-- command "$@"
-+ "$@"
- }
-
- [ -f Configuration ] || fatal "file ./Configuration does not exist"
-@@ -36,17 +36,17 @@
- exit 3
- fi
- rm -f configed.now
--make confclean
-+gmake confclean
-
--type -p make 2>&1 >/dev/null || fatal "not on \$PATH: make"
--type -p bash 2>&1 >/dev/null || fatal "not on \$PATH: bash"
--type -p gcc 2>&1 >/dev/null || fatal "not on \$PATH: gcc"
--type -p rm 2>&1 >/dev/null || fatal "not on \$PATH: rm"
--type -p cp 2>&1 >/dev/null || fatal "not on \$PATH: cp"
--type -p mv 2>&1 >/dev/null || fatal "not on \$PATH: mv"
--type -p cat 2>&1 >/dev/null || fatal "not on \$PATH: cat"
--type -p mkdir 2>&1 >/dev/null || fatal "not on \$PATH: mkdir"
--type -p rmdir 2>&1 >/dev/null || fatal "not on \$PATH: rmdir"
-+which -s gmake 2>&1 >/dev/null || fatal "not on \$PATH: gmake"
-+which -s sh 2>&1 >/dev/null || fatal "not on \$PATH: sh"
-+which -s gcc 2>&1 >/dev/null || fatal "not on \$PATH: gcc"
-+which -s rm 2>&1 >/dev/null || fatal "not on \$PATH: rm"
-+which -s cp 2>&1 >/dev/null || fatal "not on \$PATH: cp"
-+which -s mv 2>&1 >/dev/null || fatal "not on \$PATH: mv"
-+which -s cat 2>&1 >/dev/null || fatal "not on \$PATH: cat"
-+which -s mkdir 2>&1 >/dev/null || fatal "not on \$PATH: mkdir"
-+which -s rmdir 2>&1 >/dev/null || fatal "not on \$PATH: rmdir"
- [ -n "$RUBY" ] || fatal "please set RUBY= in ./Configuration"
- [ -n "$PHP4_SRC" ] || fatal "set PHP4_SRC= in ./Configuration"
- [ -f "$PHP4_SRC/README.CVS-RULES" ] || fatal "PHP4_SRC= does not contain PHP4??"
-@@ -84,8 +84,8 @@
- # RB_DLDFLAGS='\''$(DLDFLAGS)'\''
- '
- unset MAKELEVEL
--make -f rtmp/Makefile getflags | $RUBY -pe '$_.sub!(/^#\s*/,"")' >rbwhere.mk || fexit "$?"
--make -f rtmp/Makefile getflagsh| $RUBY -pe '$_.sub!(/^#\s*/,"")' >rbwhere.sd || fexit "$?"
-+gmake -f rtmp/Makefile getflags | $RUBY -pe '$_.sub!(/^#\s*/,"")' >rbwhere.mk || fexit "$?"
-+gmake -f rtmp/Makefile getflagsh| $RUBY -pe '$_.sub!(/^#\s*/,"")' >rbwhere.sd || fexit "$?"
- # less rtmp/Makefile
- rm -f rtmp/Makefile
- rmdir rtmp
-@@ -135,13 +135,13 @@
- # No we examine output of phpinfo.out
- #
- [ -f phpinfo.out ] || fatal "You should have created phpinfo.out. See docs for details."
--/tmp/ruby/bin/ruby -wne'print "PI_#{$1.upcase.tr %q[ -().],%q[_____]}=\x27#{$2}\x27\n" if $_=~/\A(?:<[^>]+>)+(configuration file .php.ini. path|extension_dir|thread safety|ZEND_DEBUG)(?:<[^>]+>)+([^<]*)/i' <phpinfo.out >phpinfo.sd || fatal "phpinfo.out bad??"
--/tmp/ruby/bin/ruby -wne'print "PI_#{$1.upcase.tr %q[ -().],%q[_____]}=#{$2}\n" if $_=~/\A(?:<[^>]+>)+(configuration file .php.ini. path|extension_dir|thread safety|ZEND_DEBUG)(?:<[^>]+>)+([^<]*)/i' <phpinfo.out >>rbwhere.mk || fatal "phpinfo.out bad??"
-+$RUBY -wne'print "PI_#{$1.upcase.tr %q[ -().],%q[_____]}=\x27#{$2}\x27\n" if $_=~/\A(?:<[^>]+>)+(configuration file .php.ini. path|extension_dir|thread safety|ZEND_DEBUG)(?:<[^>]+>)+([^<]*)/i' <phpinfo.out >phpinfo.sd || fatal "phpinfo.out bad??"
-+$RUBY -wne'print "PI_#{$1.upcase.tr %q[ -().],%q[_____]}=#{$2}\n" if $_=~/\A(?:<[^>]+>)+(configuration file .php.ini. path|extension_dir|thread safety|ZEND_DEBUG)(?:<[^>]+>)+([^<]*)/i' <phpinfo.out >>rbwhere.mk || fatal "phpinfo.out bad??"
- . phpinfo.sd
- [ -n "$PI_EXTENSION_DIR" ] || fatal "cannot get \`extension_dir' from phpinfo.out"
- [ -n "$PI_CONFIGURATION_FILE__PHP_INI__PATH" ] || fatal "cannot get path for php.ini from phpinfo.out"
--[ -f "$PI_CONFIGURATION_FILE__PHP_INI__PATH/php.ini" ] || fatal "php.ini isn't there"
--[ -d "$PI_EXTENSION_DIR" ] || fatal "PHP extension_dir ($PI_EXTENSION_DIR) not exists"
-+#[ -f "$PI_CONFIGURATION_FILE__PHP_INI__PATH/php.ini" ] || fatal "php.ini isn't there"
-+#[ -d "$PI_EXTENSION_DIR" ] || fatal "PHP extension_dir ($PI_EXTENSION_DIR) not exists"
-
- rm -rf phpfake # dangerous??
- echo "Creating phpfake/*"
-@@ -149,7 +149,7 @@
- for N in `cd "$PHP4_SRC"; ls *.h */*.h ext/standard/*.h build/*.mk`; do
- if [ ! -f "$PHP4_SRC/$N.in" ]; then
- [ "${N%/*}" != "$N" ] && mkdir -p "phpfake/${N%/*}"
-- cp -fa "$PHP4_SRC/$N" "phpfake/$N" || fexit "$?"
-+ cp -fRPp "$PHP4_SRC/$N" "phpfake/$N" || fexit "$?"
- fi
- done
- rm -f phpfake/php_config.h
-@@ -161,7 +161,7 @@
- php_config.h.in build/fastgen.sh main/internal_functions.c.in Zend/Makefile.in'
- for N in $FILES; do
- [ "${N%/*}" != "$N" ] && mkdir -p "phpfake/${N%/*}"
-- cp -fa "$PHP4_SRC/$N" "phpfake/$N" || fexit "$?"
-+ cp -fRPp "$PHP4_SRC/$N" "phpfake/$N" || fexit "$?"
- done
- COFLAGS=
- if [ "PI_THREAD_SAFETY" != "enabled" ]; then
-@@ -186,12 +186,12 @@
- else
- echo "PHP4 already configured."
- FILES='README.CVS-RULES install-sh
-- build/shtool build/fastgen.sh build-defs.h
-+ build/shtool build/fastgen.sh main/build-defs.h
- pear/phpize pear/php-config libtool
-- php_config.h php_version.h config_vars.mk'
-+ main/php_config.h main/php_version.h config_vars.mk'
- for N in $FILES; do
- [ "${N%/*}" != "$N" ] && mkdir -p "phpfake/${N%/*}"
-- cp -fa "$PHP4_SRC/$N" "phpfake/$N" || fexit "$?"
-+ cp -fRPp "$PHP4_SRC/$N" "phpfake/$N" || fexit "$?"
- done
- fi
-
diff --git a/www/pruby/pkg-comment b/www/pruby/pkg-comment
deleted file mode 100644
index df2568dbfa38..000000000000
--- a/www/pruby/pkg-comment
+++ /dev/null
@@ -1 +0,0 @@
-Glue interface between PHP and Ruby
diff --git a/www/pruby/pkg-descr b/www/pruby/pkg-descr
deleted file mode 100644
index 7ae9d218fdf4..000000000000
--- a/www/pruby/pkg-descr
+++ /dev/null
@@ -1,12 +0,0 @@
-pRuby is a glue code between PHP and Ruby which lets you use Ruby as a
-HTML-embedded, server side scripting language. With pRuby, you can
-intermix PHP and Ruby to create dynamic web content. For example, you
-can call PHP's database and image drawing functions from Ruby and vice
-versa. pRuby is often compared to PHP, mod_ruby, eRuby, Erb, mod_perl
-and ASP. Key features: better startup speed than CGI and PHP, better
-execution speed than PHP, more powerful and less messier to program
-than PHP, cross-language function calls and cross-language error
-handling.
-
-Author: Szabo Peter <pts@inf.bme.hu>
-WWW: http://www.ruby-lang.org/en/raa-list.rhtml?name=pRuby
diff --git a/www/pruby/pkg-plist b/www/pruby/pkg-plist
deleted file mode 100644
index ca39591c7d1a..000000000000
--- a/www/pruby/pkg-plist
+++ /dev/null
@@ -1,7 +0,0 @@
-%%EXTENSION_DIR%%/pruby.so
-%%EXTENSION_DIR%%/pruby_ervi.rb
-%%EXTENSION_DIR%%/pruby_tops.rb
-@unexec rmdir -p %D/%%EXTENSION_DIR%% 2>/dev/null || true
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/_htaccess
-%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%