Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Jan 1999 22:32:54 +0200 (EET)
From:      "Vladimir N.Silyaev" <vns@delta.odessa.ua>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/9783: I would like to contribute a new port
Message-ID:  <199901292032.WAA01074@storage.delta.odessa.ua>

next in thread | raw e-mail | index | archive | help

>Number:         9783
>Category:       ports
>Synopsis:       I would like to contribute a new port
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan 29 12:40:01 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     Vladimir N.Silyaev
>Release:        FreeBSD 3.0-CURRENT i386
>Organization:
>Environment:

>Description:

I would like to contribute a new port  'pike-0.6'

pike dynamic programming language with a syntax similar to C++.language

>How-To-Repeat:

>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	Makefile
#	files/md5
#	pkg/COMMENT
#	pkg/DESCR
#	pkg/PLIST
#	scripts/configure.pike
#
echo x - Makefile
sed 's/^X//' >Makefile << 'END-of-Makefile'
X# New ports collection makefile for:	pike
X# Version required:	0.6
X# Date created:		16 Jan 1999
X# Whom:			vns@delta.odessa.ua
X#
X# $Id:$
X#
XVERSION=	0.6.110
XDISTNAME=	Pike-v${VERSION}
XPKGNAME=	pike-0.6
XCATEGORIES=	lang
XMASTER_SITES=	http://pike.idonex.se/download/
X
XMAINTAINER=	vns@delta.odessa.ua
X
Xpre-fetch:
X.if !defined(BATCH)
X	@${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/configure.pike
X.endif
X
XWRKSRC=		${WRKDIR}/Pike-v${VERSION}/src/
X
XGNU_CONFIGURE=  yes
XCONFIGURE_ARGS?= \
X	--without-ttflib \
X	--without-gdbm \
X	--without-mysql \
X	--without-postgresql \
X	--without-msql \
X	--without-jpeg
X
Xpre-configure:
X	echo ${CONFIGURE_ARGS}
X
X.include <bsd.port.mk>
END-of-Makefile
echo x - files/md5
sed 's/^X//' >files/md5 << 'END-of-files/md5'
XMD5 (Pike-v0.6.110.tar.gz) = a6ed59464a11c09611c803e83fb62282
END-of-files/md5
echo x - pkg/COMMENT
sed 's/^X//' >pkg/COMMENT << 'END-of-pkg/COMMENT'
Xpike dynamic programming language with a syntax similar to C++.language
END-of-pkg/COMMENT
echo x - pkg/DESCR
sed 's/^X//' >pkg/DESCR << 'END-of-pkg/DESCR'
XPike is easy to learn, and just as easy to use in the development of
Xpowerful applications. The language is designed to be useful and
Xpowerful. As the syntax of Pike is similar to that of C, most
Xprogrammers will find it easy to use. As Pike is a high-level,
Xinterpreted and modular object-oriented language, powerful
Xapplications can be rapidly developed. Pike has evolved rather than
Xbeen designed, and the changes made have been guided by its users'
Xneeds. In general, the better you get to know Pike, the more you will
Xappreciate it, from a user's perspective.
X
XFor more info, please, refer to http://pike.idonex.se/
END-of-pkg/DESCR
echo x - pkg/PLIST
sed 's/^X//' >pkg/PLIST << 'END-of-pkg/PLIST'
Xbin/pike
Xbin/pike-module
Xbin/hilfe
Xinclude/pike/acconfig.h
Xinclude/pike/array.h
Xinclude/pike/backend.h
Xinclude/pike/block_alloc.h
Xinclude/pike/builtin_functions.h
Xinclude/pike/callback.h
Xinclude/pike/compilation.h
Xinclude/pike/constants.h
Xinclude/pike/cpp.h
Xinclude/pike/cyclic.h
Xinclude/pike/dmalloc.h
Xinclude/pike/docode.h
Xinclude/pike/dynamic_buffer.h
Xinclude/pike/dynamic_load.h
Xinclude/pike/efun.h
Xinclude/pike/encode.h
Xinclude/pike/error.h
Xinclude/pike/fd_control.h
Xinclude/pike/fdlib.h
Xinclude/pike/fsort.h
Xinclude/pike/fsort_template.h
Xinclude/pike/gc.h
Xinclude/pike/global.h
Xinclude/pike/las.h
Xinclude/pike/hashtable.h
Xinclude/pike/interpret.h
Xinclude/pike/language.h
Xinclude/pike/lex.h
Xinclude/pike/machine.h
Xinclude/pike/main.h
Xinclude/pike/mapping.h
Xinclude/pike/module.h
Xinclude/pike/module_support.h
Xinclude/pike/multiset.h
Xinclude/pike/object.h
Xinclude/pike/opcodes.h
Xinclude/pike/operators.h
Xinclude/pike/otable.h
Xinclude/pike/peep.h
Xinclude/pike/pike_macros.h
Xinclude/pike/pike_memory.h
Xinclude/pike/pike_types.h
Xinclude/pike/port.h
Xinclude/pike/program.h
Xinclude/pike/program_areas.h
Xinclude/pike/queue.h
Xinclude/pike/rusage.h
Xinclude/pike/signal_handler.h
Xinclude/pike/stralloc.h
Xinclude/pike/stuff.h
Xinclude/pike/svalue.h
Xinclude/pike/threads.h
Xinclude/pike/time_stuff.h
Xinclude/pike/version.h
Xinclude/pike/y.tab.h
Xinclude/pike/dynamic_module_makefile
Xinclude/pike/aclocal.m4
Xlib/pike/modules/Gdbm.so
Xlib/pike/modules/Gmp.so
Xlib/pike/modules/Gz.so
Xlib/pike/modules/Image.so
Xlib/pike/modules/MIME.so
Xlib/pike/modules/MIME.pmod
Xlib/pike/modules/Msql.so
Xlib/pike/modules/Mysql.so
Xlib/pike/modules/Pipe.so
Xlib/pike/modules/Postgres.so
Xlib/pike/modules/Regexp.so
Xlib/pike/modules/Ssleay.so
Xlib/pike/modules/Yp.so
Xlib/pike/modules/Yp.pmod
Xlib/pike/modules/_Charset.so
Xlib/pike/modules/_Charset.pmod
Xlib/pike/modules/_Image_JPEG.so
Xlib/pike/modules/_Image_TTF.so
Xlib/pike/modules/_Image_XFace.so
Xlib/pike/modules/_Lobotomized_Crypto.so
Xlib/pike/modules/call_out.pmod
Xlib/pike/modules/files.pmod
Xlib/pike/modules/math.pmod
Xlib/pike/modules/readline.so
Xlib/pike/modules/spider.so
Xlib/pike/modules/sprintf.pmod
Xlib/pike/modules/system.pmod
Xlib/pike/master.pike
Xshare/pike/include/getopt.h
Xshare/pike/include/array.h
Xshare/pike/include/fifo.h
Xshare/pike/include/process.h
Xshare/pike/include/mysql.h
Xshare/pike/include/simulate.h
Xshare/pike/include/sql.h
Xshare/pike/include/stack.h
Xshare/pike/include/stdio.h
Xshare/pike/include/string.h
Xshare/pike/include/syslog.h
Xshare/pike/include/msql.h
Xshare/pike/include/postgres.h
Xshare/pike/modules/ADT.pmod/queue.pike
Xshare/pike/modules/ADT.pmod/struct.pike
Xshare/pike/modules/ADT.pmod/Table.pmod
Xshare/pike/modules/Tools.pmod/Hilfe.pmod
Xshare/pike/modules/Tools.pmod/sed.pmod
Xshare/pike/modules/Tools.pmod/PEM.pmod
Xshare/pike/modules/Tools.pmod/_PEM.pmod
Xshare/pike/modules/Crypto/des3.pike
Xshare/pike/modules/Crypto/des3_cbc.pike
Xshare/pike/modules/Crypto/des_cbc.pike
Xshare/pike/modules/Crypto/idea_cbc.pike
Xshare/pike/modules/Crypto/randomness.pmod
Xshare/pike/modules/Crypto/rsa.pike
Xshare/pike/modules/Crypto/hmac.pike
Xshare/pike/modules/LR.pmod/Grammar_parser.pmod
Xshare/pike/modules/LR.pmod/item.pike
Xshare/pike/modules/LR.pmod/kernel.pike
Xshare/pike/modules/LR.pmod/lr.pike
Xshare/pike/modules/LR.pmod/parser.pike
Xshare/pike/modules/LR.pmod/priority.pike
Xshare/pike/modules/LR.pmod/rule.pike
Xshare/pike/modules/LR.pmod/scanner.pike
Xshare/pike/modules/Sql.pmod/mysql.pike
Xshare/pike/modules/Sql.pmod/mysql_result.pike
Xshare/pike/modules/Sql.pmod/sql.pike
Xshare/pike/modules/Sql.pmod/sql_result.pike
Xshare/pike/modules/Sql.pmod/odbc.pike
Xshare/pike/modules/Sql.pmod/odbc_result.pike
Xshare/pike/modules/Sql.pmod/oracle.pike
Xshare/pike/modules/Sql.pmod/msql.pike
Xshare/pike/modules/Sql.pmod/postgres.pike
Xshare/pike/modules/Sql.pmod/postgres_result.pike
Xshare/pike/modules/Protocols.pmod/X.pmod/db/compose.db
Xshare/pike/modules/Protocols.pmod/X.pmod/db/compose
Xshare/pike/modules/Protocols.pmod/X.pmod/db/convert_compose.pike
Xshare/pike/modules/Protocols.pmod/X.pmod/db/keysyms
Xshare/pike/modules/Protocols.pmod/X.pmod/Atom.pmod
Xshare/pike/modules/Protocols.pmod/X.pmod/AUTHORS
Xshare/pike/modules/Protocols.pmod/X.pmod/Auth.pmod
Xshare/pike/modules/Protocols.pmod/X.pmod/Extensions.pmod
Xshare/pike/modules/Protocols.pmod/X.pmod/Requests.pmod
Xshare/pike/modules/Protocols.pmod/X.pmod/Types.pmod
Xshare/pike/modules/Protocols.pmod/X.pmod/XImage.pmod
Xshare/pike/modules/Protocols.pmod/X.pmod/XTools.pmod
Xshare/pike/modules/Protocols.pmod/X.pmod/Xlib.pmod
Xshare/pike/modules/Protocols.pmod/X.pmod/_Types.pmod
Xshare/pike/modules/Protocols.pmod/X.pmod/_Xlib.pmod
Xshare/pike/modules/Protocols.pmod/X.pmod/error.h
Xshare/pike/modules/Protocols.pmod/X.pmod/keysyms.h
Xshare/pike/modules/Protocols.pmod/X.pmod/my_struct.pmod
Xshare/pike/modules/Protocols.pmod/DNS.pmod
Xshare/pike/modules/Protocols.pmod/NNTP.pmod
Xshare/pike/modules/Protocols.pmod/LPD.pmod
Xshare/pike/modules/Protocols.pmod/SMTP.pmod
Xshare/pike/modules/Protocols.pmod/TELNET.pmod
Xshare/pike/modules/Protocols.pmod/Line.pmod
Xshare/pike/modules/Protocols.pmod/Ident.pmod
Xshare/pike/modules/Protocols.pmod/Ports.pmod
Xshare/pike/modules/Calendar.pmod/Gregorian.pmod
Xshare/pike/modules/Calendar.pmod/ISO.pmod
Xshare/pike/modules/Calendar.pmod/Julian.pmod
Xshare/pike/modules/Calendar.pmod/Orthodox.pmod
Xshare/pike/modules/Calendar.pmod/Swedish.pmod
Xshare/pike/modules/Calendar.pmod/module.pmod
Xshare/pike/modules/Languages.pmod/PLIS.pmod
Xshare/pike/modules/Standards.pmod/ASN1.pmod/Encode.pmod
Xshare/pike/modules/Standards.pmod/ASN1.pmod/Decode.pmod
Xshare/pike/modules/Standards.pmod/ASN1.pmod/Types.pmod
Xshare/pike/modules/Standards.pmod/PKCS.pmod/CSR.pmod
Xshare/pike/modules/Standards.pmod/PKCS.pmod/Certificate.pmod
Xshare/pike/modules/Standards.pmod/PKCS.pmod/Identifiers.pmod
Xshare/pike/modules/Standards.pmod/PKCS.pmod/RSA.pmod
Xshare/pike/modules/Standards.pmod/PKCS.pmod/Signature.pmod
Xshare/pike/modules/Standards.pmod/PKCS.pmod/PFX.pmod
Xshare/pike/modules/Yabu.pmod/module.pmod
Xshare/pike/modules/Yabu.pmod/test.pike
Xshare/pike/modules/Locale.pmod/Charset.pmod
Xshare/pike/modules/Remote.pmod/Client.pike
Xshare/pike/modules/Remote.pmod/Server.pike
Xshare/pike/modules/Remote.pmod/call.pike
Xshare/pike/modules/Remote.pmod/connection.pike
Xshare/pike/modules/Remote.pmod/context.pike
Xshare/pike/modules/Remote.pmod/obj.pike
Xshare/pike/modules/Remote.pmod/remote.h
Xshare/pike/modules/Array.pmod
Xshare/pike/modules/Colors.pmod
Xshare/pike/modules/Crypto.pmod
Xshare/pike/modules/Getopt.pmod
Xshare/pike/modules/Process.pmod
Xshare/pike/modules/Simulate.pmod
Xshare/pike/modules/Stdio.pmod
Xshare/pike/modules/Stack.pmod
Xshare/pike/modules/String.pmod
Xshare/pike/modules/Thread.pmod
Xshare/pike/modules/__builtin.pmod
Xshare/pike/modules/error.pmod
Xshare/pike/master.pike.in
X@dirrm include/pike
X@dirrm lib/pike/modules
X@dirrm lib/pike/include
X@dirrm lib/pike
X@dirrm share/pike/include
X@dirrm share/pike/modules/ADT.pmod
X@dirrm share/pike/modules/Tools.pmod
X@dirrm share/pike/modules/Crypto
X@dirrm share/pike/modules/LR.pmod
X@dirrm share/pike/modules/Sql.pmod
X@dirrm share/pike/modules/Protocols.pmod/X.pmod
X@dirrm share/pike/modules/Protocols.pmod/X.pmod/db
X@dirrm share/pike/modules/Protocols.pmod
X@dirrm share/pike/modules/Calendar.pmod
X@dirrm share/pike/modules/Languages.pmod
X@dirrm share/pike/modules/Standards.pmod/ASN1.pmod
X@dirrm share/pike/modules/Standards.pmod/PKCS.pmod
X@dirrm share/pike/modules/Standards.pmod
X@dirrm share/pike/modules/Yabu.pmod
X@dirrm share/pike/modules/Locale.pmod
X@dirrm share/pike/modules/Remote.pmod
X@dirrm share/pike/modules
X@dirrm share/pike
END-of-pkg/PLIST
echo x - scripts/configure.pike
sed 's/^X//' >scripts/configure.pike << 'END-of-scripts/configure.pike'
X#!/bin/sh
X
Xif [ -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc ]; then
X	exit
Xfi
X
X/usr/bin/dialog --title "configuration options" --clear \
X	--checklist "\n\
XPlease select desired options:" -1 -1 11 \
XFreeType	"TrueType font rendering" OFF \
XJPEG		"support JPEG" OFF \
Xthreads		"threads support" ON \
XGDBM		"GNU database manager support" OFF \
Xzlib		"zlib library support" ON \
Xgmp		"support bignums" ON \
Xreadline	"support for command line editing" ON \
XMySQL		"MySQL database support" OFF \
XPostgreSQL	"PostgreSQL database support" OFF \
XmSQL		"mSQL database support" OFF \
X2> /tmp/checklist.tmp.$$
X#ssl	        "SSL support" OFF \
Xretval=$?
X
Xif [ -s /tmp/checklist.tmp.$$ ]; then
X	set `cat /tmp/checklist.tmp.$$`
Xfi
Xrm -f /tmp/checklist.tmp.$$
X
Xcase $retval in
X	0)	if [ -z "$*" ]; then
X			echo "Nothing selected"
X		fi
X		;;
X	1)	echo "Cancel pressed."
X		exit 1
X		;;
Xesac
X
Xmkdir -p ${WRKDIRPREFIX}${CURDIR}
X> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
X
Xwhile [ "$1" ]; do
X	case $1 in
X		\"FreeType\")
X			echo "LIB_DEPENDS+=		ttf.3:\${PORTSDIR}/print/freetype" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
X			echo "CONFIGURE_ARGS+=	--with-ttflib" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
X			FreeType=1
X			;;
X		\"threads\")
X			threads=1
X			;;
X		\"gmp\")
X			echo "CONFIGURE_ARGS+=	--with-gmp" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
X			gmp=1
X			;;
X		\"readline\")
X			echo "CONFIGURE_ARGS+=	--with-readline" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
X			readline=1
X			;;
X		\"JPEG\")
X			echo "LIB_DEPENDS+=		jpeg.9:${PORTSDIR}/graphics/jpeg" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
X			echo "CONFIGURE_ARGS+=	--with-jpeg=\${PREFIX}" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
X			JPEG=1
X			;;
X		\"GDBM\")
X			echo "BUILD_DEPENDS= ${PREFIX}/lib/libgdbm.a:${PORTSDIR}/databases/gdbm" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc 
X			echo "CONFIGURE_ARGS+=	--with-gdbm=\${PREFIX}" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
X			GDBM=1
X			;;
X		\"zlib\")
X			echo "CONFIGURE_ARGS+=	--with-zlib" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
X			zlib=1
X			;;
X		\"MySQL\")
X			echo ".if !exists(\${PREFIX}/lib/mysql/libmysqlclient.a) || exists(\${PREFIX}/lib/mysql/libmysqlclient.so)" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
X			echo "LIB_DEPENDS+=		mysqlclient.5:\${PORTSDIR}/databases/mysql322" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
X			echo ".else" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
X			echo "BUILD_DEPENDS+=		\${PREFIX}/lib/mysql/libmysqlclient.a:\${PORTSDIR}/databases/mysql321" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
X			echo ".endif" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
X			echo "CONFIGURE_ARGS+=	--with-mysql=\${PREFIX}" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
X			MySQL=1
X			;;
X		\"PostgreSQL\")
X			echo "BUILD_DEPENDS+=		\${PREFIX}/pgsql/bin/psql:\${PORTSDIR}/databases/postgresql" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
X			echo "CONFIGURE_ARGS+=	--with-pgsql=\${PREFIX}/pgsql" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
X			PostgresSQL=1
X			;;
X		\"mSQL\")
X			echo "BUILD_DEPENDS+=		msql:\${PORTSDIR}/databases/msql" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
X			echo "CONFIGURE_ARGS+=	--with-msql=\${PREFIX}" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
X			mSQL=1
X			;;
X	esac
X	shift
Xdone
Xif [ -z "$FreeType" ]; then
X	echo "CONFIGURE_ARGS+=  --without-ttflib" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc  
Xfi
Xif [ -z "$threads" ]; then
X	echo "CONFIGURE_ARGS+=  --without-threads" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc  
Xfi
Xif [ -z "$GDBM" ]; then
X	echo "CONFIGURE_ARGS+=  --without-gdbm" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc  
Xfi
Xif [ -z "$zlib" ]; then
X	echo "CONFIGURE_ARGS+=  --without-zlib" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc  
Xfi
Xif [ -z "$MySQL" ]; then
X	echo "CONFIGURE_ARGS+=  --without-mysql" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc  
Xfi
Xif [ -z "$PostgreSQL" ]; then
X	echo "CONFIGURE_ARGS+=  --without-postgresql" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc  
Xfi
Xif [ -z "$mSQL" ]; then
X	echo "CONFIGURE_ARGS+=  --without-msql" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc  
Xfi
Xif [ -z "$gmp" ]; then
X	echo "CONFIGURE_ARGS+=  --without-gmp" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc  
Xfi
Xif [ -z "$JPEG" ]; then
X	echo "CONFIGURE_ARGS+=  --without-jpeg" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc  
Xfi
Xif [ -z "$readline" ]; then
X	echo "CONFIGURE_ARGS+=  --without-readline" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc  
Xif [ -z "$ssl" ]; then
X	echo "CONFIGURE_ARGS+=  --without-ssl" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc  
Xfi
Xfi
END-of-scripts/configure.pike
exit


>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901292032.WAA01074>