From owner-freebsd-ports Sun Jul 18 9:20: 4 1999 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 60B1B15067 for ; Sun, 18 Jul 1999 09:20:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id JAA55861; Sun, 18 Jul 1999 09:20:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from dominik.saargate.de (dominik.saargate.de [212.88.132.246]) by hub.freebsd.org (Postfix) with ESMTP id 7EDCF14EE0 for ; Sun, 18 Jul 1999 09:18:47 -0700 (PDT) (envelope-from domi@dominik.saargate.de) Received: (from domi@localhost) by dominik.saargate.de (8.9.3/8.9.3) id RAA23886; Sun, 18 Jul 1999 17:42:31 +0200 (CEST) (envelope-from domi) Message-Id: <199907181542.RAA23886@dominik.saargate.de> Date: Sun, 18 Jul 1999 17:42:31 +0200 (CEST) From: domi@saargate.de Reply-To: domi@saargate.de To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/12694: new port: gdict-0.7 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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 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 X #include X #include X #include 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 X #include X #include X #include 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