From 7b9028d0d51cfe79f726f36a226ea22ab2c4bf31 Mon Sep 17 00:00:00 2001 From: Alejandro Pulver Date: Mon, 3 Jul 2006 00:22:32 +0000 Subject: [PATCH] PDCurses is a public domain curses library for Win32, DOS, OS/2 and X11, implementing most of the functions available in System V R4 curses. It supports most compilers for these platforms. The X11 port allows existing text-mode curses programs to be re-compiled and linked with PDCurses to produce native X11 applications. WWW: http://pdcurses.sourceforge.net/ --- devel/Makefile | 1 + devel/pdcurses-the/Makefile | 45 ++++++++++++++++++++++++++++++++++++ devel/pdcurses-the/distinfo | 3 +++ devel/pdcurses-the/pkg-descr | 7 ++++++ devel/pdcurses-the/pkg-plist | 11 +++++++++ devel/pdcurses/Makefile | 45 ++++++++++++++++++++++++++++++++++++ devel/pdcurses/distinfo | 3 +++ devel/pdcurses/pkg-descr | 7 ++++++ devel/pdcurses/pkg-plist | 11 +++++++++ 9 files changed, 133 insertions(+) create mode 100644 devel/pdcurses-the/Makefile create mode 100644 devel/pdcurses-the/distinfo create mode 100644 devel/pdcurses-the/pkg-descr create mode 100644 devel/pdcurses-the/pkg-plist create mode 100644 devel/pdcurses/Makefile create mode 100644 devel/pdcurses/distinfo create mode 100644 devel/pdcurses/pkg-descr create mode 100644 devel/pdcurses/pkg-plist diff --git a/devel/Makefile b/devel/Makefile index 43ff2de68510..ae9176f8755b 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -1393,6 +1393,7 @@ SUBDIR += pcre++ SUBDIR += pcre-utf8 SUBDIR += pcsc-lite + SUBDIR += pdcurses SUBDIR += pear SUBDIR += pear-Config SUBDIR += pear-Console_Getargs diff --git a/devel/pdcurses-the/Makefile b/devel/pdcurses-the/Makefile new file mode 100644 index 000000000000..d7c67d882d50 --- /dev/null +++ b/devel/pdcurses-the/Makefile @@ -0,0 +1,45 @@ +# New ports collection makefile for: pdcurses +# Date created: 1 Jul 2006 +# Whom: alepulver +# +# $FreeBSD$ +# + +PORTNAME= pdcurses +PORTVERSION= 2.8 +CATEGORIES= devel +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} +DISTNAME= PDCurses-${PORTVERSION} + +MAINTAINER= alepulver@FreeBSD.org +COMMENT= Curses library implementation for Win32, DOS, OS/2 and X11 + +USE_LDCONFIG= yes +USE_XLIB= yes +GNU_CONFIGURE= yes + +OPTIONS= DEBUG "Enable debugging support" off \ + LATIN1 "Enable support for Latin1 keys" off \ + NEXTAW "Link with NeXtaw" off \ + XAW3D "Link with Xaw3d" off + +.include + +.for opt in DEBUG LATIN1 +. if defined(WITH_${opt}) +CONFIGURE_ARGS+=--enable-${opt:L} +. endif +.endfor + +.if defined(WITH_NEXTAW) +LIB_DEPENDS+= neXtaw.${XAWVER}:${PORTSDIR}/x11-toolkits/neXtaw +CONFIGURE_ARGS+=--with-nextaw +.endif + +.if defined(WITH_XAW3D) +LIB_DEPENDS+= Xaw3d.${XAWVER}:${PORTSDIR}/x11-toolkits/Xaw3d +CONFIGURE_ARGS+=--with-xaw3d +.endif + +.include diff --git a/devel/pdcurses-the/distinfo b/devel/pdcurses-the/distinfo new file mode 100644 index 000000000000..91146104cec6 --- /dev/null +++ b/devel/pdcurses-the/distinfo @@ -0,0 +1,3 @@ +MD5 (PDCurses-2.8.tar.gz) = cd3a67c94cfa6686678058f18bf87982 +SHA256 (PDCurses-2.8.tar.gz) = e288ac5191de78c31635372f7cd31676561f5a9588258f41dac771ee9248b095 +SIZE (PDCurses-2.8.tar.gz) = 325074 diff --git a/devel/pdcurses-the/pkg-descr b/devel/pdcurses-the/pkg-descr new file mode 100644 index 000000000000..01294acf8480 --- /dev/null +++ b/devel/pdcurses-the/pkg-descr @@ -0,0 +1,7 @@ +PDCurses is a public domain curses library for Win32, DOS, OS/2 and X11, +implementing most of the functions available in System V R4 curses. It +supports most compilers for these platforms. The X11 port allows existing +text-mode curses programs to be re-compiled and linked with PDCurses to +produce native X11 applications. + +WWW: http://pdcurses.sourceforge.net/ diff --git a/devel/pdcurses-the/pkg-plist b/devel/pdcurses-the/pkg-plist new file mode 100644 index 000000000000..f7b7a66e8b07 --- /dev/null +++ b/devel/pdcurses-the/pkg-plist @@ -0,0 +1,11 @@ +bin/xcurses-config +include/xcurses.h +include/xcurses/curses.h +include/xcurses/curspriv.h +include/xcurses/panel.h +include/xcurses/term.h +include/xpanel.h +lib/libXCurses.a +lib/libXCurses.so +lib/libXpanel.a +@dirrm include/xcurses diff --git a/devel/pdcurses/Makefile b/devel/pdcurses/Makefile new file mode 100644 index 000000000000..d7c67d882d50 --- /dev/null +++ b/devel/pdcurses/Makefile @@ -0,0 +1,45 @@ +# New ports collection makefile for: pdcurses +# Date created: 1 Jul 2006 +# Whom: alepulver +# +# $FreeBSD$ +# + +PORTNAME= pdcurses +PORTVERSION= 2.8 +CATEGORIES= devel +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} +DISTNAME= PDCurses-${PORTVERSION} + +MAINTAINER= alepulver@FreeBSD.org +COMMENT= Curses library implementation for Win32, DOS, OS/2 and X11 + +USE_LDCONFIG= yes +USE_XLIB= yes +GNU_CONFIGURE= yes + +OPTIONS= DEBUG "Enable debugging support" off \ + LATIN1 "Enable support for Latin1 keys" off \ + NEXTAW "Link with NeXtaw" off \ + XAW3D "Link with Xaw3d" off + +.include + +.for opt in DEBUG LATIN1 +. if defined(WITH_${opt}) +CONFIGURE_ARGS+=--enable-${opt:L} +. endif +.endfor + +.if defined(WITH_NEXTAW) +LIB_DEPENDS+= neXtaw.${XAWVER}:${PORTSDIR}/x11-toolkits/neXtaw +CONFIGURE_ARGS+=--with-nextaw +.endif + +.if defined(WITH_XAW3D) +LIB_DEPENDS+= Xaw3d.${XAWVER}:${PORTSDIR}/x11-toolkits/Xaw3d +CONFIGURE_ARGS+=--with-xaw3d +.endif + +.include diff --git a/devel/pdcurses/distinfo b/devel/pdcurses/distinfo new file mode 100644 index 000000000000..91146104cec6 --- /dev/null +++ b/devel/pdcurses/distinfo @@ -0,0 +1,3 @@ +MD5 (PDCurses-2.8.tar.gz) = cd3a67c94cfa6686678058f18bf87982 +SHA256 (PDCurses-2.8.tar.gz) = e288ac5191de78c31635372f7cd31676561f5a9588258f41dac771ee9248b095 +SIZE (PDCurses-2.8.tar.gz) = 325074 diff --git a/devel/pdcurses/pkg-descr b/devel/pdcurses/pkg-descr new file mode 100644 index 000000000000..01294acf8480 --- /dev/null +++ b/devel/pdcurses/pkg-descr @@ -0,0 +1,7 @@ +PDCurses is a public domain curses library for Win32, DOS, OS/2 and X11, +implementing most of the functions available in System V R4 curses. It +supports most compilers for these platforms. The X11 port allows existing +text-mode curses programs to be re-compiled and linked with PDCurses to +produce native X11 applications. + +WWW: http://pdcurses.sourceforge.net/ diff --git a/devel/pdcurses/pkg-plist b/devel/pdcurses/pkg-plist new file mode 100644 index 000000000000..f7b7a66e8b07 --- /dev/null +++ b/devel/pdcurses/pkg-plist @@ -0,0 +1,11 @@ +bin/xcurses-config +include/xcurses.h +include/xcurses/curses.h +include/xcurses/curspriv.h +include/xcurses/panel.h +include/xcurses/term.h +include/xpanel.h +lib/libXCurses.a +lib/libXCurses.so +lib/libXpanel.a +@dirrm include/xcurses