Date: Thu, 23 Nov 2000 14:42:23 -0800 (PST) From: oleg@pobox.com To: FreeBSD-gnats-submit@freebsd.org Cc: oleg@pobox.com Subject: ports/23053: New devel port, cppadvio; request for local hosting Message-ID: <200011232242.OAA64451@adric.cs.nps.navy.mil>
next in thread | raw e-mail | index | archive | help
>Number: 23053 >Category: ports >Synopsis: New devel port, cppadvio; request for local hosting >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: Thu Nov 23 14:40:00 PST 2000 >Closed-Date: >Last-Modified: >Originator: Oleg >Release: FreeBSD 4.0-RELEASE i386 >Organization: >Environment: >Description: This is a submission of a new devel/net port cppadvio -- Advanced i/o, networking, and arithmetic compression C++ classlib. I also would like to request hosting of a distfile cppadvio-2.6.tar.gz [73,636 bytes] under MASTER_SITE_LOCAL. >How-To-Repeat: >Fix: # 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: # # cppadvio # cppadvio/files # cppadvio/files/patch-Makefile # cppadvio/Makefile # cppadvio/pkg-comment # cppadvio/distinfo # cppadvio/pkg-descr # cppadvio/pkg-message # cppadvio/pkg-plist # echo c - cppadvio mkdir -p cppadvio > /dev/null 2>&1 echo c - cppadvio/files mkdir -p cppadvio/files > /dev/null 2>&1 echo x - cppadvio/files/patch-Makefile sed 's/^X//' >cppadvio/files/patch-Makefile << 'END-of-cppadvio/files/patch-Makefile' X--- Makefile Sun Nov 19 14:57:06 2000 X+++ Makefile Thu Nov 23 14:12:35 2000 X@@ -62,8 +62,8 @@ X # X # $Id: Makefile,v 4.2 2000/11/19 22:57:06 oleg Exp oleg $ X X-CC=./c++ X-CCL=g++ -pipe X+CCXC=./c++ X+CCL=$(CXX) X .SUFFIXES: .cc X MODULES=myenv.cc endian_io.cc \ X arithm_coding.cc arithm_model.cc arithm_modadapt.cc \ X@@ -83,10 +83,10 @@ X # Rules, new style X X %.o : %.cc X- $(CC) $*.cc X+ $(CCXC) $*.cc X X $(LIBRARY)(%.o) : %.cc X- $(CC) $*.cc X+ $(CCXC) $*.cc X ar rcv $(LIBRARY) $*.o X rm -f $*.o X X@@ -95,7 +95,7 @@ X ./$@ X X % :: %.cc X- $(CC) $*.cc X+ $(CCXC) $*.cc X $(CCL) $*.o $(CLDEF) $(LIBRARY) $(LIBS) -o $@ X ./$@ X X@@ -104,11 +104,11 @@ X # $(CCL) $*.o $(CLDEF) $(LIBRARY) $(LIBS) -o $* X # ./$* X #.cc: $*.cc $(LIBRARY) X-# $(CC) $*.cc X+# $(CCXC) $*.cc X # $(CCL) $*.o $(CLDEF) $(LIBRARY) $(LIBS) -o $* X # ./$* X #.cc.o: X-# $(CC) $*.cc X+# $(CCXC) $*.cc X # X X # Primary goal X@@ -126,7 +126,7 @@ X X #$(LIBRARY):: $(MODULES) X # Compile the source files that have been changed X-# $(CC) $? X+# $(CCXC) $? X # listobj=`echo $? | sed s/.cc/.o/g` ; \ X # ar rv $(LIBRARY) $$listobj && \ X # rm $$listobj X@@ -151,14 +151,14 @@ X X # Optimization causes internal compiler error... X #vmyenv.o: vmyenv.cc X-# $(CC) -O0 vmyenv.cc X+# $(CCXC) -O0 vmyenv.cc X X vTCPstream: vTCPstream.o $(LIBRARY) X $(CCL) $^ -o $@ $(NETLIBS) -lm X ECHO_HOST=$(ECHO_HOST) ./$@ X X vTCPstream_server.o: vTCPstream_server.cc X- $(CC) -DDO_FORK vTCPstream_server.cc X+ $(CCXC) -DDO_FORK vTCPstream_server.cc X X vTCPstream_server: vTCPstream_server.o $(LIBRARY) X $(CCL) $^ -o $@ $(NETLIBS) -lm X@@ -177,7 +177,7 @@ X X X vendian_io_ext: sys_open_glue.o open_ext.o X- $(CC) -DEXT_OPEN=1 -DEXT_NETIO=$(ECHO_HOST) vendian_io.cc X+ $(CCXC) -DEXT_OPEN=1 -DEXT_NETIO=$(ECHO_HOST) vendian_io.cc X $(CCL) vendian_io.o $^ $(LIBRARY) $(NETLIBS) -o $@ -lm X ./$@ X END-of-cppadvio/files/patch-Makefile echo x - cppadvio/Makefile sed 's/^X//' >cppadvio/Makefile << 'END-of-cppadvio/Makefile' X# New ports collection makefile for: cppadvio X# Date created: November 23, 2000 X# Whom: Oleg Kiselyov <oleg@pobox.com> X# X# $FreeBSD$ X# X XPORTNAME= cppadvio XPORTVERSION= 2.6 XCATEGORIES= devel net XMASTER_SITES= ${MASTER_SITE_LOCAL} X XMAINTAINER= oleg@pobox.com X XWRKSRC= ${WRKDIR}/cppadvio XALL_TARGET= lib XINSTALL_TARGET= lib XUSE_GMAKE= yes XUSE_NEWGCC= yes X Xpost-patch: X @( cd ${WRKSRC}; ${MV} c++ c++.orig; \ X ${SED} -e 's/^ *gcc/${CXX} ${CXXFLAGS}/' c++.orig > c++; ${CHMOD} +x c++ ) X Xpost-install: X $(INSTALL_DATA) ${WRKSRC}/libcppadvio.a ${PREFIX}/lib X ${MKDIR} ${PREFIX}/include/cppadvio X $(INSTALL_DATA) ${WRKSRC}/Logger.h ${PREFIX}/include/cppadvio X $(INSTALL_DATA) ${WRKSRC}/TCPstream.h ${PREFIX}/include/cppadvio X $(INSTALL_DATA) ${WRKSRC}/arithm.h ${PREFIX}/include/cppadvio X $(INSTALL_DATA) ${WRKSRC}/arithm_modadapt.h ${PREFIX}/include/cppadvio X $(INSTALL_DATA) ${WRKSRC}/arithm_modadh.h ${PREFIX}/include/cppadvio X $(INSTALL_DATA) ${WRKSRC}/builtin.h ${PREFIX}/include/cppadvio X $(INSTALL_DATA) ${WRKSRC}/endian_io.h ${PREFIX}/include/cppadvio X $(INSTALL_DATA) ${WRKSRC}/histogram.h ${PREFIX}/include/cppadvio X $(INSTALL_DATA) ${WRKSRC}/minmax.h ${PREFIX}/include/cppadvio X $(INSTALL_DATA) ${WRKSRC}/myenv.h ${PREFIX}/include/cppadvio X $(INSTALL_DATA) ${WRKSRC}/std.h ${PREFIX}/include/cppadvio X $(INSTALL_DATA) ${WRKSRC}/voc.h ${PREFIX}/include/cppadvio X.if !defined(NOPORTDOCS) X ${MKDIR} ${PREFIX}/share/doc/cppadvio X ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/cppadvio X.endif X.include <bsd.port.mk> END-of-cppadvio/Makefile echo x - cppadvio/pkg-comment sed 's/^X//' >cppadvio/pkg-comment << 'END-of-cppadvio/pkg-comment' XAdvanced i/o, networking, and arithmetic compression C++ classlib END-of-cppadvio/pkg-comment echo x - cppadvio/distinfo sed 's/^X//' >cppadvio/distinfo << 'END-of-cppadvio/distinfo' XMD5 (cppadvio-2.6.tar.gz) = cca888d30ddfcf4957fa501b6ee0569b END-of-cppadvio/distinfo echo x - cppadvio/pkg-descr sed 's/^X//' >cppadvio/pkg-descr << 'END-of-cppadvio/pkg-descr' Xcppadvio: Advanced i/o, Networking, and Arithmetic Compression Xclasslib, extended file names, and portable handling and compression Xof binary data X XA collection of classes and C++ streams that perform: X - a variable-bit coding of sequences of integers (including X Arithmetic compression), X - a trick of sharing a stream buffer (a "file") among several streams, X - handling of extended file names, with uni- and bi-directional 'pipes' X and a 'tcp://' prefix X - explicit endian specification in dealing with integer streams X - TCP streams X - a Vocabulary package, (poly/homo)morphic dictionaries with a X dynamic "inheritance" path, an embedded OO system X XCurrent Version: 2.6, November 19, 2000. XWWW: http://pobox.com/~oleg/ftp/packages.html X XOleg Kiselyov Xmailto:oleg@pobox.com, mailto:oleg@acm.org, mailto:oleg@computer.org END-of-cppadvio/pkg-descr echo x - cppadvio/pkg-message sed 's/^X//' >cppadvio/pkg-message << 'END-of-cppadvio/pkg-message' XDon't forget to compile and run verification/validation code: gmake check-all Xor specifically, sub-targets X vmyenv vendian_io vendian_io_ext vhistogram varithm X vTCPstream vTCPstream_server vvoc X XSee comments in the work/cppadvio/Makefile for details, as well as Xc++serv.dr. The verification code checks to see that all the Xfunctions in this package have compiled and run well. The validation Xcode can also serve as an illustration of how package's classes and Xfunctions may be employed. END-of-cppadvio/pkg-message echo x - cppadvio/pkg-plist sed 's/^X//' >cppadvio/pkg-plist << 'END-of-cppadvio/pkg-plist' Xlib/libcppadvio.a Xshare/doc/cppadvio/README Xinclude/cppadvio/Logger.h Xinclude/cppadvio/TCPstream.h Xinclude/cppadvio/arithm.h Xinclude/cppadvio/arithm_modadapt.h Xinclude/cppadvio/arithm_modadh.h Xinclude/cppadvio/builtin.h Xinclude/cppadvio/endian_io.h Xinclude/cppadvio/histogram.h Xinclude/cppadvio/minmax.h Xinclude/cppadvio/myenv.h Xinclude/cppadvio/std.h Xinclude/cppadvio/voc.h X@dirrm share/doc/cppadvio X@dirrm include/cppadvio END-of-cppadvio/pkg-plist exit >Release-Note: >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?200011232242.OAA64451>