Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Nov 1998 12:31:23 +0300 (MSK)
From:      Andrey Zakhvatov <andy@icc.surw.chel.su>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/8816: New port: ptc-2.0.10
Message-ID:  <199811230931.MAA12032@icc.surw.chel.su>

next in thread | raw e-mail | index | archive | help

>Number:         8816
>Category:       ports
>Synopsis:       New port: ptc-2.0.10
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Nov 23 01:40:01 PST 1998
>Last-Modified:
>Originator:     Andrey Zakhvatov
>Organization:
South Ural Railway ICC
>Release:        FreeBSD 2.2.7-RELEASE i386
>Environment:

>Description:

   This is a port of ptc-2.0.10, cross-platform low level frame
buffer access library.
Prometheus Truecolour (PTC) is a cross-platform low level frame buffer
access library. It was designed to achieve little more than give access
to the frame buffer and offscreen surfaces.
On top of that, PTC will convert any offscreen surfaces you use to the
screen format that is available on your platform, using highly optimised
handwritten x86 assembler or MMX routines where available.
PTC 2.0 is also available for Win32 (NT,95,98) and Java at the moment.
Work for SVGALIB, Amiga and DOS is in progress.


# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	ptc-2.0.10
#	ptc-2.0.10/Makefile
#	ptc-2.0.10/files
#	ptc-2.0.10/files/md5
#	ptc-2.0.10/files/Makefile.config
#	ptc-2.0.10/pkg
#	ptc-2.0.10/pkg/PLIST
#	ptc-2.0.10/pkg/COMMENT
#	ptc-2.0.10/pkg/DESCR
#	ptc-2.0.10/patches
#	ptc-2.0.10/patches/patch-aa
#	ptc-2.0.10/patches/patch-ab
#	ptc-2.0.10/patches/patch-ah
#	ptc-2.0.10/patches/patch-ag
#	ptc-2.0.10/patches/patch-af
#	ptc-2.0.10/patches/patch-ae
#	ptc-2.0.10/patches/patch-ad
#	ptc-2.0.10/patches/patch-ac
#	ptc-2.0.10/patches/patch-ai
#
echo c - ptc-2.0.10
mkdir -p ptc-2.0.10 > /dev/null 2>&1
echo x - ptc-2.0.10/Makefile
sed 's/^X//' >ptc-2.0.10/Makefile << 'END-of-ptc-2.0.10/Makefile'
X# New ports collection makefile for:	ptc
X# Version required:			2.0.10
X# Date created:				20 November 1998
X# Whom:					Andrey Zakhvatov
X#
X# $Id$
X#
X
XDISTNAME=	ptc-x11-2.0.10
XPKGNAME=	ptc-2.0.10
XCATEGORIES=	graphics
XMASTER_SITES=	http://www.cs.ucl.ac.uk/students/c.nentwich/ptc/ \
X		http://www.gaffer.org/ptc/download/distributions/unix/
X
XMAINTAINER=	andy@icc.surw.chel.su
X
XBUILD_DEPENDS=	nasm:${PORTSDIR}/misc/nasm
X
XALL_TARGET=	ptclib
XGNU_CONFIGURE=	yes
XIS_INTERACTIVE=	yes
XUSE_X_PREFIX=	yes
XWRKSRC=		${WRKDIR}/${PKGNAME}
X
Xpre-build:
X	cd ${WRKSRC}/Hermes; ./configure; make
X
Xdo-install:
X	@ ${INSTALL_SCRIPT} ${WRKSRC}/ptc-config ${PREFIX}/bin
X	@ ${INSTALL_DATA} ${WRKSRC}/Hermes/src/libHermes.1.0.3.a ${PREFIX}/lib
X	@ cd ${PREFIX}/lib; ln -s libHermes.1.0.3.a libHermes.a
X	@ ${MKDIR} ${PREFIX}/include/ptc
X	@ ${MKDIR} ${PREFIX}/include/ptc/Hermes
X.for file in Base.h ClearMMX.h Clear_GC.h Clearx86.h Conv_GC.h Conv_MMX.h Conv_x86.h Head_MMX.h Head_x86.h HermConf.h Hermes.h Types.h hrconfig.h
X	@ ${INSTALL_DATA} ${WRKSRC}/Hermes/src/${file} ${PREFIX}/include/ptc/Hermes
X.endfor
X	@ ${INSTALL_DATA} ${WRKSRC}/library/* ${PREFIX}/lib
X	@ cd ${PREFIX}/lib; ln -s libptc.2.0.10.a libptc.a
X	@ cd ${PREFIX}/lib; ln -s libptc.so.2.0.10 libptc.so.2.0
X.for file in Area.h Base.h Clear.h Color.h Console.h Copy.h Error.h Format.h Random.h Surface.h X11Display.h X11Image.h ptc.h ptconfig.h
X	@ ${INSTALL_DATA} ${WRKSRC}/source/${file} ${PREFIX}/include/ptc
X.endfor
X	@ ${MKDIR} ${PREFIX}/share/examples/ptc
X	@ ${INSTALL_DATA} ${FILESDIR}/Makefile.config ${PREFIX}/share/examples/ptc
X	@ ${INSTALL_DATA} ${WRKSRC}/docs/Makefile.example ${PREFIX}/share/examples/ptc
X	@ ${MKDIR} ${PREFIX}/share/examples/ptc/area
X	@ ${MKDIR} ${PREFIX}/share/examples/ptc/clear
X	@ ${MKDIR} ${PREFIX}/share/examples/ptc/fire
X	@ ${MKDIR} ${PREFIX}/share/examples/ptc/native
X	@ ${MKDIR} ${PREFIX}/share/examples/ptc/realtunnel
X	@ ${MKDIR} ${PREFIX}/share/examples/ptc/tunnel
X	@ ${MKDIR} ${PREFIX}/share/examples/ptc/unix
X.for file in Makefile area/Area.cc area/Makefile clear/Clear.cc clear/Makefile fire/Fire.cc fire/Makefile native/Makefile native/Native.cc realtunnel/Calc.cc realtunnel/Calc.h realtunnel/Makefile realtunnel/Tunnel.cc realtunnel/Tunnel.h realtunnel/tunnel.raw tunnel/Makefile tunnel/Tunnel.cc unix/Makefile unix/Window.cc
X	@ ${INSTALL_DATA} ${WRKSRC}/examples/${file} ${PREFIX}/share/examples/ptc/${file}
X.endfor
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X	@ ${MKDIR} ${PREFIX}/share/doc/ptc
X	@ ${MKDIR} ${PREFIX}/share/doc/ptc/Hermes
X	@ ${INSTALL_DATA} ${WRKSRC}/docs/html/* ${PREFIX}/share/doc/ptc
X.for file in CHANGES COPYING.LIB README TODO TODO.conversion
X	@ ${INSTALL_DATA} ${WRKSRC}/Hermes/${file} ${PREFIX}/share/doc/ptc/Hermes
X.endfor
X.for file in BUGS CHANGES COPYING.LIB DOCUMENTATION README README.BSD TODO
X	@ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/ptc
X.endfor
X.endif
X	@ /sbin/ldconfig -m ${PREFIX}/lib
X
X.include <bsd.port.mk>
END-of-ptc-2.0.10/Makefile
echo c - ptc-2.0.10/files
mkdir -p ptc-2.0.10/files > /dev/null 2>&1
echo x - ptc-2.0.10/files/md5
sed 's/^X//' >ptc-2.0.10/files/md5 << 'END-of-ptc-2.0.10/files/md5'
XMD5 (ptc-x11-2.0.10.tar.gz) = d1ef85b0b5e88a32ccb8673076753858
END-of-ptc-2.0.10/files/md5
echo x - ptc-2.0.10/files/Makefile.config
sed 's/^X//' >ptc-2.0.10/files/Makefile.config << 'END-of-ptc-2.0.10/files/Makefile.config'
X# Generated automatically from Makefile.config.in by configure.
X# GNU Makefile for the X11 part of the PTC 2.0 C++ API
X# Copyright (c) 1998 Christian Nentwich (brn@eleet.mcb.at)
X# The PTC 2.0 C++ API is (c) 1998 Glenn Fiedler (ptc@gaffer.org)
X# This package is licensed under the GNU LGPL
X#
X# Please refer to the file COPYING.LIB contained in the distribution for
X# licensing conditions 
X
XPTC_INCLUDE_PATH=/usr/X11R6/include/ptc
XPTC_LIBRARY_PATH=/usr/X11R6/lib
X
XPTC_JNI_PATH=
XPTC_JNI_MD_PATH=
X
XPTC_LIBRARY_VERSION=2.0.10
XPTC_LIBRARY_LINK=ptc.$(PTC_LIBRARY_VERSION)
XPTC_LIBRARY_NAME=lib$(PTC_LIBRARY_LINK).a
XPTC_LIBRARY_DYN=libptc.so.$(PTC_LIBRARY_VERSION)
X
XPTC_HERMES_PATH=/usr/X11R6/include/ptc/Hermes
XPTC_HERMES_NAME=libHermes.1.0.3.a
XPTC_HERMES_FULLNAME=Hermes/src/$(PTC_HERMES_NAME)
XPTC_HERMES_LIB=-L/usr/X11R6/lib -lHermes
X
XPTC_MAKE=make
X
XCC=c++
X
XCFLAGS = -I$(PTC_INCLUDE_PATH) -I$(PTC_HERMES_PATH) -I. -I/usr/X11R6/include  -fhandle-exceptions
XPTCLIB = -L$(PTC_LIBRARY_PATH) -l$(PTC_LIBRARY_LINK) $(PTC_HERMES_LIB)
X
XPTC_X_LIBRARIES =  -L/usr/X11R6/lib -lX11 -lXext -lXxf86dga -lXxf86vm
X
X
XHEADER_FILES = Area.h Base.h Clear.h Clip.h Color.h Console.h Copy.h \
X Error.h Format.h Random.h Surface.h X11Display.h X11Image.h \
X ptc.h ptcjni.h ptconfig.h 
XHEADER_HERMES = Base.h ClearMMX.h Clear_GC.h Clearx86.h Conv_GC.h \
X Conv_MMX.h Conv_x86.h Head_MMX.h Head_x86.h HermConf.h Hermes.h \
X hrconfig.h Types.h
END-of-ptc-2.0.10/files/Makefile.config
echo c - ptc-2.0.10/pkg
mkdir -p ptc-2.0.10/pkg > /dev/null 2>&1
echo x - ptc-2.0.10/pkg/PLIST
sed 's/^X//' >ptc-2.0.10/pkg/PLIST << 'END-of-ptc-2.0.10/pkg/PLIST'
Xbin/ptc-config
Xinclude/ptc/Area.h
Xinclude/ptc/Base.h
Xinclude/ptc/Clear.h
Xinclude/ptc/Color.h
Xinclude/ptc/Console.h
Xinclude/ptc/Copy.h
Xinclude/ptc/Error.h
Xinclude/ptc/Format.h
Xinclude/ptc/Random.h
Xinclude/ptc/Surface.h
Xinclude/ptc/X11Display.h
Xinclude/ptc/X11Image.h
Xinclude/ptc/ptc.h
Xinclude/ptc/ptconfig.h
Xinclude/ptc/Hermes/Base.h
Xinclude/ptc/Hermes/ClearMMX.h
Xinclude/ptc/Hermes/Clear_GC.h
Xinclude/ptc/Hermes/Clearx86.h
Xinclude/ptc/Hermes/Conv_GC.h
Xinclude/ptc/Hermes/Conv_MMX.h
Xinclude/ptc/Hermes/Conv_x86.h
Xinclude/ptc/Hermes/Head_MMX.h
Xinclude/ptc/Hermes/Head_x86.h
Xinclude/ptc/Hermes/HermConf.h
Xinclude/ptc/Hermes/Hermes.h
Xinclude/ptc/Hermes/Types.h
Xinclude/ptc/Hermes/hrconfig.h
Xlib/libHermes.1.0.3.a
Xlib/libHermes.a
Xlib/libptc.2.0.10.a
Xlib/libptc.a
Xlib/libptc.so.2.0
Xlib/libptc.so.2.0.10
X@exec /sbin/ldconfig -m %D/lib
Xshare/doc/ptc/BUGS
Xshare/doc/ptc/CHANGES
Xshare/doc/ptc/COPYING.LIB
Xshare/doc/ptc/DOCUMENTATION
Xshare/doc/ptc/README
Xshare/doc/ptc/README.BSD
Xshare/doc/ptc/TODO
Xshare/doc/ptc/bg.jpg
Xshare/doc/ptc/ptc-x11.html
Xshare/doc/ptc/Hermes/CHANGES
Xshare/doc/ptc/Hermes/COPYING.LIB
Xshare/doc/ptc/Hermes/README
Xshare/doc/ptc/Hermes/TODO
Xshare/doc/ptc/Hermes/TODO.conversion
Xshare/examples/ptc/Makefile
Xshare/examples/ptc/Makefile.config
Xshare/examples/ptc/Makefile.example
Xshare/examples/ptc/area/Area.cc
Xshare/examples/ptc/area/Makefile
Xshare/examples/ptc/clear/Clear.cc
Xshare/examples/ptc/clear/Makefile
Xshare/examples/ptc/fire/Fire.cc
Xshare/examples/ptc/fire/Makefile
Xshare/examples/ptc/native/Makefile
Xshare/examples/ptc/native/Native.cc
Xshare/examples/ptc/realtunnel/Calc.cc
Xshare/examples/ptc/realtunnel/Calc.h
Xshare/examples/ptc/realtunnel/Makefile
Xshare/examples/ptc/realtunnel/Tunnel.cc
Xshare/examples/ptc/realtunnel/Tunnel.h
Xshare/examples/ptc/realtunnel/tunnel.raw
Xshare/examples/ptc/tunnel/Makefile
Xshare/examples/ptc/tunnel/Tunnel.cc
Xshare/examples/ptc/unix/Makefile
Xshare/examples/ptc/unix/Window.cc
X@dirrm include/ptc/Hermes
X@dirrm include/ptc
X@dirrm share/doc/ptc/Hermes
X@dirrm share/doc/ptc
X@dirrm share/examples/ptc/area
X@dirrm share/examples/ptc/clear
X@dirrm share/examples/ptc/fire
X@dirrm share/examples/ptc/native
X@dirrm share/examples/ptc/realtunnel
X@dirrm share/examples/ptc/tunnel
X@dirrm share/examples/ptc/unix
X@dirrm share/examples/ptc
END-of-ptc-2.0.10/pkg/PLIST
echo x - ptc-2.0.10/pkg/COMMENT
sed 's/^X//' >ptc-2.0.10/pkg/COMMENT << 'END-of-ptc-2.0.10/pkg/COMMENT'
XCross-platform low level frame buffer access library.
END-of-ptc-2.0.10/pkg/COMMENT
echo x - ptc-2.0.10/pkg/DESCR
sed 's/^X//' >ptc-2.0.10/pkg/DESCR << 'END-of-ptc-2.0.10/pkg/DESCR'
XPrometheus Truecolour (PTC) is a cross-platform low level frame buffer
Xaccess library. It was designed to achieve little more than give access
Xto the frame buffer and offscreen surfaces.
X
XOn top of that, PTC will convert any offscreen surfaces you use to the
Xscreen format that is available on your platform, using highly optimised
Xhandwritten x86 assembler or MMX routines where available.
X
XPTC 2.0 is also available for Win32 (NT,95,98) and Java at the moment.
XWork for SVGALIB, Amiga and DOS is in progress.
X
Xhttp://www.cs.ucl.ac.uk/students/c.nentwich/ptc
END-of-ptc-2.0.10/pkg/DESCR
echo c - ptc-2.0.10/patches
mkdir -p ptc-2.0.10/patches > /dev/null 2>&1
echo x - ptc-2.0.10/patches/patch-aa
sed 's/^X//' >ptc-2.0.10/patches/patch-aa << 'END-of-ptc-2.0.10/patches/patch-aa'
X--- ptc-config.in	Mon Oct 19 15:33:39 1998
X+++ /home/andy/tmp/wrk/ptc-config.in	Sun Nov 22 23:09:34 1998
X@@ -3,7 +3,7 @@
X prefix=@prefix@
X exec_prefix=@exec_prefix@
X libdir=@libdir@
X-includedir=@includedir@
X+includedir=@includedir@/ptc
X 
X if test $# -eq 0; then
X 	echo "Usage: ptc-config [--version] [--cflags] [--libs]"
END-of-ptc-2.0.10/patches/patch-aa
echo x - ptc-2.0.10/patches/patch-ab
sed 's/^X//' >ptc-2.0.10/patches/patch-ab << 'END-of-ptc-2.0.10/patches/patch-ab'
X--- examples/Makefile	Mon Oct 19 15:33:31 1998
X+++ /home/andy/tmp/wrk/examples/Makefile	Sun Nov 22 23:28:47 1998
X@@ -6,7 +6,7 @@
X # Please refer to the file COPYING.LIB contained in the distribution for
X # licensing conditions
X 
X-include ../Makefile.config
X+include Makefile.config
X 
X EXAMPLE_DIRS = fire tunnel native realtunnel area clear unix
X 
END-of-ptc-2.0.10/patches/patch-ab
echo x - ptc-2.0.10/patches/patch-ah
sed 's/^X//' >ptc-2.0.10/patches/patch-ah << 'END-of-ptc-2.0.10/patches/patch-ah'
X--- examples/tunnel/Makefile	Mon Oct 19 15:33:34 1998
X+++ /home/andy/tmp/wrk/examples/tunnel/Makefile	Sun Nov 22 23:30:04 1998
X@@ -6,7 +6,7 @@
X # Please refer to the file COPYING.LIB contained in the distribution for
X # licensing conditions 
X 
X-include ../../Makefile.config
X+include ../Makefile.config
X 
X PROG1 = Tunnel
X 
END-of-ptc-2.0.10/patches/patch-ah
echo x - ptc-2.0.10/patches/patch-ag
sed 's/^X//' >ptc-2.0.10/patches/patch-ag << 'END-of-ptc-2.0.10/patches/patch-ag'
X--- examples/realtunnel/Makefile	Mon Oct 19 15:33:34 1998
X+++ /home/andy/tmp/wrk/examples/realtunnel/Makefile	Sun Nov 22 23:29:49 1998
X@@ -6,7 +6,7 @@
X # Please refer to the file COPYING.LIB contained in the distribution for
X # licensing conditions 
X 
X-include ../../Makefile.config
X+include ../Makefile.config
X 
X PROG1 = Tunnel
X 
END-of-ptc-2.0.10/patches/patch-ag
echo x - ptc-2.0.10/patches/patch-af
sed 's/^X//' >ptc-2.0.10/patches/patch-af << 'END-of-ptc-2.0.10/patches/patch-af'
X--- examples/native/Makefile	Mon Oct 19 15:33:34 1998
X+++ /home/andy/tmp/wrk/examples/native/Makefile	Sun Nov 22 23:29:37 1998
X@@ -6,7 +6,7 @@
X # Please refer to the file COPYING.LIB contained in the distribution for
X # licensing conditions 
X 
X-include ../../Makefile.config
X+include ../Makefile.config
X 
X PROG1 = Native
X 
END-of-ptc-2.0.10/patches/patch-af
echo x - ptc-2.0.10/patches/patch-ae
sed 's/^X//' >ptc-2.0.10/patches/patch-ae << 'END-of-ptc-2.0.10/patches/patch-ae'
X--- examples/fire/Makefile	Mon Oct 19 15:33:34 1998
X+++ /home/andy/tmp/wrk/examples/fire/Makefile	Sun Nov 22 23:29:24 1998
X@@ -6,7 +6,7 @@
X # Please refer to the file COPYING.LIB contained in the distribution for
X # licensing conditions 
X 
X-include ../../Makefile.config
X+include ../Makefile.config
X 
X PROG1 = Fire
X 
END-of-ptc-2.0.10/patches/patch-ae
echo x - ptc-2.0.10/patches/patch-ad
sed 's/^X//' >ptc-2.0.10/patches/patch-ad << 'END-of-ptc-2.0.10/patches/patch-ad'
X--- examples/clear/Makefile	Mon Oct 19 15:33:37 1998
X+++ /home/andy/tmp/wrk/examples/clear/Makefile	Sun Nov 22 23:29:12 1998
X@@ -6,7 +6,7 @@
X # Please refer to the file COPYING.LIB contained in the distribution for
X # licensing conditions 
X 
X-include ../../Makefile.config
X+include ../Makefile.config
X 
X PROG1 = Clear
X 
END-of-ptc-2.0.10/patches/patch-ad
echo x - ptc-2.0.10/patches/patch-ac
sed 's/^X//' >ptc-2.0.10/patches/patch-ac << 'END-of-ptc-2.0.10/patches/patch-ac'
X--- examples/area/Makefile	Mon Oct 19 15:33:34 1998
X+++ /home/andy/tmp/wrk/examples/area/Makefile	Sun Nov 22 23:29:00 1998
X@@ -6,7 +6,7 @@
X # Please refer to the file COPYING.LIB contained in the distribution for
X # licensing conditions 
X 
X-include ../../Makefile.config
X+include ../Makefile.config
X 
X PROG1 = Area
X 
END-of-ptc-2.0.10/patches/patch-ac
echo x - ptc-2.0.10/patches/patch-ai
sed 's/^X//' >ptc-2.0.10/patches/patch-ai << 'END-of-ptc-2.0.10/patches/patch-ai'
X--- examples/unix/Makefile	Mon Oct 19 15:33:34 1998
X+++ /home/andy/tmp/wrk/examples/unix/Makefile	Sun Nov 22 23:30:13 1998
X@@ -6,7 +6,7 @@
X # Please refer to the file COPYING.LIB contained in the distribution for
X # licensing conditions 
X 
X-include ../../Makefile.config
X+include ../Makefile.config
X 
X PROG1 = Window
X 
END-of-ptc-2.0.10/patches/patch-ai
exit


>How-To-Repeat:

>Fix:

   Please, check and commit this port.

>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199811230931.MAA12032>