aboutsummaryrefslogtreecommitdiff
path: root/misc/dvorakng
diff options
context:
space:
mode:
Diffstat (limited to 'misc/dvorakng')
-rw-r--r--misc/dvorakng/Makefile34
-rw-r--r--misc/dvorakng/distinfo1
-rw-r--r--misc/dvorakng/files/patch-Makefile11
-rw-r--r--misc/dvorakng/pkg-descr2
-rw-r--r--misc/dvorakng/pkg-plist1
5 files changed, 49 insertions, 0 deletions
diff --git a/misc/dvorakng/Makefile b/misc/dvorakng/Makefile
new file mode 100644
index 000000000000..697f069b9867
--- /dev/null
+++ b/misc/dvorakng/Makefile
@@ -0,0 +1,34 @@
+# ex:ts=8
+# Ports collection makefile for: dvorakNG
+# Date created: Mar 26, 2003
+# Whom: ijliao
+#
+# $FreeBSD$
+#
+
+PORTNAME= dvorakng
+PORTVERSION= 0.5.0
+CATEGORIES= misc
+MASTER_SITES= http://www.free.of.pl/n/nopik/
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= A Dvorak typing tutor
+
+USE_BZIP2= yes
+WRKSRC= ${WRKDIR}/${PORTNAME}
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500041
+LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
+MAKE_ARGS= PROF="-I${LOCALBASE}/include ${CFLAGS}" \
+ LDFLAGS="-L${LOCALBASE}/lib" \
+ LIBS="-lncurses -lgnugetopt"
+.else
+MAKE_ARGS= PROF="${CFLAGS}"
+.endif
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/dvorakng ${PREFIX}/bin
+
+.include <bsd.port.post.mk>
diff --git a/misc/dvorakng/distinfo b/misc/dvorakng/distinfo
new file mode 100644
index 000000000000..f6a75ce9b6bb
--- /dev/null
+++ b/misc/dvorakng/distinfo
@@ -0,0 +1 @@
+MD5 (dvorakng-0.5.0.tar.bz2) = ac9c7171a794e9b596449a2a72c28eac
diff --git a/misc/dvorakng/files/patch-Makefile b/misc/dvorakng/files/patch-Makefile
new file mode 100644
index 000000000000..11a5fd11eda0
--- /dev/null
+++ b/misc/dvorakng/files/patch-Makefile
@@ -0,0 +1,11 @@
+--- Makefile.orig Wed Mar 26 16:27:35 2003
++++ Makefile Wed Mar 26 16:27:42 2003
+@@ -11,7 +11,7 @@
+ CC = gcc
+ CXX = g++
+ PROF = #-g0 -O2
+-CFLAGS = $(PROF) -fmessage-length=0 -Wall $(LIMIT_LENGTH)
++CFLAGS = $(PROF) -Wall $(LIMIT_LENGTH)
+ CXXFLAGS = $(CFLAGS)
+ LDFLAGS = $(PROF)
+ LIBS = -lncurses
diff --git a/misc/dvorakng/pkg-descr b/misc/dvorakng/pkg-descr
new file mode 100644
index 000000000000..b04f32d74965
--- /dev/null
+++ b/misc/dvorakng/pkg-descr
@@ -0,0 +1,2 @@
+DvorakNG is a Dvorak typing tutor. It's heavily based on Dvorak7min, but adds
+many improvements like a progress information database.
diff --git a/misc/dvorakng/pkg-plist b/misc/dvorakng/pkg-plist
new file mode 100644
index 000000000000..80c0034ca6b6
--- /dev/null
+++ b/misc/dvorakng/pkg-plist
@@ -0,0 +1 @@
+bin/dvorakng