aboutsummaryrefslogtreecommitdiffstats
path: root/x11/gyroscope
diff options
context:
space:
mode:
authorjim <jim@FreeBSD.org>1999-08-18 16:42:03 +0800
committerjim <jim@FreeBSD.org>1999-08-18 16:42:03 +0800
commit70148a12835192163a1b9bfa51d9eadb06709525 (patch)
treeae328d53a3b548b1172cbfc5928961d838f37b7e /x11/gyroscope
parent6a549eb54755f4aae04438e2bc892c3065ea5300 (diff)
downloadfreebsd-ports-gnome-70148a12835192163a1b9bfa51d9eadb06709525.tar.gz
freebsd-ports-gnome-70148a12835192163a1b9bfa51d9eadb06709525.tar.zst
freebsd-ports-gnome-70148a12835192163a1b9bfa51d9eadb06709525.zip
Moved gyrosscope from www to x11.
Diffstat (limited to 'x11/gyroscope')
-rw-r--r--x11/gyroscope/Makefile25
-rw-r--r--x11/gyroscope/distinfo1
-rw-r--r--x11/gyroscope/files/patch-aa21
-rw-r--r--x11/gyroscope/pkg-comment1
-rw-r--r--x11/gyroscope/pkg-descr7
-rw-r--r--x11/gyroscope/pkg-plist1
6 files changed, 56 insertions, 0 deletions
diff --git a/x11/gyroscope/Makefile b/x11/gyroscope/Makefile
new file mode 100644
index 000000000000..8361ae2bf865
--- /dev/null
+++ b/x11/gyroscope/Makefile
@@ -0,0 +1,25 @@
+# New ports collection makefile for: gyroscope
+# Version required: 1.0
+# Date created: 31 July 1999
+# Whom: Jim Mock <jim@FreeBSD.org>
+#
+# $Id: Makefile,v 1.1.1.1 1999/08/16 09:06:25 jim Exp $
+#
+
+DISTNAME= gyroscope-1.0
+CATEGORIES= x11
+MASTER_SITES= http://www.millar.u-net.com/
+
+MAINTAINER= jim@FreeBSD.org
+
+LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12
+
+GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
+
+WRKSRC= ${WRKDIR}/gyroscope
+USE_X_PREFIX= yes
+
+do-build:
+ @(cd ${WRKSRC} && ${MAKE})
+
+.include <bsd.port.mk>
diff --git a/x11/gyroscope/distinfo b/x11/gyroscope/distinfo
new file mode 100644
index 000000000000..ebb779e443e6
--- /dev/null
+++ b/x11/gyroscope/distinfo
@@ -0,0 +1 @@
+MD5 (gyroscope-1.0.tar.gz) = d2f51c415fb3e10be8a43043e2c818ad
diff --git a/x11/gyroscope/files/patch-aa b/x11/gyroscope/files/patch-aa
new file mode 100644
index 000000000000..92509755913c
--- /dev/null
+++ b/x11/gyroscope/files/patch-aa
@@ -0,0 +1,21 @@
+--- Makefile.orig Sun Jan 31 03:30:22 1999
++++ Makefile Sat Jul 31 16:27:41 1999
+@@ -1,8 +1,8 @@
+-CC = gcc
++CC ?= gcc
+ BINARYNAME = gyroscope
+-BIN_DIR = /usr/local/bin/
+-GTKINC = `gtk-config --cflags` -Wall -O2
+-GTKLIB = `gtk-config --libs`
++BIN_DIR = ${X11BASE}/bin
++GTKINC = `gtk12-config --cflags` -Wall -O2
++GTKLIB = `gtk12-config --libs`
+
+ $(BINARYNAME): main.o gtkcolorsel.o
+ $(CC) -o $(BINARYNAME) main.o gtkcolorsel.o $(GTKLIB)
+@@ -17,4 +17,4 @@
+ -@ rm core -f *.o ./$(BINARYNAME)
+
+ install:
+- cp ./$(BINARYNAME) $(BIN_DIR)$(BINARYNAME)
++ @/usr/bin/install -c -o 0 -g 0 -s -m 1755 ${BINARYNAME} ${BIN_DIR}/${BINARYNAME}
diff --git a/x11/gyroscope/pkg-comment b/x11/gyroscope/pkg-comment
new file mode 100644
index 000000000000..cf296df833a7
--- /dev/null
+++ b/x11/gyroscope/pkg-comment
@@ -0,0 +1 @@
+Gyroscope is an HTML color picker written using GTK
diff --git a/x11/gyroscope/pkg-descr b/x11/gyroscope/pkg-descr
new file mode 100644
index 000000000000..3825310abf63
--- /dev/null
+++ b/x11/gyroscope/pkg-descr
@@ -0,0 +1,7 @@
+Gyroscope is an HTML color picker written using GTK. You slide the
+sliders and click in the appropriate places to choose a color and
+it displays the #123456 type format for it.
+
+WWW: http://www.millar.u-net.com/gyroscope.html
+
+- Jim <jim@FreeBSD.org>
diff --git a/x11/gyroscope/pkg-plist b/x11/gyroscope/pkg-plist
new file mode 100644
index 000000000000..34828a4f571c
--- /dev/null
+++ b/x11/gyroscope/pkg-plist
@@ -0,0 +1 @@
+bin/gyroscope