From 3cba145a61e02eb320e3f321a6cb2de8f01855c0 Mon Sep 17 00:00:00 2001 From: Jim Mock Date: Wed, 18 Aug 1999 08:42:03 +0000 Subject: [PATCH] Moved gyrosscope from www to x11. --- x11/gyroscope/Makefile | 25 +++++++++++++++++++++++++ x11/gyroscope/distinfo | 1 + x11/gyroscope/files/patch-aa | 21 +++++++++++++++++++++ x11/gyroscope/pkg-comment | 1 + x11/gyroscope/pkg-descr | 7 +++++++ x11/gyroscope/pkg-plist | 1 + 6 files changed, 56 insertions(+) create mode 100644 x11/gyroscope/Makefile create mode 100644 x11/gyroscope/distinfo create mode 100644 x11/gyroscope/files/patch-aa create mode 100644 x11/gyroscope/pkg-comment create mode 100644 x11/gyroscope/pkg-descr create mode 100644 x11/gyroscope/pkg-plist 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 +# +# $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 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 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