Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Dec 2001 15:43:33 +1100 (EST)
From:      Edwin Groothuis <edwin@mavetju.org>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/32958: new port: net/papaya-plugins
Message-ID:  <20011218044333.A00D15F@k7.mavetju.org>

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

>Number:         32958
>Category:       ports
>Synopsis:       new port: net/papaya-plugins
>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:   Mon Dec 17 20:50:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Edwin Groothuis
>Release:        FreeBSD 4.4-RELEASE i386
>Organization:
-
>Environment:
System: FreeBSD k7.mavetju.org 4.4-RELEASE FreeBSD 4.4-RELEASE #2: Sat Nov 10 21:31:47 EST 2001 edwin@k7.mavetju.org:/usr/src/sys/compile/k7 i386

>Description:

Graphical GTK mud client with plugin support - Plugins

>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:
#
#	net/papaya-plugins
#	net/papaya-plugins/scripts
#	net/papaya-plugins/scripts/configure.papaya-plugins
#	net/papaya-plugins/scripts/add-plugins
#	net/papaya-plugins/files
#	net/papaya-plugins/files/patch-Makefile.in
#	net/papaya-plugins/files/patch-TurfProtocol.cpp
#	net/papaya-plugins/files/patch-PythonPlugin.cpp
#	net/papaya-plugins/files/patch-SpellStacker.h
#	net/papaya-plugins/Makefile
#	net/papaya-plugins/pkg-plist
#	net/papaya-plugins/pkg-descr
#	net/papaya-plugins/pkg-comment
#	net/papaya-plugins/distinfo
#
echo c - net/papaya-plugins
mkdir -p net/papaya-plugins > /dev/null 2>&1
echo c - net/papaya-plugins/scripts
mkdir -p net/papaya-plugins/scripts > /dev/null 2>&1
echo x - net/papaya-plugins/scripts/configure.papaya-plugins
sed 's/^X//' >net/papaya-plugins/scripts/configure.papaya-plugins << 'END-of-net/papaya-plugins/scripts/configure.papaya-plugins'
X#!/bin/sh
X# $FreeBSD$
X
Xtempfile=`mktemp -t checklist`
X
Xif [ "${BATCH}" = "yes" ]; then
X	set \"common\"
Xelse
X	/usr/bin/dialog --title "Postfix configuration options" --clear \
X			--checklist "\n\
XPlease select desired options:" -1 -1 8 \
Xcommon		"Enable common generic plugins" ON \
Xextra		"Enable extra generic plugins" OFF \
Xturf		"Enable the TurfProtocol plugin" OFF \
Xturf-common	"Enable common Turf plugins" OFF \
Xturf-extra	"Enable extra Turf plugins" OFF \
Xpython		"Enable the Python interpreter" OFF \
Xall		"Overrides above" OFF \
Xdebugging	"Compile with debugging symbols" OFF \
X2> $tempfile
X
X	retval=$?
X
X	if [ -s $tempfile ]; then
X		set `cat $tempfile`
X	fi
X	rm -f $tempfile
X
X	case $retval in
X		0)	if [ -z "$*" ]; then
X				echo "Nothing selected"
X			fi
X			;;
X		1)	echo "Cancel pressed."
X			exit 1
X			;;
X	esac
Xfi
X
Xexec > ${WRKDIR}/Makefile.inc
X
Xwhile [ "$1" ]; do
X	echo "CONFIGURE_ARGS+=	--enable-`echo $1 | sed -e 's/"//g'`"
X	shift
Xdone
END-of-net/papaya-plugins/scripts/configure.papaya-plugins
echo x - net/papaya-plugins/scripts/add-plugins
sed 's/^X//' >net/papaya-plugins/scripts/add-plugins << 'END-of-net/papaya-plugins/scripts/add-plugins'
X#!/bin/sh
X
Xfiles=`ls ${WRKSRC}/o/ | sed -e 's/^.*\/o\///g'`
X
X> pkg-plist
Xfor f in $files; do
X	echo share/papaya/plugins/$f >> pkg-plist
Xdone
X
Xecho "@dirrm share/papaya/plugins" >> pkg-plist
END-of-net/papaya-plugins/scripts/add-plugins
echo c - net/papaya-plugins/files
mkdir -p net/papaya-plugins/files > /dev/null 2>&1
echo x - net/papaya-plugins/files/patch-Makefile.in
sed 's/^X//' >net/papaya-plugins/files/patch-Makefile.in << 'END-of-net/papaya-plugins/files/patch-Makefile.in'
X--- Makefile.in.orig	Fri Aug 24 23:13:23 2001
X+++ Makefile.in	Fri Aug 24 23:13:48 2001
X@@ -47,7 +47,7 @@
X # should select the correct LFLAGS line.
X ##
X 
X-C++FLAGS = -I/usr/local/include $(POSTGRES_INC) `glib-config --cflags` `gtk-config --cflags` -fno-exceptions -fno-rtti -fno-inline @DEBUG@ -DUNIX -Wall $(MIDI) -Ih `gnome-config --cflags gnomeui`
X+C++FLAGS = -I/usr/local/include $(POSTGRES_INC) `${GLIB_CONFIG} --cflags` `${GTK_CONFIG} --cflags` -fno-exceptions -fno-rtti -fno-inline @DEBUG@ -DUNIX -Wall $(MIDI) -Ih `gnome-config --cflags gnomeui`
X 
X all: $(MODULES)
X 
END-of-net/papaya-plugins/files/patch-Makefile.in
echo x - net/papaya-plugins/files/patch-TurfProtocol.cpp
sed 's/^X//' >net/papaya-plugins/files/patch-TurfProtocol.cpp << 'END-of-net/papaya-plugins/files/patch-TurfProtocol.cpp'
X--- TurfProtocol.cpp.orig	Tue Dec 18 09:07:51 2001
X+++ TurfProtocol.cpp	Tue Dec 18 09:07:31 2001
X@@ -1,5 +1,5 @@
X #include <sys/types.h>
X-#include <malloc.h>
X+#include <stdlib.h>
X #include <string.h>
X #ifndef WIN32
X #include <sys/utsname.h>
END-of-net/papaya-plugins/files/patch-TurfProtocol.cpp
echo x - net/papaya-plugins/files/patch-PythonPlugin.cpp
sed 's/^X//' >net/papaya-plugins/files/patch-PythonPlugin.cpp << 'END-of-net/papaya-plugins/files/patch-PythonPlugin.cpp'
X--- PythonPlugin.cpp.orig	Tue Dec 18 09:06:44 2001
X+++ PythonPlugin.cpp	Tue Dec 18 09:06:59 2001
X@@ -1,7 +1,7 @@
X #include <stdio.h>
X #include <sys/types.h>
X #include <string.h>
X-#include <malloc.h>
X+#include <stdlib.h>
X #include <regex.h>
X #include <algo.h>
X #include <dlfcn.h>
END-of-net/papaya-plugins/files/patch-PythonPlugin.cpp
echo x - net/papaya-plugins/files/patch-SpellStacker.h
sed 's/^X//' >net/papaya-plugins/files/patch-SpellStacker.h << 'END-of-net/papaya-plugins/files/patch-SpellStacker.h'
X--- SpellStacker.h.orig	Tue Dec 18 14:44:13 2001
X+++ SpellStacker.h	Tue Dec 18 14:43:44 2001
X@@ -2,7 +2,7 @@
X #define INCLUDE_SPELLSTACKER_H
X 
X #ifndef WIN32
X-#include <stdint.h>
X+#include <sys/types.h>
X #endif
X 
X class SpellStacker : public Plugin {
END-of-net/papaya-plugins/files/patch-SpellStacker.h
echo x - net/papaya-plugins/Makefile
sed 's/^X//' >net/papaya-plugins/Makefile << 'END-of-net/papaya-plugins/Makefile'
X# New ports collection makefile for:	papaya-plugins
X# Date created:		23 August 2001
X# Whom:			Edwin Groothuis (edwin@mavetju.org)
X#
X# $FreeBSD$
X#
X
XPORTNAME=	papaya-plugins
XPORTVERSION=	0.90
XCATEGORIES=	net
XMASTER_SITES=	http://www.gtk-papaya.org/downloads/plugins/source/
XDISTNAME=	papaya-plugins-src-${PORTVERSION}
X
XMAINTAINER=	edwin@mavetju.org
X
XBUILD_DEPENDS=	${PORTSDIR}/net/papaya/work/papaya-src-${PORTVERSION}/src/h:${PORTSDIR}/net/papaya
X
XUSE_GMAKE=	yes
XUSE_GTK=	yes
XHAS_CONFIGURE=	yes
XIS_INTERACTIVE=	yes
X
Xpre-configure:
X	@${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/configure.papaya-plugins
X	${RM} ${WRKSRC}/config.cache
X
Xpost-configure:
X	${LN} -fs ${PORTSDIR}/net/papaya/work/papaya-src-${PORTVERSION}/src/h ${WRKSRC}/h
X
Xpost-build:
X	@${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/add-plugins
X
X.include <bsd.port.mk>
X
X.if exists(${WRKDIR}/Makefile.inc)
X.include "${WRKDIR}/Makefile.inc"
X.endif
END-of-net/papaya-plugins/Makefile
echo x - net/papaya-plugins/pkg-plist
sed 's/^X//' >net/papaya-plugins/pkg-plist << 'END-of-net/papaya-plugins/pkg-plist'
Xshare/papaya/plugins/Clock.so
Xshare/papaya/plugins/ConnectionTimer.so
Xshare/papaya/plugins/Fraction.so
Xshare/papaya/plugins/Log.so
Xshare/papaya/plugins/MSP.so
Xshare/papaya/plugins/MudLog.so
Xshare/papaya/plugins/Mudftp.so
Xshare/papaya/plugins/Multi.so
Xshare/papaya/plugins/PapayaUsers.so
Xshare/papaya/plugins/PromptPlugin.so
Xshare/papaya/plugins/Speedwalk.so
X@dirrm share/papaya/plugins
END-of-net/papaya-plugins/pkg-plist
echo x - net/papaya-plugins/pkg-descr
sed 's/^X//' >net/papaya-plugins/pkg-descr << 'END-of-net/papaya-plugins/pkg-descr'
XPapaya is a MUD client. A MUD client is a program like telnet, but
Xcustomised for playing MUDs with. Papaya has a number of features
Xdesigned to make playing MUDs more enjoyable. Papaya makes use of
XGnome to provide a graphical interface.
X
XThis section is only the plugins.
X
XWWW: http://www.gtk-papaya.org/
END-of-net/papaya-plugins/pkg-descr
echo x - net/papaya-plugins/pkg-comment
sed 's/^X//' >net/papaya-plugins/pkg-comment << 'END-of-net/papaya-plugins/pkg-comment'
XGraphical GTK mud client with plugin support - plugins
END-of-net/papaya-plugins/pkg-comment
echo x - net/papaya-plugins/distinfo
sed 's/^X//' >net/papaya-plugins/distinfo << 'END-of-net/papaya-plugins/distinfo'
XMD5 (papaya-plugins-src-0.90.tar.gz) = 4d89921d9d91fbb6aba3e774bbbc8c8b
END-of-net/papaya-plugins/distinfo
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?20011218044333.A00D15F>