diff options
author | ijliao <ijliao@FreeBSD.org> | 2001-05-27 12:37:29 +0000 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2001-05-27 12:37:29 +0000 |
commit | 6fea32bb4f1b70ff4c6d04cad2f960927055a846 (patch) | |
tree | e224fbb3a8313d8e21931a8f38288c1494b12fa5 /games | |
parent | 6bd795b11f7c2d42a815ff8c8b073a94419012d6 (diff) | |
download | FreeBSD-ports-6fea32bb4f1b70ff4c6d04cad2f960927055a846.zip FreeBSD-ports-6fea32bb4f1b70ff4c6d04cad2f960927055a846.tar.gz |
add virt
Another course of 10 fingers blind keyboard practice.
PR: 27226
Submitted by: Zajcev Evgeny <lg@rrf.ru>
Diffstat (limited to 'games')
-rw-r--r-- | games/Makefile | 1 | ||||
-rw-r--r-- | games/virt/Makefile | 29 | ||||
-rw-r--r-- | games/virt/distinfo | 1 | ||||
-rw-r--r-- | games/virt/files/patch-Makefile | 35 | ||||
-rw-r--r-- | games/virt/pkg-comment | 1 | ||||
-rw-r--r-- | games/virt/pkg-descr | 3 | ||||
-rw-r--r-- | games/virt/pkg-plist | 63 |
7 files changed, 133 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile index 34ae33e..86b7305 100644 --- a/games/Makefile +++ b/games/Makefile @@ -222,6 +222,7 @@ SUBDIR += twitch SUBDIR += uclient SUBDIR += uox3 + SUBDIR += virt SUBDIR += wmeyes SUBDIR += wmminichess SUBDIR += wmtictactoe diff --git a/games/virt/Makefile b/games/virt/Makefile new file mode 100644 index 0000000..792ea2f --- /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 0000000..489f685 --- /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 0000000..89f06b9 --- /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 0000000..48dce1d --- /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 0000000..597eb1f --- /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 0000000..b0805af --- /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 |