From owner-freebsd-ports Fri Sep 7 19:50:19 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id E360337B409 for ; Fri, 7 Sep 2001 19:50:00 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f882o0s89256; Fri, 7 Sep 2001 19:50:00 -0700 (PDT) (envelope-from gnats) Received: from cc92687-a.wlgrv1.pa.home.com (cc92687-a.wlgrv1.pa.home.com [24.5.63.190]) by hub.freebsd.org (Postfix) with ESMTP id 379EE37B403 for ; Fri, 7 Sep 2001 19:49:55 -0700 (PDT) Received: (from root@localhost) by cc92687-a.wlgrv1.pa.home.com (8.11.6/8.11.5) id f882nrh70974; Fri, 7 Sep 2001 22:49:53 -0400 (EDT) (envelope-from pat) Message-Id: <200109080249.f882nrh70974@cc92687-a.wlgrv1.pa.home.com> Date: Fri, 7 Sep 2001 22:49:53 -0400 (EDT) From: Patrick Li Reply-To: Patrick Li To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/30429: New port: converters/gbase Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 30429 >Category: ports >Synopsis: New port: converters/gbase >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 Sep 07 19:50:00 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Patrick Li >Release: FreeBSD 4.4-RC i386 >Organization: N/A >Environment: System: FreeBSD bottlenek 4.4-RC FreeBSD 4.4-RC #0: Wed Aug 29 20:10:10 EDT 2001 pat@bottlenek:/usr/src/sys/compile/BOTTLENEK i386 >Description: GBase is a GTK program designed to convert between the four common bases used in programming (decimal, hexadecimal, octal and binary). It converts numbers on-the-fly as they are typed in. It can also convert numbers entered on the command line. It can correctly handle both signed and unsigned 32-bit integers. License: Artistic WWW: http://www.hibernaculum.net/gbase.html >How-To-Repeat: N/A >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: # # gbase # gbase/Makefile # gbase/distinfo # gbase/files # gbase/files/patch-Makefile # gbase/pkg-comment # gbase/pkg-descr # gbase/pkg-plist # echo c - gbase mkdir -p gbase > /dev/null 2>&1 echo x - gbase/Makefile sed 's/^X//' >gbase/Makefile << 'END-of-gbase/Makefile' X# New ports collection makefile for: gbase X# Date created: Fri Sep 7 22:08:24 EDT 2001 X# Whom: Patrick Li X# X# $FreeBSD$ X# X XPORTNAME= gbase XPORTVERSION= 0.5 XCATEGORIES= converters XMASTER_SITES= http://www.hibernaculum.net/download/ X XMAINTAINER= pat@databits.net X XUSE_X_PREFIX= yes XUSE_GTK= yes X Xdo-install: X @${INSTALL_PROGRAM} ${WRKSRC}/gbase ${PREFIX}/bin X X.include END-of-gbase/Makefile echo x - gbase/distinfo sed 's/^X//' >gbase/distinfo << 'END-of-gbase/distinfo' XMD5 (gbase-0.5.tar.gz) = 924e52f7efe6b19374407c7d2a6ab020 END-of-gbase/distinfo echo c - gbase/files mkdir -p gbase/files > /dev/null 2>&1 echo x - gbase/files/patch-Makefile sed 's/^X//' >gbase/files/patch-Makefile << 'END-of-gbase/files/patch-Makefile' X--- Makefile.orig Fri Sep 7 22:10:42 2001 X+++ Makefile Fri Sep 7 22:20:26 2001 X@@ -1,6 +1,7 @@ X-CC = gcc X-CCFLAGS = `gtk-config --cflags` X-LDFLAGS = `gtk-config --libs` X+CFLAGS += `${GTK_CONFIG} --cflags` X+LDFLAGS = `${GTK_CONFIG} --libs` X+ X+all: gbase X X gbase: gbase.o X $(CC) gbase.o $(LDFLAGS) -o gbase X@@ -10,6 +11,6 @@ X X # Make object files: X %.o: X- $(CC) $(CCFLAGS) -c $*.c X+ $(CC) $(CFLAGS) -c $*.c X X-gbase.o: gbase.c X+gbase.o: gbase.c END-of-gbase/files/patch-Makefile echo x - gbase/pkg-comment sed 's/^X//' >gbase/pkg-comment << 'END-of-gbase/pkg-comment' XA program to convert between the 4 common bases used in programming END-of-gbase/pkg-comment echo x - gbase/pkg-descr sed 's/^X//' >gbase/pkg-descr << 'END-of-gbase/pkg-descr' XGBase is a GTK program designed to convert between the four common Xbases used in programming (decimal, hexadecimal, octal and binary). XIt converts numbers on-the-fly as they are typed in. It can also Xconvert numbers entered on the command line. It can correctly handle Xboth signed and unsigned 32-bit integers. X XLicense: Artistic XWWW: http://www.hibernaculum.net/gbase.html END-of-gbase/pkg-descr echo x - gbase/pkg-plist sed 's/^X//' >gbase/pkg-plist << 'END-of-gbase/pkg-plist' Xbin/gbase END-of-gbase/pkg-plist exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message