Date: Fri, 7 Sep 2001 22:49:53 -0400 (EDT) From: Patrick Li <pat@databits.net> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/30429: New port: converters/gbase Message-ID: <200109080249.f882nrh70974@cc92687-a.wlgrv1.pa.home.com>
next in thread | raw e-mail | index | archive | help
>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 <pat@databits.net> 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 <bsd.port.mk> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200109080249.f882nrh70974>