summaryrefslogtreecommitdiff
path: root/x11/gvid
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2000-07-04 08:11:56 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2000-07-04 08:11:56 +0000
commitc0b163e792f04bd2a02af1ff61073beae0fdef2a (patch)
treecb721ecaf3527638af1f444720c96a7a60d94c71 /x11/gvid
parentTemporary remove gvid - according to PW's requiest it belongs to x11 category. (diff)
Initial import of gvid - a little Gnome applet to quckly change X-server
resolution (moved from deskutils). PR: 18413 Submitted by: Scott A. Moberly <smoberly@xavier.dyndns.org>
Notes
Notes: svn path=/head/; revision=30169
Diffstat (limited to 'x11/gvid')
-rw-r--r--x11/gvid/Makefile28
-rw-r--r--x11/gvid/distinfo1
-rw-r--r--x11/gvid/files/patch-aa42
-rw-r--r--x11/gvid/pkg-comment1
-rw-r--r--x11/gvid/pkg-descr5
-rw-r--r--x11/gvid/pkg-plist3
6 files changed, 80 insertions, 0 deletions
diff --git a/x11/gvid/Makefile b/x11/gvid/Makefile
new file mode 100644
index 000000000000..43616cbce7d4
--- /dev/null
+++ b/x11/gvid/Makefile
@@ -0,0 +1,28 @@
+# Ports collection Makefile for: gvid
+# Date created: 5 June 2000
+# Whom: Scott A. Moberly <smoberly@xavier.dyndns.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= gvid
+PORTVERSION= 0.2
+CATEGORIES= x11 gnome
+MASTER_SITES= http://kvand.mit.edu/gVid/ \
+ ftp://ftp.proxad.net/mirrors/ftp.linuxberg.com/files/gnome/xwin/ \
+ ftp://ftp.sunsite.auc.dk/disk1/linuxberg.com/files/gnome/xwin/ \
+ ftp://ftp.infomagic.com/pub/mirrors/tucows/mlinux/files/gnome/xwin/ \
+ ftp://ftp.uni-c.dk/mirrors/mirror.linuxberg.com/files/gnome/xwin/
+
+MAINTAINER= smoberly@xavier.dyndns.org
+
+LIB_DEPENDS= panel_applet.4:${PORTSDIR}/x11/gnomecore \
+ gnome.4:${PORTSDIR}/x11/gnomelibs
+
+USE_X_PREFIX= yes
+
+MAKE_ENV= MKDIR="${MKDIR}"
+
+ALL_TARGET= gvid
+
+.include <bsd.port.mk>
diff --git a/x11/gvid/distinfo b/x11/gvid/distinfo
new file mode 100644
index 000000000000..5f47afa5738b
--- /dev/null
+++ b/x11/gvid/distinfo
@@ -0,0 +1 @@
+MD5 (gvid-0.2.tar.gz) = d0108f0589c0a061063493e0d6e91d46
diff --git a/x11/gvid/files/patch-aa b/x11/gvid/files/patch-aa
new file mode 100644
index 000000000000..52740a6935b6
--- /dev/null
+++ b/x11/gvid/files/patch-aa
@@ -0,0 +1,42 @@
+--- Makefile.orig Sun May 7 20:44:29 2000
++++ Makefile Tue Jun 20 14:55:26 2000
+@@ -1,27 +1,28 @@
+-CC = gcc
+-CFLAGS = -g -Wall `gnome-config --cflags applets`
+-LFLAGS = `gnome-config --libs applets` -lX11 -lXxf86vm -lXext -L/usr/X11R6/lib
++CC ?= gcc
++CFLAGS += -g -Wall `$(X11BASE)/bin/gnome-config --cflags applets`
++LFLAGS += `$(X11BASE)/bin/gnome-config --libs applets` -L$(X11BASE)/lib -lX11 -lXxf86vm -lXext
+ TARGET = gvid
+
+-BINDIR = `gnome-config --bindir`
+-GNORBADIR = `gnome-config --sysconfdir`/CORBA/servers/
+-DESKTOPDIR = `gnome-config --datadir`/applets/Utility/
++BINDIR = $(PREFIX)/bin
++GNORBADIR = $(PREFIX)/etc/CORBA/servers
++DESKTOPDIR = $(PREFIX)/share/gnome/applets/Utility
+
+ SRC = gvid.c
+
+ OBJS = $(SRC:.c=.o)
+
+ .c.o:
+- gcc -O3 -c $(CFLAGS) $(DEFINES) $<
++ $(CC) -c $(CFLAGS) $(DEFINES) $<
+
+ $(TARGET) : $(OBJS)
+- gcc -O3 -o $(TARGET) $(OBJS) $(LFLAGS)
++ $(CC) -o $(TARGET) $(OBJS) $(LFLAGS)
+
+
+ install : $(TARGET) $(TARGET).gnorba $(TARGET).desktop
+- cp $(TARGET) $(BINDIR)
+- cp $(TARGET).gnorba $(GNORBADIR)
+- cp $(TARGET).desktop $(DESKTOPDIR)
++ $(MKDIR) $(GNORBADIR) $(DESKTOPDIR)
++ $(BSD_INSTALL_PROGRAM) $(TARGET) $(BINDIR)
++ $(BSD_INSTALL_DATA) $(TARGET).gnorba $(GNORBADIR)
++ $(BSD_INSTALL_DATA) $(TARGET).desktop $(DESKTOPDIR)
+
+ clean :
+ @rm -f *.o $(TARGET)
diff --git a/x11/gvid/pkg-comment b/x11/gvid/pkg-comment
new file mode 100644
index 000000000000..002327a3d23e
--- /dev/null
+++ b/x11/gvid/pkg-comment
@@ -0,0 +1 @@
+Gnome applet to change video resolution
diff --git a/x11/gvid/pkg-descr b/x11/gvid/pkg-descr
new file mode 100644
index 000000000000..3672571b3ddc
--- /dev/null
+++ b/x11/gvid/pkg-descr
@@ -0,0 +1,5 @@
+ gVid is a little gnome applet to allow quick and easy switching
+ of resolutions in X. It looks and works much like the Windows
+ 95/98/2000 system tray equivalent.
+
+WWW: http://kvand.mit.edu/gVid/index.html
diff --git a/x11/gvid/pkg-plist b/x11/gvid/pkg-plist
new file mode 100644
index 000000000000..d07686f9a74e
--- /dev/null
+++ b/x11/gvid/pkg-plist
@@ -0,0 +1,3 @@
+bin/gvid
+etc/CORBA/servers/gvid.gnorba
+share/gnome/applets/Utility/gvid.desktop