aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authornaddy <naddy@FreeBSD.org>2003-02-14 23:24:10 +0800
committernaddy <naddy@FreeBSD.org>2003-02-14 23:24:10 +0800
commit1ed2602b3b959bd7c58b11b5212cf52c44938ad4 (patch)
tree355607880ab83ceed89becc91a1072a68368c262 /misc
parent42b0a8b48b5f7fa05af85cb0ac25bc529ff1f7b6 (diff)
downloadfreebsd-ports-gnome-1ed2602b3b959bd7c58b11b5212cf52c44938ad4.tar.gz
freebsd-ports-gnome-1ed2602b3b959bd7c58b11b5212cf52c44938ad4.tar.zst
freebsd-ports-gnome-1ed2602b3b959bd7c58b11b5212cf52c44938ad4.zip
Import dvorak7min 1.6.
Dvorak7min is an ncurses based dvorak typing tutor for those of you trying to get fluent in this keyboard layout. PR: 47706 Submitted by: Li-lun Wang <llwang@infor.org>
Diffstat (limited to 'misc')
-rw-r--r--misc/Makefile1
-rw-r--r--misc/dvorak7min/Makefile32
-rw-r--r--misc/dvorak7min/distinfo1
-rw-r--r--misc/dvorak7min/files/patch-dvorak7min.c14
-rw-r--r--misc/dvorak7min/pkg-descr10
-rw-r--r--misc/dvorak7min/pkg-plist2
6 files changed, 60 insertions, 0 deletions
diff --git a/misc/Makefile b/misc/Makefile
index 0c86d762150c..c7f9b4f3fa41 100644
--- a/misc/Makefile
+++ b/misc/Makefile
@@ -58,6 +58,7 @@
SUBDIR += dnetc
SUBDIR += dog
SUBDIR += dotfile
+ SUBDIR += dvorak7min
SUBDIR += earthview
SUBDIR += edonkey-tool-hash
SUBDIR += edonkey-tool-list
diff --git a/misc/dvorak7min/Makefile b/misc/dvorak7min/Makefile
new file mode 100644
index 000000000000..c04ffe32522a
--- /dev/null
+++ b/misc/dvorak7min/Makefile
@@ -0,0 +1,32 @@
+# New ports collection makefile for: dvorak7min
+# Date created: 31 Jan 2003
+# Whom: Leland Wang <llwang@infor.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= dvorak7min
+PORTVERSION= 1.6
+CATEGORIES= misc
+MASTER_SITES= http://lightside.eresmas.com/
+
+MAINTAINER= llwang@infor.org
+COMMENT= An ncurses-based Dvorak typing tutor
+
+MAKE_ARGS= PROF="${CFLAGS}"
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500041
+LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
+MAKE_ARGS+= LDFLAGS="-L${LOCALBASE}/lib" \
+ LIBS="-lncurses -lgnugetopt"
+.endif
+
+pre-build:
+ @cd ${WRKSRC} ; ${MAKE} clean
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/dvorak7min ${PREFIX}/bin
+
+.include <bsd.port.post.mk>
diff --git a/misc/dvorak7min/distinfo b/misc/dvorak7min/distinfo
new file mode 100644
index 000000000000..e8dc4855967f
--- /dev/null
+++ b/misc/dvorak7min/distinfo
@@ -0,0 +1 @@
+MD5 (dvorak7min-1.6.tar.gz) = b8abfa4151e2f4e7d7785c111fe036c4
diff --git a/misc/dvorak7min/files/patch-dvorak7min.c b/misc/dvorak7min/files/patch-dvorak7min.c
new file mode 100644
index 000000000000..afffbbbcee02
--- /dev/null
+++ b/misc/dvorak7min/files/patch-dvorak7min.c
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- dvorak7min.c.orig Wed Feb 12 23:15:04 2003
++++ dvorak7min.c Wed Feb 12 23:15:32 2003
+@@ -41,7 +41,7 @@
+ *
+ */
+
+-#include <strings.h>
++#include <string.h>
+ #include <stdlib.h>
+ #include <ctype.h>
+ #include <time.h>
diff --git a/misc/dvorak7min/pkg-descr b/misc/dvorak7min/pkg-descr
new file mode 100644
index 000000000000..a9645f54bfd2
--- /dev/null
+++ b/misc/dvorak7min/pkg-descr
@@ -0,0 +1,10 @@
+Dvorak7min is an ncurses based dvorak typing tutor for those of you
+trying to get fluent in this keyboard layout. It features well chosen
+lessons, color for easy visual feedback, and a real time characters per
+second display. It's called 7min because it originally was a personal
+hack written in 7 min.
+
+WWW: http://lightside.eresmas.com/
+ http://freshmeat.net/projects/dvorak7mintutor/
+
+Author: Ragnar Hojland Espinosa <ragnar@ragnar-hojland.com>
diff --git a/misc/dvorak7min/pkg-plist b/misc/dvorak7min/pkg-plist
new file mode 100644
index 000000000000..7a3e7110bf97
--- /dev/null
+++ b/misc/dvorak7min/pkg-plist
@@ -0,0 +1,2 @@
+@comment $FreeBSD$
+bin/dvorak7min