Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Jul 1999 17:42:31 +0200 (CEST)
From:      domi@saargate.de
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/12694: new port: gdict-0.7
Message-ID:  <199907181542.RAA23886@dominik.saargate.de>

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

>Number:         12694
>Category:       ports
>Synopsis:       new port: gdict-0.7
>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:   Sun Jul 18 09:20:00 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Dominik Brettnacher
>Release:        FreeBSD 3.2-STABLE i386
>Organization:
>Environment:
>Description:
>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:
#
#	gdict
#	gdict/files
#	gdict/files/md5
#	gdict/pkg
#	gdict/pkg/DESCR
#	gdict/pkg/PLIST
#	gdict/pkg/COMMENT
#	gdict/Makefile
#	gdict/patches
#	gdict/patches/patch-aa
#	gdict/patches/patch-ab
#	gdict/patches/patch-ac
#
echo c - gdict
mkdir -p gdict > /dev/null 2>&1
echo c - gdict/files
mkdir -p gdict/files > /dev/null 2>&1
echo x - gdict/files/md5
sed 's/^X//' >gdict/files/md5 << 'END-of-gdict/files/md5'
XMD5 (gdict-0.7.tar.gz) = ef81d5142345dc2b0b9af662a0cc3cc0
END-of-gdict/files/md5
echo c - gdict/pkg
mkdir -p gdict/pkg > /dev/null 2>&1
echo x - gdict/pkg/DESCR
sed 's/^X//' >gdict/pkg/DESCR << 'END-of-gdict/pkg/DESCR'
Xgdict is a small C/GTK+ program written to find definitions of arbitrary
Xwords.  It contacts the MIT dictionary server and returns a definition.
X
Xadditionally, there is a CLUI version named "dict"
X
Xhttp://www.psilord.com/code/
END-of-gdict/pkg/DESCR
echo x - gdict/pkg/PLIST
sed 's/^X//' >gdict/pkg/PLIST << 'END-of-gdict/pkg/PLIST'
Xbin/dict
Xbin/gdict
END-of-gdict/pkg/PLIST
echo x - gdict/pkg/COMMENT
sed 's/^X//' >gdict/pkg/COMMENT << 'END-of-gdict/pkg/COMMENT'
Xgdict is a small program that finds definitions of arbitrary (english) words
END-of-gdict/pkg/COMMENT
echo x - gdict/Makefile
sed 's/^X//' >gdict/Makefile << 'END-of-gdict/Makefile'
X# New ports collection makefile for:	gdict
X# Version required:		0.7
X# Date created:			Sun Jul 18 1999
X# Whom:				domi@saargate.de
X#
X# $Id: Makefile,v 1.1.1.1 1999/06/09 01:54:51 steve Exp $
X#
X
XDISTNAME=	gdict-0.7
XCATEGORIES=	misc
XMASTER_SITES=	http://www.psilord.com/code/gdict/
X
XMAINTAINER=	domi@saargate.de
X
XLIB_DEPENDS=	gtk12.2:${PORTSDIR}/x11-toolkits/gtk12
X
X.include <bsd.port.mk>
END-of-gdict/Makefile
echo c - gdict/patches
mkdir -p gdict/patches > /dev/null 2>&1
echo x - gdict/patches/patch-aa
sed 's/^X//' >gdict/patches/patch-aa << 'END-of-gdict/patches/patch-aa'
X--- Makefile.orig	Mon Mar 29 00:32:27 1999
X+++ Makefile	Sun Jul 18 17:34:11 1999
X@@ -2,15 +2,15 @@
X 
X CC	= gcc
X CFLAGS	= -O6 -Wall
X-CFL_GTK	= $(CFLAGS) `gtk-config --cflags` `gtk-config --libs`
X+CFL_GTK	= $(CFLAGS) `gtk12-config --cflags` `gtk12-config --libs`
X CFL	= $(CFLAGS)
X OBJECTS_GDICT	= gdict.c 
X OBJECTS_DICT	= dict.c
X 
X all: gdict dict
X-install:
X-	install -m 0755 -s gdict /usr/local/bin/gdict
X-	install -m 0755 -s dict /usr/local/bin/dict
X+install: all
X+	install -o root -g wheel -m 0555 -s gdict /usr/local/bin/gdict
X+	install -o root -g wheel -m 0555 -s dict /usr/local/bin/dict
X 
X gdict:	$(OBJECTS_GDICT)
X 	$(CC) $(CFL_GTK) $(OBJECTS_GDICT) -o gdict
END-of-gdict/patches/patch-aa
echo x - gdict/patches/patch-ab
sed 's/^X//' >gdict/patches/patch-ab << 'END-of-gdict/patches/patch-ab'
X--- gdict.c.orig	Sun Jul 18 14:40:23 1999
X+++ gdict.c	Sun Jul 18 14:48:13 1999
X@@ -13,6 +13,7 @@
X  * Window resizing and cleanup by Iain (Nodatadj, EFNet) 23-Mar-1999
X  */
X 
X+#include <sys/types.h>
X #include <gtk/gtk.h>
X #include <stdio.h>
X #include <sys/socket.h>
END-of-gdict/patches/patch-ab
echo x - gdict/patches/patch-ac
sed 's/^X//' >gdict/patches/patch-ac << 'END-of-gdict/patches/patch-ac'
X--- dict.c.orig	Sun Jul 18 14:40:19 1999
X+++ dict.c	Sun Jul 18 14:44:53 1999
X@@ -4,6 +4,7 @@
X  * Thanks goes out to #linuxos also.  :)
X  */
X 
X+#include <sys/types.h>
X #include <stdio.h>
X #include <sys/socket.h>
X #include <unistd.h>
END-of-gdict/patches/patch-ac
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?199907181542.RAA23886>