diff options
author | Pete Fritchman <petef@FreeBSD.org> | 2001-09-09 01:42:22 +0000 |
---|---|---|
committer | Pete Fritchman <petef@FreeBSD.org> | 2001-09-09 01:42:22 +0000 |
commit | 0fa9379f87e2288acb788ae1a3059cbc8ecb0886 (patch) | |
tree | 680d74abbe5b5f13a0faa78d81ffc7d1c13681fa /converters | |
parent | 10374f2a80f457db4a24ac58c8bcd12cdef94841 (diff) | |
download | ports-0fa9379f87e2288acb788ae1a3059cbc8ecb0886.tar.gz ports-0fa9379f87e2288acb788ae1a3059cbc8ecb0886.zip |
add gbase 0.5
A program to convert between the 4 common bases used in programming
PR: 30429
Submitted by: Patrick Li <pat@databits.net>
Notes
Notes:
svn path=/head/; revision=47557
Diffstat (limited to 'converters')
-rw-r--r-- | converters/Makefile | 1 | ||||
-rw-r--r-- | converters/gbase/Makefile | 21 | ||||
-rw-r--r-- | converters/gbase/distinfo | 1 | ||||
-rw-r--r-- | converters/gbase/files/patch-Makefile | 22 | ||||
-rw-r--r-- | converters/gbase/pkg-comment | 1 | ||||
-rw-r--r-- | converters/gbase/pkg-descr | 8 | ||||
-rw-r--r-- | converters/gbase/pkg-plist | 1 |
7 files changed, 55 insertions, 0 deletions
diff --git a/converters/Makefile b/converters/Makefile index 7b79a6413205..d3caa64e51a9 100644 --- a/converters/Makefile +++ b/converters/Makefile @@ -8,6 +8,7 @@ SUBDIR += dumpasn1 SUBDIR += fconv SUBDIR += gb2jis + SUBDIR += gbase SUBDIR += i18ntools SUBDIR += iconv SUBDIR += iconv-extra diff --git a/converters/gbase/Makefile b/converters/gbase/Makefile new file mode 100644 index 000000000000..0586b41b6fb9 --- /dev/null +++ b/converters/gbase/Makefile @@ -0,0 +1,21 @@ +# New ports collection makefile for: gbase +# Date created: Fri Sep 7 22:08:24 EDT 2001 +# Whom: Patrick Li <pat@databits.net> +# +# $FreeBSD$ +# + +PORTNAME= gbase +PORTVERSION= 0.5 +CATEGORIES= converters +MASTER_SITES= http://www.hibernaculum.net/download/ + +MAINTAINER= pat@databits.net + +USE_X_PREFIX= yes +USE_GTK= yes + +do-install: + @${INSTALL_PROGRAM} ${WRKSRC}/gbase ${PREFIX}/bin + +.include <bsd.port.mk> diff --git a/converters/gbase/distinfo b/converters/gbase/distinfo new file mode 100644 index 000000000000..6410b44f56bb --- /dev/null +++ b/converters/gbase/distinfo @@ -0,0 +1 @@ +MD5 (gbase-0.5.tar.gz) = 924e52f7efe6b19374407c7d2a6ab020 diff --git a/converters/gbase/files/patch-Makefile b/converters/gbase/files/patch-Makefile new file mode 100644 index 000000000000..fa072f196531 --- /dev/null +++ b/converters/gbase/files/patch-Makefile @@ -0,0 +1,22 @@ +--- Makefile.orig Fri Sep 7 22:10:42 2001 ++++ Makefile Fri Sep 7 22:20:26 2001 +@@ -1,6 +1,7 @@ +-CC = gcc +-CCFLAGS = `gtk-config --cflags` +-LDFLAGS = `gtk-config --libs` ++CFLAGS += `${GTK_CONFIG} --cflags` ++LDFLAGS = `${GTK_CONFIG} --libs` ++ ++all: gbase + + gbase: gbase.o + $(CC) gbase.o $(LDFLAGS) -o gbase +@@ -10,6 +11,6 @@ + + # Make object files: + %.o: +- $(CC) $(CCFLAGS) -c $*.c ++ $(CC) $(CFLAGS) -c $*.c + +-gbase.o: gbase.c ++gbase.o: gbase.c diff --git a/converters/gbase/pkg-comment b/converters/gbase/pkg-comment new file mode 100644 index 000000000000..1eef9b7d20aa --- /dev/null +++ b/converters/gbase/pkg-comment @@ -0,0 +1 @@ +A program to convert between the 4 common bases used in programming diff --git a/converters/gbase/pkg-descr b/converters/gbase/pkg-descr new file mode 100644 index 000000000000..1fce686c4125 --- /dev/null +++ b/converters/gbase/pkg-descr @@ -0,0 +1,8 @@ +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 diff --git a/converters/gbase/pkg-plist b/converters/gbase/pkg-plist new file mode 100644 index 000000000000..a5b79d63c255 --- /dev/null +++ b/converters/gbase/pkg-plist @@ -0,0 +1 @@ +bin/gbase |