aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
Diffstat (limited to 'x11')
-rw-r--r--x11/gvid/Makefile24
-rw-r--r--x11/gvid/distinfo2
-rw-r--r--x11/gvid/files/patch-aa42
3 files changed, 14 insertions, 54 deletions
diff --git a/x11/gvid/Makefile b/x11/gvid/Makefile
index b21e4ab5f703..35909a8d21d1 100644
--- a/x11/gvid/Makefile
+++ b/x11/gvid/Makefile
@@ -6,22 +6,24 @@
#
PORTNAME= gvid
-PORTVERSION= 0.2
-PORTREVISION= 1
+PORTVERSION= 0.3
CATEGORIES= x11 gnome
-MASTER_SITES= http://kvand.mit.edu/kvand/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/
+MASTER_SITES= ftp://ftp.debian.org/debian/pool/main/g/gvid/
+DISTNAME= ${PORTNAME}_${PORTVERSION}.orig
MAINTAINER= ports@FreeBSD.org
-USE_X_PREFIX= yes
-USE_GNOME= yes
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}.orig
-MAKE_ENV= MKDIR="${MKDIR}"
+USE_X_PREFIX= yes
+USE_GNOMENG= yes
+USE_GNOME= libpanel
+GNU_CONFIGURE= yes
+ALL_TARGET= ${PORTNAME}
-ALL_TARGET= gvid
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/gvid ${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/gvid.gnorba ${PREFIX}/etc/CORBA/servers
+ ${INSTALL_DATA} ${WRKSRC}/gvid.desktop ${PREFIX}/share/gnome/applets/Utility
.include <bsd.port.mk>
diff --git a/x11/gvid/distinfo b/x11/gvid/distinfo
index 5f47afa5738b..8b8214943e21 100644
--- a/x11/gvid/distinfo
+++ b/x11/gvid/distinfo
@@ -1 +1 @@
-MD5 (gvid-0.2.tar.gz) = d0108f0589c0a061063493e0d6e91d46
+MD5 (gvid_0.3.orig.tar.gz) = 66f727eaed3facb29995214f7c3a584a
diff --git a/x11/gvid/files/patch-aa b/x11/gvid/files/patch-aa
deleted file mode 100644
index 52740a6935b6..000000000000
--- a/x11/gvid/files/patch-aa
+++ /dev/null
@@ -1,42 +0,0 @@
---- 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)