summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpetef <petef@FreeBSD.org>2001-09-09 01:42:22 +0000
committerpetef <petef@FreeBSD.org>2001-09-09 01:42:22 +0000
commit05322be94cc6507adf2a893e620b6ee06642ab1d (patch)
tree107b8948bce608d86e1a4c401e922aecb6d46891
parente0ac717597617d383fc23c7ab72d379f46f9d86d (diff)
downloadFreeBSD-ports-05322be94cc6507adf2a893e620b6ee06642ab1d.zip
FreeBSD-ports-05322be94cc6507adf2a893e620b6ee06642ab1d.tar.gz
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>
-rw-r--r--converters/Makefile1
-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
7 files changed, 55 insertions, 0 deletions
diff --git a/converters/Makefile b/converters/Makefile
index 7b79a64..d3caa64 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 0000000..0586b41
--- /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 0000000..6410b44
--- /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 0000000..fa072f1
--- /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 0000000..1eef9b7
--- /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 0000000..1fce686
--- /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 0000000..a5b79d6
--- /dev/null
+++ b/converters/gbase/pkg-plist
@@ -0,0 +1 @@
+bin/gbase
OpenPOWER on IntegriCloud