diff --git a/misc/Makefile b/misc/Makefile index 1dbbedec54b9..8bcacfa4ae62 100644 --- a/misc/Makefile +++ b/misc/Makefile @@ -59,6 +59,7 @@ SUBDIR += dog SUBDIR += dotfile SUBDIR += dvorak7min + SUBDIR += dvorakng SUBDIR += earthview SUBDIR += edonkey-tool-hash SUBDIR += edonkey-tool-list 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 + +.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 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