diff options
author | sobomax <sobomax@FreeBSD.org> | 2000-07-04 16:11:56 +0800 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2000-07-04 16:11:56 +0800 |
commit | 05bc53a89f8c14ff5bce338fe31d4f64f7ce3772 (patch) | |
tree | d04854306d7737a9c3aaf8a261679e14dd2431c7 | |
parent | 1118ca47c08d30da9c278197019ee2026eb503fe (diff) | |
download | freebsd-ports-gnome-05bc53a89f8c14ff5bce338fe31d4f64f7ce3772.tar.gz freebsd-ports-gnome-05bc53a89f8c14ff5bce338fe31d4f64f7ce3772.tar.zst freebsd-ports-gnome-05bc53a89f8c14ff5bce338fe31d4f64f7ce3772.zip |
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>
-rw-r--r-- | x11/Makefile | 1 | ||||
-rw-r--r-- | x11/gvid/Makefile | 28 | ||||
-rw-r--r-- | x11/gvid/distinfo | 1 | ||||
-rw-r--r-- | x11/gvid/files/patch-aa | 42 | ||||
-rw-r--r-- | x11/gvid/pkg-comment | 1 | ||||
-rw-r--r-- | x11/gvid/pkg-descr | 5 | ||||
-rw-r--r-- | x11/gvid/pkg-plist | 3 |
7 files changed, 81 insertions, 0 deletions
diff --git a/x11/Makefile b/x11/Makefile index 3772a7b79147..c3c7fd791849 100644 --- a/x11/Makefile +++ b/x11/Makefile @@ -27,6 +27,7 @@ SUBDIR += gnomeapplets SUBDIR += gnomecore SUBDIR += gnomelibs + SUBDIR += gvid SUBDIR += gyroscope SUBDIR += imwheel SUBDIR += kb2mb2 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 |