From 1ed2602b3b959bd7c58b11b5212cf52c44938ad4 Mon Sep 17 00:00:00 2001 From: naddy Date: Fri, 14 Feb 2003 15:24:10 +0000 Subject: 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 --- misc/Makefile | 1 + misc/dvorak7min/Makefile | 32 ++++++++++++++++++++++++++++++++ misc/dvorak7min/distinfo | 1 + misc/dvorak7min/files/patch-dvorak7min.c | 14 ++++++++++++++ misc/dvorak7min/pkg-descr | 10 ++++++++++ misc/dvorak7min/pkg-plist | 2 ++ 6 files changed, 60 insertions(+) create mode 100644 misc/dvorak7min/Makefile create mode 100644 misc/dvorak7min/distinfo create mode 100644 misc/dvorak7min/files/patch-dvorak7min.c create mode 100644 misc/dvorak7min/pkg-descr create mode 100644 misc/dvorak7min/pkg-plist (limited to 'misc') 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 +# +# $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 + +.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 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 ++#include + #include + #include + #include 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 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 -- cgit