summaryrefslogtreecommitdiff
path: root/lang/pike70
diff options
context:
space:
mode:
Diffstat (limited to 'lang/pike70')
-rw-r--r--lang/pike70/Makefile36
-rw-r--r--lang/pike70/distinfo1
-rw-r--r--lang/pike70/pkg-comment1
-rw-r--r--lang/pike70/pkg-descr11
-rw-r--r--lang/pike70/pkg-plist221
-rw-r--r--lang/pike70/scripts/configure.pike128
6 files changed, 398 insertions, 0 deletions
diff --git a/lang/pike70/Makefile b/lang/pike70/Makefile
new file mode 100644
index 000000000000..74ca0d72f13b
--- /dev/null
+++ b/lang/pike70/Makefile
@@ -0,0 +1,36 @@
+# New ports collection makefile for: pike
+# Version required: 0.6
+# Date created: 16 Jan 1999
+# Whom: vns@delta.odessa.ua
+#
+# $Id:$
+#
+
+DISTNAME= Pike-v0.6.110
+PKGNAME= pike-0.6
+CATEGORIES= lang
+MASTER_SITES= http://pike.idonex.se/download/
+
+MAINTAINER= vns@delta.odessa.ua
+
+pre-fetch:
+.if !defined(BATCH)
+ @${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/configure.pike
+.endif
+
+WRKSRC= ${WRKDIR}/${DISTNAME}/src/
+
+IS_INTERACTIVE= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS?= \
+ --without-ttflib \
+ --without-gdbm \
+ --without-mysql \
+ --without-postgresql \
+ --without-msql \
+ --without-jpeg
+
+pre-configure:
+ @${ECHO} ${CONFIGURE_ARGS}
+
+.include <bsd.port.mk>
diff --git a/lang/pike70/distinfo b/lang/pike70/distinfo
new file mode 100644
index 000000000000..5a2e94e94bf3
--- /dev/null
+++ b/lang/pike70/distinfo
@@ -0,0 +1 @@
+MD5 (Pike-v0.6.110.tar.gz) = a6ed59464a11c09611c803e83fb62282
diff --git a/lang/pike70/pkg-comment b/lang/pike70/pkg-comment
new file mode 100644
index 000000000000..a25b29d54c31
--- /dev/null
+++ b/lang/pike70/pkg-comment
@@ -0,0 +1 @@
+A dynamic programming language with a syntax similar to C++.
diff --git a/lang/pike70/pkg-descr b/lang/pike70/pkg-descr
new file mode 100644
index 000000000000..985db70254a8
--- /dev/null
+++ b/lang/pike70/pkg-descr
@@ -0,0 +1,11 @@
+Pike is easy to learn, and just as easy to use in the development of
+powerful applications. The language is designed to be useful and
+powerful. As the syntax of Pike is similar to that of C, most
+programmers will find it easy to use. As Pike is a high-level,
+interpreted and modular object-oriented language, powerful
+applications can be rapidly developed. Pike has evolved rather than
+been designed, and the changes made have been guided by its users'
+needs. In general, the better you get to know Pike, the more you will
+appreciate it, from a user's perspective.
+
+For more info, please, refer to http://pike.idonex.se/
diff --git a/lang/pike70/pkg-plist b/lang/pike70/pkg-plist
new file mode 100644
index 000000000000..f0ffdb305d73
--- /dev/null
+++ b/lang/pike70/pkg-plist
@@ -0,0 +1,221 @@
+bin/pike
+bin/pike-module
+bin/hilfe
+include/pike/acconfig.h
+include/pike/array.h
+include/pike/backend.h
+include/pike/block_alloc.h
+include/pike/builtin_functions.h
+include/pike/callback.h
+include/pike/compilation.h
+include/pike/constants.h
+include/pike/cpp.h
+include/pike/cyclic.h
+include/pike/dmalloc.h
+include/pike/docode.h
+include/pike/dynamic_buffer.h
+include/pike/dynamic_load.h
+include/pike/efun.h
+include/pike/encode.h
+include/pike/error.h
+include/pike/fd_control.h
+include/pike/fdlib.h
+include/pike/fsort.h
+include/pike/fsort_template.h
+include/pike/gc.h
+include/pike/global.h
+include/pike/las.h
+include/pike/hashtable.h
+include/pike/interpret.h
+include/pike/language.h
+include/pike/lex.h
+include/pike/machine.h
+include/pike/main.h
+include/pike/mapping.h
+include/pike/module.h
+include/pike/module_support.h
+include/pike/multiset.h
+include/pike/object.h
+include/pike/opcodes.h
+include/pike/operators.h
+include/pike/otable.h
+include/pike/peep.h
+include/pike/pike_macros.h
+include/pike/pike_memory.h
+include/pike/pike_types.h
+include/pike/port.h
+include/pike/program.h
+include/pike/program_areas.h
+include/pike/queue.h
+include/pike/rusage.h
+include/pike/signal_handler.h
+include/pike/stralloc.h
+include/pike/stuff.h
+include/pike/svalue.h
+include/pike/threads.h
+include/pike/time_stuff.h
+include/pike/version.h
+include/pike/y.tab.h
+include/pike/dynamic_module_makefile
+include/pike/aclocal.m4
+lib/pike/modules/Gdbm.so
+lib/pike/modules/Gmp.so
+lib/pike/modules/Gz.so
+lib/pike/modules/Image.so
+lib/pike/modules/MIME.so
+lib/pike/modules/MIME.pmod
+lib/pike/modules/Msql.so
+lib/pike/modules/Mysql.so
+lib/pike/modules/Pipe.so
+lib/pike/modules/Postgres.so
+lib/pike/modules/Regexp.so
+lib/pike/modules/Ssleay.so
+lib/pike/modules/Yp.so
+lib/pike/modules/Yp.pmod
+lib/pike/modules/_Charset.so
+lib/pike/modules/_Charset.pmod
+lib/pike/modules/_Image_JPEG.so
+lib/pike/modules/_Image_TTF.so
+lib/pike/modules/_Image_XFace.so
+lib/pike/modules/_Lobotomized_Crypto.so
+lib/pike/modules/call_out.pmod
+lib/pike/modules/files.pmod
+lib/pike/modules/math.pmod
+lib/pike/modules/readline.so
+lib/pike/modules/spider.so
+lib/pike/modules/sprintf.pmod
+lib/pike/modules/system.pmod
+lib/pike/master.pike
+share/pike/include/getopt.h
+share/pike/include/array.h
+share/pike/include/fifo.h
+share/pike/include/process.h
+share/pike/include/mysql.h
+share/pike/include/simulate.h
+share/pike/include/sql.h
+share/pike/include/stack.h
+share/pike/include/stdio.h
+share/pike/include/string.h
+share/pike/include/syslog.h
+share/pike/include/msql.h
+share/pike/include/postgres.h
+share/pike/modules/ADT.pmod/queue.pike
+share/pike/modules/ADT.pmod/struct.pike
+share/pike/modules/ADT.pmod/Table.pmod
+share/pike/modules/Tools.pmod/Hilfe.pmod
+share/pike/modules/Tools.pmod/sed.pmod
+share/pike/modules/Tools.pmod/PEM.pmod
+share/pike/modules/Tools.pmod/_PEM.pmod
+share/pike/modules/Crypto/des3.pike
+share/pike/modules/Crypto/des3_cbc.pike
+share/pike/modules/Crypto/des_cbc.pike
+share/pike/modules/Crypto/idea_cbc.pike
+share/pike/modules/Crypto/randomness.pmod
+share/pike/modules/Crypto/rsa.pike
+share/pike/modules/Crypto/hmac.pike
+share/pike/modules/LR.pmod/Grammar_parser.pmod
+share/pike/modules/LR.pmod/item.pike
+share/pike/modules/LR.pmod/kernel.pike
+share/pike/modules/LR.pmod/lr.pike
+share/pike/modules/LR.pmod/parser.pike
+share/pike/modules/LR.pmod/priority.pike
+share/pike/modules/LR.pmod/rule.pike
+share/pike/modules/LR.pmod/scanner.pike
+share/pike/modules/Sql.pmod/mysql.pike
+share/pike/modules/Sql.pmod/mysql_result.pike
+share/pike/modules/Sql.pmod/sql.pike
+share/pike/modules/Sql.pmod/sql_result.pike
+share/pike/modules/Sql.pmod/odbc.pike
+share/pike/modules/Sql.pmod/odbc_result.pike
+share/pike/modules/Sql.pmod/oracle.pike
+share/pike/modules/Sql.pmod/msql.pike
+share/pike/modules/Sql.pmod/postgres.pike
+share/pike/modules/Sql.pmod/postgres_result.pike
+share/pike/modules/Protocols.pmod/X.pmod/db/compose.db
+share/pike/modules/Protocols.pmod/X.pmod/db/compose
+share/pike/modules/Protocols.pmod/X.pmod/db/convert_compose.pike
+share/pike/modules/Protocols.pmod/X.pmod/db/keysyms
+share/pike/modules/Protocols.pmod/X.pmod/Atom.pmod
+share/pike/modules/Protocols.pmod/X.pmod/AUTHORS
+share/pike/modules/Protocols.pmod/X.pmod/Auth.pmod
+share/pike/modules/Protocols.pmod/X.pmod/Extensions.pmod
+share/pike/modules/Protocols.pmod/X.pmod/Requests.pmod
+share/pike/modules/Protocols.pmod/X.pmod/Types.pmod
+share/pike/modules/Protocols.pmod/X.pmod/XImage.pmod
+share/pike/modules/Protocols.pmod/X.pmod/XTools.pmod
+share/pike/modules/Protocols.pmod/X.pmod/Xlib.pmod
+share/pike/modules/Protocols.pmod/X.pmod/_Types.pmod
+share/pike/modules/Protocols.pmod/X.pmod/_Xlib.pmod
+share/pike/modules/Protocols.pmod/X.pmod/error.h
+share/pike/modules/Protocols.pmod/X.pmod/keysyms.h
+share/pike/modules/Protocols.pmod/X.pmod/my_struct.pmod
+share/pike/modules/Protocols.pmod/DNS.pmod
+share/pike/modules/Protocols.pmod/NNTP.pmod
+share/pike/modules/Protocols.pmod/LPD.pmod
+share/pike/modules/Protocols.pmod/SMTP.pmod
+share/pike/modules/Protocols.pmod/TELNET.pmod
+share/pike/modules/Protocols.pmod/Line.pmod
+share/pike/modules/Protocols.pmod/Ident.pmod
+share/pike/modules/Protocols.pmod/Ports.pmod
+share/pike/modules/Calendar.pmod/Gregorian.pmod
+share/pike/modules/Calendar.pmod/ISO.pmod
+share/pike/modules/Calendar.pmod/Julian.pmod
+share/pike/modules/Calendar.pmod/Orthodox.pmod
+share/pike/modules/Calendar.pmod/Swedish.pmod
+share/pike/modules/Calendar.pmod/module.pmod
+share/pike/modules/Languages.pmod/PLIS.pmod
+share/pike/modules/Standards.pmod/ASN1.pmod/Encode.pmod
+share/pike/modules/Standards.pmod/ASN1.pmod/Decode.pmod
+share/pike/modules/Standards.pmod/ASN1.pmod/Types.pmod
+share/pike/modules/Standards.pmod/PKCS.pmod/CSR.pmod
+share/pike/modules/Standards.pmod/PKCS.pmod/Certificate.pmod
+share/pike/modules/Standards.pmod/PKCS.pmod/Identifiers.pmod
+share/pike/modules/Standards.pmod/PKCS.pmod/RSA.pmod
+share/pike/modules/Standards.pmod/PKCS.pmod/Signature.pmod
+share/pike/modules/Standards.pmod/PKCS.pmod/PFX.pmod
+share/pike/modules/Yabu.pmod/module.pmod
+share/pike/modules/Yabu.pmod/test.pike
+share/pike/modules/Locale.pmod/Charset.pmod
+share/pike/modules/Remote.pmod/Client.pike
+share/pike/modules/Remote.pmod/Server.pike
+share/pike/modules/Remote.pmod/call.pike
+share/pike/modules/Remote.pmod/connection.pike
+share/pike/modules/Remote.pmod/context.pike
+share/pike/modules/Remote.pmod/obj.pike
+share/pike/modules/Remote.pmod/remote.h
+share/pike/modules/Array.pmod
+share/pike/modules/Colors.pmod
+share/pike/modules/Crypto.pmod
+share/pike/modules/Getopt.pmod
+share/pike/modules/Process.pmod
+share/pike/modules/Simulate.pmod
+share/pike/modules/Stdio.pmod
+share/pike/modules/Stack.pmod
+share/pike/modules/String.pmod
+share/pike/modules/Thread.pmod
+share/pike/modules/__builtin.pmod
+share/pike/modules/error.pmod
+share/pike/master.pike.in
+@dirrm include/pike
+@dirrm lib/pike/modules
+@dirrm lib/pike/include
+@dirrm lib/pike
+@dirrm share/pike/include
+@dirrm share/pike/modules/ADT.pmod
+@dirrm share/pike/modules/Tools.pmod
+@dirrm share/pike/modules/Crypto
+@dirrm share/pike/modules/LR.pmod
+@dirrm share/pike/modules/Sql.pmod
+@dirrm share/pike/modules/Protocols.pmod/X.pmod/db
+@dirrm share/pike/modules/Protocols.pmod/X.pmod
+@dirrm share/pike/modules/Protocols.pmod
+@dirrm share/pike/modules/Calendar.pmod
+@dirrm share/pike/modules/Languages.pmod
+@dirrm share/pike/modules/Standards.pmod/ASN1.pmod
+@dirrm share/pike/modules/Standards.pmod/PKCS.pmod
+@dirrm share/pike/modules/Standards.pmod
+@dirrm share/pike/modules/Yabu.pmod
+@dirrm share/pike/modules/Locale.pmod
+@dirrm share/pike/modules/Remote.pmod
+@dirrm share/pike/modules
+@dirrm share/pike
diff --git a/lang/pike70/scripts/configure.pike b/lang/pike70/scripts/configure.pike
new file mode 100644
index 000000000000..8a8d041d583e
--- /dev/null
+++ b/lang/pike70/scripts/configure.pike
@@ -0,0 +1,128 @@
+#!/bin/sh
+
+if [ -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc ]; then
+ exit
+fi
+
+/usr/bin/dialog --title "configuration options" --clear \
+ --checklist "\n\
+Please select desired options:" -1 -1 11 \
+FreeType "TrueType font rendering" OFF \
+JPEG "support JPEG" OFF \
+threads "threads support" ON \
+GDBM "GNU database manager support" OFF \
+zlib "zlib library support" ON \
+gmp "support bignums" ON \
+readline "support for command line editing" ON \
+MySQL "MySQL database support" OFF \
+PostgreSQL "PostgreSQL database support" OFF \
+mSQL "mSQL database support" OFF \
+2> /tmp/checklist.tmp.$$
+#ssl "SSL support" OFF \
+retval=$?
+
+if [ -s /tmp/checklist.tmp.$$ ]; then
+ set `cat /tmp/checklist.tmp.$$`
+fi
+rm -f /tmp/checklist.tmp.$$
+
+case $retval in
+ 0) if [ -z "$*" ]; then
+ echo "Nothing selected"
+ fi
+ ;;
+ 1) echo "Cancel pressed."
+ exit 1
+ ;;
+esac
+
+mkdir -p ${WRKDIRPREFIX}${CURDIR}
+> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
+
+while [ "$1" ]; do
+ case $1 in
+ \"FreeType\")
+ echo "LIB_DEPENDS+= ttf.3:\${PORTSDIR}/print/freetype" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
+ echo "CONFIGURE_ARGS+= --with-ttflib" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
+ FreeType=1
+ ;;
+ \"threads\")
+ threads=1
+ ;;
+ \"gmp\")
+ echo "CONFIGURE_ARGS+= --with-gmp" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
+ gmp=1
+ ;;
+ \"readline\")
+ echo "CONFIGURE_ARGS+= --with-readline" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
+ readline=1
+ ;;
+ \"JPEG\")
+ echo "LIB_DEPENDS+= jpeg.9:${PORTSDIR}/graphics/jpeg" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
+ echo "CONFIGURE_ARGS+= --with-jpeg=\${PREFIX}" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
+ JPEG=1
+ ;;
+ \"GDBM\")
+ echo "BUILD_DEPENDS= ${PREFIX}/lib/libgdbm.a:${PORTSDIR}/databases/gdbm" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
+ echo "CONFIGURE_ARGS+= --with-gdbm=\${PREFIX}" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
+ GDBM=1
+ ;;
+ \"zlib\")
+ echo "CONFIGURE_ARGS+= --with-zlib" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
+ zlib=1
+ ;;
+ \"MySQL\")
+ echo ".if !exists(\${PREFIX}/lib/mysql/libmysqlclient.a) || exists(\${PREFIX}/lib/mysql/libmysqlclient.so)" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
+ echo "LIB_DEPENDS+= mysqlclient.5:\${PORTSDIR}/databases/mysql322" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
+ echo ".else" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
+ echo "BUILD_DEPENDS+= \${PREFIX}/lib/mysql/libmysqlclient.a:\${PORTSDIR}/databases/mysql321" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
+ echo ".endif" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
+ echo "CONFIGURE_ARGS+= --with-mysql=\${PREFIX}" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
+ MySQL=1
+ ;;
+ \"PostgreSQL\")
+ echo "BUILD_DEPENDS+= \${PREFIX}/pgsql/bin/psql:\${PORTSDIR}/databases/postgresql" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
+ echo "CONFIGURE_ARGS+= --with-pgsql=\${PREFIX}/pgsql" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
+ PostgresSQL=1
+ ;;
+ \"mSQL\")
+ echo "BUILD_DEPENDS+= msql:\${PORTSDIR}/databases/msql" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
+ echo "CONFIGURE_ARGS+= --with-msql=\${PREFIX}" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
+ mSQL=1
+ ;;
+ esac
+ shift
+done
+if [ -z "$FreeType" ]; then
+ echo "CONFIGURE_ARGS+= --without-ttflib" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
+fi
+if [ -z "$threads" ]; then
+ echo "CONFIGURE_ARGS+= --without-threads" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
+fi
+if [ -z "$GDBM" ]; then
+ echo "CONFIGURE_ARGS+= --without-gdbm" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
+fi
+if [ -z "$zlib" ]; then
+ echo "CONFIGURE_ARGS+= --without-zlib" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
+fi
+if [ -z "$MySQL" ]; then
+ echo "CONFIGURE_ARGS+= --without-mysql" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
+fi
+if [ -z "$PostgreSQL" ]; then
+ echo "CONFIGURE_ARGS+= --without-postgresql" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
+fi
+if [ -z "$mSQL" ]; then
+ echo "CONFIGURE_ARGS+= --without-msql" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
+fi
+if [ -z "$gmp" ]; then
+ echo "CONFIGURE_ARGS+= --without-gmp" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
+fi
+if [ -z "$JPEG" ]; then
+ echo "CONFIGURE_ARGS+= --without-jpeg" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
+fi
+if [ -z "$readline" ]; then
+ echo "CONFIGURE_ARGS+= --without-readline" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
+if [ -z "$ssl" ]; then
+ echo "CONFIGURE_ARGS+= --without-ssl" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
+fi
+fi