aboutsummaryrefslogtreecommitdiffstats
path: root/games/virt
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2001-05-27 20:37:29 +0800
committerijliao <ijliao@FreeBSD.org>2001-05-27 20:37:29 +0800
commit6fea32bb4f1b70ff4c6d04cad2f960927055a846 (patch)
treee224fbb3a8313d8e21931a8f38288c1494b12fa5 /games/virt
parent6bd795b11f7c2d42a815ff8c8b073a94419012d6 (diff)
downloadfreebsd-ports-gnome-6fea32bb4f1b70ff4c6d04cad2f960927055a846.tar.gz
freebsd-ports-gnome-6fea32bb4f1b70ff4c6d04cad2f960927055a846.tar.zst
freebsd-ports-gnome-6fea32bb4f1b70ff4c6d04cad2f960927055a846.zip
add virt
Another course of 10 fingers blind keyboard practice. PR: 27226 Submitted by: Zajcev Evgeny <lg@rrf.ru>
Diffstat (limited to 'games/virt')
-rw-r--r--games/virt/Makefile29
-rw-r--r--games/virt/distinfo1
-rw-r--r--games/virt/files/patch-Makefile35
-rw-r--r--games/virt/pkg-comment1
-rw-r--r--games/virt/pkg-descr3
-rw-r--r--games/virt/pkg-plist63
6 files changed, 132 insertions, 0 deletions
diff --git a/games/virt/Makefile b/games/virt/Makefile
new file mode 100644
index 000000000000..792ea2f53d5d
--- /dev/null
+++ b/games/virt/Makefile
@@ -0,0 +1,29 @@
+# New ports collection makefile for: virt
+# Date created: 8 May 2001
+# Whom: lg
+#
+# $FreeBSD$
+
+PORTNAME= virt
+PORTVERSION= 1.0
+CATEGORIES= games
+MASTER_SITES= ftp://vampiro.rshb.com.ru/pub/warez/virt/ \
+ ftp://ftp.treasury.ru/pub/unix/virt/
+
+MAINTAINER= lg@rrf.ru
+
+USE_GTK= yes
+MAN6= virt.6
+MANCOMPRESSED= no
+
+post-patch:
+ @${PERL} -pi -e "s,gtk-config,${GTK_CONFIG},g ; \
+ s,%%INSTALL_PROGRAM%%,${INSTALL_PROGRAM},g ; \
+ s,%%INSTALL_DATA%%,${INSTALL_DATA},g ; \
+ s,%%INSTALL_MAN%%,${INSTALL_MAN},g" ${WRKSRC}/Makefile
+
+pre-install:
+ @${MKDIR} ${PREFIX}/share/${PORTNAME}
+ @${MKDIR} ${PREFIX}/share/${PORTNAME}/keytop
+
+.include <bsd.port.mk>
diff --git a/games/virt/distinfo b/games/virt/distinfo
new file mode 100644
index 000000000000..489f68582540
--- /dev/null
+++ b/games/virt/distinfo
@@ -0,0 +1 @@
+MD5 (virt-1.0.tar.gz) = b407a42cca6489117caf7ad504bbdda0
diff --git a/games/virt/files/patch-Makefile b/games/virt/files/patch-Makefile
new file mode 100644
index 000000000000..89f06b950a2c
--- /dev/null
+++ b/games/virt/files/patch-Makefile
@@ -0,0 +1,35 @@
+--- Makefile.orig Sun May 27 20:28:36 2001
++++ Makefile Sun May 27 20:30:18 2001
+@@ -1,7 +1,4 @@
+-PREFIX=/usr/local
+
+-CC=gcc
+-CFLAGS=-Wall -ansi -g -ggdb
+ CFLAGS+= `gtk-config --cflags`
+ MCFLAGS=-DPREFIX=\"$(PREFIX)\"
+
+@@ -21,17 +18,13 @@
+ $(CC) $(CFLAGS) $(MCFLAGS) -c iface.c
+
+ install:
+- install -d $(PREFIX)/bin
+- install -cs virt $(PREFIX)/bin
+- install -d -m 777 $(PREFIX)/share/virt
+- install -d -m 777 $(PREFIX)/share/virt/keytop
+- install -cm 666 virtrc $(PREFIX)/share/virt
+- install -cm 666 virt.eng $(PREFIX)/share/virt
+- install -cm 666 virt.rus $(PREFIX)/share/virt
+- install -cm 444 COPYRIGHT $(PREFIX)/share/virt
+- install -cm 444 keytop/*.xpm $(PREFIX)/share/virt/keytop
+- install -d $(PREFIX)/man/man6
+- install -cm 444 virt.6 $(PREFIX)/man/man6
++ %%INSTALL_PROGRAM%% virt $(PREFIX)/bin
++ %%INSTALL_DATA%% virtrc $(PREFIX)/share/virt
++ %%INSTALL_DATA%% virt.eng $(PREFIX)/share/virt
++ %%INSTALL_DATA%% virt.rus $(PREFIX)/share/virt
++ %%INSTALL_DATA%% COPYRIGHT $(PREFIX)/share/virt
++ %%INSTALL_DATA%% keytop/*.xpm $(PREFIX)/share/virt/keytop
++ %%INSTALL_MAN%% virt.6 $(PREFIX)/man/man6
+
+ .PHONY: clean
+ clean:
diff --git a/games/virt/pkg-comment b/games/virt/pkg-comment
new file mode 100644
index 000000000000..48dce1de309a
--- /dev/null
+++ b/games/virt/pkg-comment
@@ -0,0 +1 @@
+Game and keyboard teacher in one. Enjoy it!
diff --git a/games/virt/pkg-descr b/games/virt/pkg-descr
new file mode 100644
index 000000000000..597eb1fe6c9e
--- /dev/null
+++ b/games/virt/pkg-descr
@@ -0,0 +1,3 @@
+Game and keyboard teacher in one. Enjoy it!
+
+-- Zajcev Evgeny <lg@rrf.ru>
diff --git a/games/virt/pkg-plist b/games/virt/pkg-plist
new file mode 100644
index 000000000000..b0805af06419
--- /dev/null
+++ b/games/virt/pkg-plist
@@ -0,0 +1,63 @@
+bin/virt
+share/virt/virtrc
+share/virt/COPYRIGHT
+share/virt/virt.eng
+share/virt/virt.rus
+share/virt/keytop/0.xpm
+share/virt/keytop/1.xpm
+share/virt/keytop/2.xpm
+share/virt/keytop/3.xpm
+share/virt/keytop/4.xpm
+share/virt/keytop/5.xpm
+share/virt/keytop/6.xpm
+share/virt/keytop/7.xpm
+share/virt/keytop/8.xpm
+share/virt/keytop/9.xpm
+share/virt/keytop/a.xpm
+share/virt/keytop/b.xpm
+share/virt/keytop/back_slash.xpm
+share/virt/keytop/bs.xpm
+share/virt/keytop/c.xpm
+share/virt/keytop/caps_lock.xpm
+share/virt/keytop/cb.xpm
+share/virt/keytop/d.xpm
+share/virt/keytop/e.xpm
+share/virt/keytop/equal.xpm
+share/virt/keytop/f.xpm
+share/virt/keytop/g.xpm
+share/virt/keytop/gt.xpm
+share/virt/keytop/h.xpm
+share/virt/keytop/i.xpm
+share/virt/keytop/j.xpm
+share/virt/keytop/k.xpm
+share/virt/keytop/l.xpm
+share/virt/keytop/l_ctralt.xpm
+share/virt/keytop/l_shift.xpm
+share/virt/keytop/lt.xpm
+share/virt/keytop/m.xpm
+share/virt/keytop/minus.xpm
+share/virt/keytop/n.xpm
+share/virt/keytop/o.xpm
+share/virt/keytop/ob.xpm
+share/virt/keytop/p.xpm
+share/virt/keytop/q.xpm
+share/virt/keytop/quote.xpm
+share/virt/keytop/d_e.xpm
+share/virt/keytop/r.xpm
+share/virt/keytop/r_ctralt.xpm
+share/virt/keytop/r_shift.xpm
+share/virt/keytop/s.xpm
+share/virt/keytop/semicolon.xpm
+share/virt/keytop/slash.xpm
+share/virt/keytop/space.xpm
+share/virt/keytop/t.xpm
+share/virt/keytop/tab.xpm
+share/virt/keytop/tilda.xpm
+share/virt/keytop/u.xpm
+share/virt/keytop/v.xpm
+share/virt/keytop/w.xpm
+share/virt/keytop/x.xpm
+share/virt/keytop/y.xpm
+share/virt/keytop/z.xpm
+@dirrm share/virt/keytop
+@dirrm share/virt