aboutsummaryrefslogtreecommitdiffstats
path: root/devel/crossgo32-djgpp2-pdcurses
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>1997-08-13 17:41:03 +0800
committertg <tg@FreeBSD.org>1997-08-13 17:41:03 +0800
commit8fb12cdc876980d72bf0e3ef1caec73db851eba7 (patch)
treee7a27e6b46e8c98722e4b0dbc5adab8ce661ff62 /devel/crossgo32-djgpp2-pdcurses
parent0af76a046e98676c342cfbb223b9359a1528a7b0 (diff)
downloadfreebsd-ports-gnome-8fb12cdc876980d72bf0e3ef1caec73db851eba7.tar.gz
freebsd-ports-gnome-8fb12cdc876980d72bf0e3ef1caec73db851eba7.tar.zst
freebsd-ports-gnome-8fb12cdc876980d72bf0e3ef1caec73db851eba7.zip
Port of the pdcurses library for crossgo32.
PR: 4009 Submitted by: Joel Sutton <sutton@aardvark.apana.org.au>
Diffstat (limited to 'devel/crossgo32-djgpp2-pdcurses')
-rw-r--r--devel/crossgo32-djgpp2-pdcurses/Makefile63
-rw-r--r--devel/crossgo32-djgpp2-pdcurses/distinfo1
-rw-r--r--devel/crossgo32-djgpp2-pdcurses/pkg-comment1
-rw-r--r--devel/crossgo32-djgpp2-pdcurses/pkg-descr11
-rw-r--r--devel/crossgo32-djgpp2-pdcurses/pkg-plist13
5 files changed, 89 insertions, 0 deletions
diff --git a/devel/crossgo32-djgpp2-pdcurses/Makefile b/devel/crossgo32-djgpp2-pdcurses/Makefile
new file mode 100644
index 000000000000..360ca531cfcd
--- /dev/null
+++ b/devel/crossgo32-djgpp2-pdcurses/Makefile
@@ -0,0 +1,63 @@
+# New ports collection makefile for: pdcurses
+# Version required: 2.2
+# Date created: Sun Jun 22 16:57:39 EST 1997
+# Whom: Joel Sutton <sutton@aardvark.apana.org.au)
+# FreeBSD Version: 2.2.1-RELEASE
+#
+# $Id$
+#
+
+DISTNAME= pdc22
+PKGNAME= crossgo32-djgpp2-pdcurses-2.2
+CATEGORIES= devel
+MASTER_SITES= ftp://ftp.tas.gov.au/pc/simtelnet/gnu/djgpp/v2tk/ \
+ ftp://ftp.cdrom.com/pub/simtelnet/gnu/djgpp/v2tk/
+EXTRACT_SUFX= .zip
+
+MAINTAINER= sutton@aardvark.apana.org.au
+
+FETCH_DEPENDS= unzip:${PORTSDIR}/archivers/zip
+RUN_DEPENDS= i386-go32-gcc:${PORTSDIR}/devel/crossgo32
+RUN_DEPENDS= i386-go32-stubify:${PORTSDIR}/devel/crossgo32-djgpp2
+
+DIST_SUBDIR= djgpp
+EXTRACT_CMD= unzip
+EXTRACT_BEFORE_ARGS= -La
+
+# Since were only taking the library and include files we don't
+# actually need to build anything
+#
+WRKSRC= ${WRKDIR}/contrib/pdcurs22
+NO_BUILD= yes
+
+CROSSGOLIB= ${PREFIX}/i386-go32/lib
+CROSSGOINCLUDE= ${PREFIX}/i386-go32/include
+PDBASE= ${WRKSRC}/contrib/pdcurs22
+PDLIB= ${WRKSRC}/lib
+PDINCLUDE= ${WRKSRC}/include
+PDDOC= ${WRKSRC}/docs
+DOCDIR= ${PREFIX}/share/doc/pdcurses
+
+do-install:
+ @${ECHO_MSG} "===> Installing libraries"
+ ${INSTALL_DATA} ${PDLIB}/libcurso.a ${CROSSGOLIB}
+ ${INSTALL_DATA} ${PDLIB}/libcurso.a ${CROSSGOLIB}/libcurses.a
+ ${INSTALL_DATA} ${PDLIB}/libpano.a ${CROSSGOLIB}
+
+ @${ECHO_MSG} "===> Installing include files"
+ ${INSTALL_DATA} ${PDINCLUDE}/curses.h ${CROSSGOINCLUDE}
+ ${INSTALL_DATA} ${PDINCLUDE}/cursos2.h ${CROSSGOINCLUDE}
+ ${INSTALL_DATA} ${PDINCLUDE}/curspriv.h ${CROSSGOINCLUDE}
+ ${INSTALL_DATA} ${PDINCLUDE}/panel.h ${CROSSGOINCLUDE}
+
+.if !defined(NOPORTDOCS)
+ @${ECHO_MSG} "===> Installing documentation into ${DOCDIR}"
+ -${MKDIR} ${DOCDIR}
+ ${INSTALL_DATA} ${PDDOC}/readme.22 ${DOCDIR}/readme.txt
+ ${INSTALL_DATA} ${PDDOC}/basics/intro.man ${DOCDIR}/intro.txt
+ ${INSTALL_DATA} ${PDDOC}/basics/overview.man ${DOCDIR}/overview.txt
+ ${INSTALL_DATA} ${PDDOC}/basics/xwindows.man ${DOCDIR}/xwindows.txt
+ ${INSTALL_DATA} ${PKGDIR}/DESCR ${DOCDIR}/Readme.FreeBSD
+.endif
+
+.include <bsd.port.mk>
diff --git a/devel/crossgo32-djgpp2-pdcurses/distinfo b/devel/crossgo32-djgpp2-pdcurses/distinfo
new file mode 100644
index 000000000000..6ea5d113cd1d
--- /dev/null
+++ b/devel/crossgo32-djgpp2-pdcurses/distinfo
@@ -0,0 +1 @@
+MD5 (djgpp/pdc22.zip) = 54aa14418aa32f1a7f1b2f0ee28fb052
diff --git a/devel/crossgo32-djgpp2-pdcurses/pkg-comment b/devel/crossgo32-djgpp2-pdcurses/pkg-comment
new file mode 100644
index 000000000000..494b4b071357
--- /dev/null
+++ b/devel/crossgo32-djgpp2-pdcurses/pkg-comment
@@ -0,0 +1 @@
+Public domain curses for crossgo32 crosscompiler with djgpp v2 libraries
diff --git a/devel/crossgo32-djgpp2-pdcurses/pkg-descr b/devel/crossgo32-djgpp2-pdcurses/pkg-descr
new file mode 100644
index 000000000000..519880a5ea3a
--- /dev/null
+++ b/devel/crossgo32-djgpp2-pdcurses/pkg-descr
@@ -0,0 +1,11 @@
+This is a public domain curses package for the crossgo32 port. It is
+part of the DJGPP Version 2 distributions and is very handy for porting
+curses software onto a DOS machine.
+
+Share and enjoy,
+
+Joel...
+---
+Joel Sutton
+sutton@aardvark.apana.org.au http://aardvark.apana.org.au/~sutton/
+"This must be Thursday. I never could get the hang of Thursdays..."
diff --git a/devel/crossgo32-djgpp2-pdcurses/pkg-plist b/devel/crossgo32-djgpp2-pdcurses/pkg-plist
new file mode 100644
index 000000000000..10edce9f37fd
--- /dev/null
+++ b/devel/crossgo32-djgpp2-pdcurses/pkg-plist
@@ -0,0 +1,13 @@
+i386-go32/lib/libcurso.a
+i386-go32/lib/libcurses.a
+i386-go32/lib/libpano.a
+i386-go32/include/curses.h
+i386-go32/include/cursos2.h
+i386-go32/include/curspriv.h
+i386-go32/include/panel.h
+share/doc/pdcurses/readme.txt
+share/doc/pdcurses/intro.txt
+share/doc/pdcurses/overview.txt
+share/doc/pdcurses/xwindows.txt
+share/doc/pdcurses/Readme.FreeBSD
+@dirrm share/doc/pdcurses