aboutsummaryrefslogtreecommitdiffstats
path: root/converters/gbase
diff options
context:
space:
mode:
authorpetef <petef@FreeBSD.org>2001-09-09 09:42:22 +0800
committerpetef <petef@FreeBSD.org>2001-09-09 09:42:22 +0800
commit05322be94cc6507adf2a893e620b6ee06642ab1d (patch)
tree107b8948bce608d86e1a4c401e922aecb6d46891 /converters/gbase
parente0ac717597617d383fc23c7ab72d379f46f9d86d (diff)
downloadfreebsd-ports-gnome-05322be94cc6507adf2a893e620b6ee06642ab1d.tar.gz
freebsd-ports-gnome-05322be94cc6507adf2a893e620b6ee06642ab1d.tar.zst
freebsd-ports-gnome-05322be94cc6507adf2a893e620b6ee06642ab1d.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>
Diffstat (limited to 'converters/gbase')
-rw-r--r--converters/gbase/Makefile21
-rw-r--r--converters/gbase/distinfo1
-rw-r--r--converters/gbase/files/patch-Makefile22
-rw-r--r--converters/gbase/pkg-comment1
-rw-r--r--converters/gbase/pkg-descr8
-rw-r--r--converters/gbase/pkg-plist1
6 files changed, 54 insertions, 0 deletions
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