summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games/Makefile1
-rw-r--r--games/gtypist/Makefile23
-rw-r--r--games/gtypist/distinfo1
-rw-r--r--games/gtypist/files/patch-Makefile_in20
-rw-r--r--games/gtypist/files/patch-aclocal_m416
-rw-r--r--games/gtypist/pkg-comment1
-rw-r--r--games/gtypist/pkg-descr8
-rw-r--r--games/gtypist/pkg-plist20
8 files changed, 90 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile
index 86b73059c2e6..7e8fbbbcc074 100644
--- a/games/Makefile
+++ b/games/Makefile
@@ -106,6 +106,7 @@
SUBDIR += gtkabale
SUBDIR += gtkballs
SUBDIR += gtktetcolor
+ SUBDIR += gtypist
SUBDIR += halflifeserver
SUBDIR += heretic
SUBDIR += heroes
diff --git a/games/gtypist/Makefile b/games/gtypist/Makefile
new file mode 100644
index 000000000000..65dda523141a
--- /dev/null
+++ b/games/gtypist/Makefile
@@ -0,0 +1,23 @@
+# New ports collection makefile for: gtypist
+# Date created: 2001-05-18
+# Whom: Christian Weisgerber <naddy@mips.inka.de>
+#
+# $FreeBSD$
+
+PORTNAME= gtypist
+PORTVERSION= 2.3.2
+CATEGORIES= games
+MASTER_SITES= ${MASTER_SITE_GNU}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+MAINTAINER= naddy@mips.inka.de
+
+LIB_DEPENDS= intl.1:${PORTSDIR}/devel/gettext
+
+USE_AUTOCONF= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+
+MAN1= gtypist.1
+
+.include <bsd.port.mk>
diff --git a/games/gtypist/distinfo b/games/gtypist/distinfo
new file mode 100644
index 000000000000..f16dd243b334
--- /dev/null
+++ b/games/gtypist/distinfo
@@ -0,0 +1 @@
+MD5 (gtypist-2.3.2.tar.gz) = 26cc537a215d8ba8b1cfb4e7d7471df3
diff --git a/games/gtypist/files/patch-Makefile_in b/games/gtypist/files/patch-Makefile_in
new file mode 100644
index 000000000000..8051dbac09e3
--- /dev/null
+++ b/games/gtypist/files/patch-Makefile_in
@@ -0,0 +1,20 @@
+$FreeBSD$
+--- Makefile.in.orig Thu May 17 15:58:41 2001
++++ Makefile.in Thu May 17 15:59:28 2001
+@@ -95,8 +95,6 @@ gtypist_LDADD = @INTLLIBS@
+ man_MANS = gtypist.1
+ INCLUDES = -I./intl -DPACKAGE_DATA_DIR=\"$(pkgdatadir)\"
+
+-CPPFLAGS = -Wall
+-
+ # GEN_MAN is a shell command that generates the man page
+ GEN_MAN = @GEN_MAN@
+ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+@@ -107,6 +105,7 @@ PROGRAMS = $(bin_PROGRAMS)
+
+
+ DEFS = @DEFS@ -I. -I$(srcdir) -I.
++CPPFLAGS = @CPPFLAGS@
+ LDFLAGS = @LDFLAGS@
+ LIBS = @LIBS@
+ gtypist_OBJECTS = gtypist.o getopt.o getopt1.o
diff --git a/games/gtypist/files/patch-aclocal_m4 b/games/gtypist/files/patch-aclocal_m4
new file mode 100644
index 000000000000..4b21001b4c5b
--- /dev/null
+++ b/games/gtypist/files/patch-aclocal_m4
@@ -0,0 +1,16 @@
+$FreeBSD$
+--- aclocal.m4.orig Fri Dec 8 12:32:15 2000
++++ aclocal.m4 Thu May 17 15:54:17 2001
+@@ -173,10 +173,9 @@ AC_DEFUN(AM_WITH_NLS,
+
+ if test "$gt_cv_func_gettext_libc" != "yes"; then
+ AC_CHECK_LIB(intl, bindtextdomain,
+- [AC_CACHE_CHECK([for gettext in libintl],
+- gt_cv_func_gettext_libintl,
++ [AC_CACHE_VAL(gt_cv_func_gettext_libintl,
+ [AC_CHECK_LIB(intl, gettext,
+- gt_cv_func_gettext_libintl=yes,
++ [gt_cv_func_gettext_libintl=yes; LIBS="$LIBS -lintl"],
+ gt_cv_func_gettext_libintl=no)],
+ gt_cv_func_gettext_libintl=no)])
+ fi
diff --git a/games/gtypist/pkg-comment b/games/gtypist/pkg-comment
new file mode 100644
index 000000000000..63c13f718df1
--- /dev/null
+++ b/games/gtypist/pkg-comment
@@ -0,0 +1 @@
+Interactive typing tutor
diff --git a/games/gtypist/pkg-descr b/games/gtypist/pkg-descr
new file mode 100644
index 000000000000..e77adac9053b
--- /dev/null
+++ b/games/gtypist/pkg-descr
@@ -0,0 +1,8 @@
+GNU typist is a typing tutor package built using curses(3). The
+package contains a number of tutorials, drills and practise sessions
+to help with mastering touch typing on the standard computer keyboard.
+The accent is on the US keyboard layout, but the lessons may also
+be useful with other layouts. A Dvorak and a Spanish lesson set
+are included.
+
+WWW: http://www.gnu.org/software/gtypist/
diff --git a/games/gtypist/pkg-plist b/games/gtypist/pkg-plist
new file mode 100644
index 000000000000..2ead4927dfae
--- /dev/null
+++ b/games/gtypist/pkg-plist
@@ -0,0 +1,20 @@
+@comment $FreeBSD$
+@unexec install-info --delete %D/info/gtypist.info %D/info/dir
+info/gtypist.info
+@exec install-info %D/info/gtypist.info %D/info/dir
+bin/gtypist
+share/gtypist/d.typ
+share/gtypist/demo.typ
+share/gtypist/esp.typ
+share/gtypist/gtypist.typ
+share/gtypist/m.typ
+share/gtypist/n.typ
+share/gtypist/q.typ
+share/gtypist/r.typ
+share/gtypist/s.typ
+share/gtypist/t.typ
+share/gtypist/u.typ
+share/gtypist/v.typ
+share/locale/de/LC_MESSAGES/gtypist.mo
+share/locale/es/LC_MESSAGES/gtypist.mo
+@dirrm share/gtypist