ports/77611: Update: lang/aleph 0.9 to lang/afnix 1.0
Johan van Selst
johans at stack.nl
Wed Feb 16 19:50:25 UTC 2005
>Number: 77611
>Category: ports
>Synopsis: Update: lang/aleph 0.9 to lang/afnix 1.0
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Wed Feb 16 19:50:23 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Johan van Selst
>Release: FreeBSD 6.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD coyote.gletsjer.net 6.0-CURRENT FreeBSD 6.0-CURRENT #26: Sat Feb 12 19:06:41 CET 2005 root at coyote.gletsjer.net:/spare3/obj/spare3/src/sys/coyote i386
>Description:
The name of the programming language has changed recently,
most of the program itself has remained the same.
Please move the port to lang/afnix.
I also took the opportunity to clean up some patches and
will feed the remaining patches back to the author.
Might as well apply for maintainership of the program.
>How-To-Repeat:
>Fix:
Because the name change affects everything,
a full shar seems more useful than a huge diff.
Note that some of the patchfiles have been removed or renamed.
# 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:
#
# afnix
# afnix/files
# afnix/files/patch-cnf_bin_afnix-guess
# afnix/files/patch-cnf_mak_afnix-rule.mak
# afnix/files/patch-cnf_mak_afnix-gcc-3.mak
# afnix/files/patch-src_plt_acf_ccnf.cpp
# afnix/files/patch-src_plt_lib_cclk.cxx
# afnix/files/patch-src_plt_lib_cdir.cxx
# afnix/files/patch-cnf_mak_afnix-defs.mak
# afnix/pkg-plist
# afnix/pkg-descr
# afnix/distinfo
# afnix/Makefile
#
echo c - afnix
mkdir -p afnix > /dev/null 2>&1
echo c - afnix/files
mkdir -p afnix/files > /dev/null 2>&1
echo x - afnix/files/patch-cnf_bin_afnix-guess
sed 's/^X//' >afnix/files/patch-cnf_bin_afnix-guess << 'END-of-afnix/files/patch-cnf_bin_afnix-guess'
X--- cnf/bin/afnix-guess.orig Wed Jan 12 06:05:00 2005
X+++ cnf/bin/afnix-guess Wed Feb 16 19:18:04 2005
X@@ -113,6 +113,7 @@
X mips) proc_name=mips;;
X mipsel) proc_name=mipsel;;
X parisc*) proc_name=pa64;;
X+ amd64) proc_name=amd64;;
X ia64) proc_name=ia64;;
X s390*) proc_name=s390;;
X x86_64) proc_name=x64;;
END-of-afnix/files/patch-cnf_bin_afnix-guess
echo x - afnix/files/patch-cnf_mak_afnix-rule.mak
sed 's/^X//' >afnix/files/patch-cnf_mak_afnix-rule.mak << 'END-of-afnix/files/patch-cnf_mak_afnix-rule.mak'
X--- cnf/mak/afnix-rule.mak.orig Wed Jan 12 06:05:00 2005
X+++ cnf/mak/afnix-rule.mak Wed Feb 16 19:18:04 2005
X@@ -62,8 +62,8 @@
X endif
X
X ifeq ($(LKMODE),soname)
X-SONAME = $(SOLIB).$(MAJOR).$(MINOR)
X-SOVERS = $(SOLIB).$(MAJOR).$(MINOR).$(PATCH)
X+SONAME = $(SOLIB).$(MAJOR)
X+SOVERS = $(SOLIB).$(MAJOR)
X endif
X
X # ----------------------------------------------------------------------------
X@@ -124,17 +124,13 @@
X $(SOLIB) : $(SOVERS)
X @$(MKDIR) $(BLDLIB)
X @$(CP) $(SOVERS) $(BLDLIB)
X- @$(RM) $(BLDLIB)/$(SOLIB)
X @$(RM) $(BLDLIB)/$(SONAME)
X- @$(LN) $(SOVERS) $(BLDLIB)/$(SONAME)
X @$(LN) $(SONAME) $(BLDLIB)/$(SOLIB)
X
X install-solib : $(SOVERS)
X @$(MKDIR) $(LIBDIR)
X @$(CP) $(SOVERS) $(LIBDIR)
X- @$(RM) $(LIBDIR)/$(SONAME)
X @$(RM) $(LIBDIR)/$(SOLIB)
X- @$(LN) $(SOVERS) $(LIBDIR)/$(SONAME)
X @$(LN) $(SONAME) $(LIBDIR)/$(SOLIB)
X .PHONY: install-solib
X endif
END-of-afnix/files/patch-cnf_mak_afnix-rule.mak
echo x - afnix/files/patch-cnf_mak_afnix-gcc-3.mak
sed 's/^X//' >afnix/files/patch-cnf_mak_afnix-gcc-3.mak << 'END-of-afnix/files/patch-cnf_mak_afnix-gcc-3.mak'
X--- cnf/mak/afnix-gcc-3.mak.orig Wed Jan 12 06:05:00 2005
X+++ cnf/mak/afnix-gcc-3.mak Wed Feb 16 19:18:04 2005
X@@ -43,7 +43,7 @@
X # - compiler dependant libraries -
X # ----------------------------------------------------------------------------
X
X-AFXCPPLIBS = -lsupc++
X+AFXCPPLIBS = -lstdc++
X
X # ----------------------------------------------------------------------------
X # - platform dependant linking flags -
END-of-afnix/files/patch-cnf_mak_afnix-gcc-3.mak
echo x - afnix/files/patch-src_plt_acf_ccnf.cpp
sed 's/^X//' >afnix/files/patch-src_plt_acf_ccnf.cpp << 'END-of-afnix/files/patch-src_plt_acf_ccnf.cpp'
X--- src/plt/acf/ccnf.cpp.orig Wed Jan 12 06:05:00 2005
X+++ src/plt/acf/ccnf.cpp Wed Feb 16 19:18:04 2005
X@@ -42,6 +42,7 @@
X #define AFNIX_PROCTYPE_IA64 10
X #define AFNIX_PROCTYPE_S390 11
X #define AFNIX_PROCTYPE_X64 12
X+#define AFNIX_PROCTYPE_AMD64 12
X
X // recognized processor name
X #define AFNIX_PROCNAME_UNKNOWN "unknown"
X@@ -57,6 +58,7 @@
X #define AFNIX_PROCNAME_IA64 "ia64"
X #define AFNIX_PROCNAME_S390 "s390"
X #define AFNIX_PROCNAME_X64 "x64"
X+#define AFNIX_PROCNAME_AMD64 "amd64"
X
X // force size type with S390
X #if defined(__s390__)
X@@ -117,6 +119,9 @@
X // s390
X if (strcmp (proc, AFNIX_PROCNAME_S390) == 0)
X return AFNIX_PROCTYPE_S390;
X+ // amd64
X+ if (strcmp (proc, AFNIX_PROCNAME_AMD64) == 0)
X+ return AFNIX_PROCTYPE_AMD64;
X // x86-64
X if (strcmp (proc, AFNIX_PROCNAME_X64) == 0) {
X switch (sizeof(void*)) {
X@@ -260,6 +265,8 @@
X AFNIX_PROCTYPE_IA64);
X fprintf (stdout, "#define AFNIX_PROCTYPE_S390 %d\n",
X AFNIX_PROCTYPE_S390);
X+ fprintf (stdout, "#define AFNIX_PROCTYPE_AMD64 %d\n",
X+ AFNIX_PROCTYPE_AMD64);
X fprintf (stdout, "#define AFNIX_PROCTYPE_X64 %d\n",
X AFNIX_PROCTYPE_X64);
X fprintf (stdout, "\n");
END-of-afnix/files/patch-src_plt_acf_ccnf.cpp
echo x - afnix/files/patch-src_plt_lib_cclk.cxx
sed 's/^X//' >afnix/files/patch-src_plt_lib_cclk.cxx << 'END-of-afnix/files/patch-src_plt_lib_cclk.cxx'
X--- src/plt/lib/cclk.cxx.orig Wed Jan 12 06:05:00 2005
X+++ src/plt/lib/cclk.cxx Wed Feb 16 19:18:04 2005
X@@ -53,7 +53,8 @@
X s_tinfo* c_getlocal (const long tclk) {
X // extract time info
X struct tm* tval;
X- if ((tval = localtime (&tclk)) == NULL) return 0;
X+ time_t t = tclk;
X+ if (t != tclk || (tval = localtime (&t)) == NULL) return 0;
X // fill in the data structure
X s_tinfo* tinfo = new s_tinfo;
X tinfo->d_secs = tval->tm_sec;
X@@ -72,7 +73,8 @@
X s_tinfo* c_getutc (const long tclk) {
X // extract time info
X struct tm* tval;
X- if ((tval = gmtime (&tclk)) == NULL) return 0;
X+ time_t t = tclk;
X+ if (t != tclk || (tval = gmtime (&t)) == NULL) return 0;
X // fill in the data structure
X s_tinfo* tinfo = new s_tinfo;
X tinfo->d_secs = tval->tm_sec;
END-of-afnix/files/patch-src_plt_lib_cclk.cxx
echo x - afnix/files/patch-src_plt_lib_cdir.cxx
sed 's/^X//' >afnix/files/patch-src_plt_lib_cdir.cxx << 'END-of-afnix/files/patch-src_plt_lib_cdir.cxx'
X--- src/plt/lib/cdir.cxx.orig Wed Jan 12 06:05:00 2005
X+++ src/plt/lib/cdir.cxx Wed Feb 16 19:05:03 2005
X@@ -14,6 +14,7 @@
X // - copyright (c) 1999-2005 amaury darsch -
X // ---------------------------------------------------------------------------
X
X+#include <stdio.h>
X #include "cdir.hpp"
X #include "cstr.hpp"
X #include "cdir.hxx"
END-of-afnix/files/patch-src_plt_lib_cdir.cxx
echo x - afnix/files/patch-cnf_mak_afnix-defs.mak
sed 's/^X//' >afnix/files/patch-cnf_mak_afnix-defs.mak << 'END-of-afnix/files/patch-cnf_mak_afnix-defs.mak'
X--- cnf/mak/afnix-defs.mak.orig Wed Feb 16 19:35:18 2005
X+++ cnf/mak/afnix-defs.mak Wed Feb 16 19:37:55 2005
X@@ -58,10 +58,10 @@
X BINDIR = $(PREFIX)/bin
X LIBDIR = $(PREFIX)/lib
X SHARED = $(PREFIX)/share
X-HDRDIR = $(SHARED)/include/afnix
X+HDRDIR = $(PREFIX)/include/afnix
X DOCDIR = $(SHARED)/doc/afnix
X-MANDIR = $(SHARED)/man
X-ETCDIR = $(SHARED)/etc/afnix
X+MANDIR = $(PREFIX)/man
X+ETCDIR = $(SHARED)/doc/afnix
X
X # ----------------------------------------------------------------------------
X # - other shared commands and scripts -
END-of-afnix/files/patch-cnf_mak_afnix-defs.mak
echo x - afnix/pkg-plist
sed 's/^X//' >afnix/pkg-plist << 'END-of-afnix/pkg-plist'
Xbin/afnix
Xbin/axc
Xbin/axd
Xbin/axl
Xbin/axo
Xshare/doc/afnix/afnix-gud.el
Xshare/doc/afnix/afnix-mode.el
Xshare/doc/afnix/license.txt
Xshare/doc/afnix/what-long.txt
Xshare/doc/afnix/what-short.txt
X at dirrm share/doc/afnix
Xinclude/afnix/eng/Argument.hpp
Xinclude/afnix/eng/Builtin.hpp
Xinclude/afnix/eng/Class.hpp
Xinclude/afnix/eng/Closure.hpp
Xinclude/afnix/eng/Constant.hpp
Xinclude/afnix/eng/Engsid.hpp
Xinclude/afnix/eng/Enum.hpp
Xinclude/afnix/eng/Extracter.hpp
Xinclude/afnix/eng/Form.hpp
Xinclude/afnix/eng/Former.hpp
Xinclude/afnix/eng/Function.hpp
Xinclude/afnix/eng/Globalset.hpp
Xinclude/afnix/eng/Instance.hpp
Xinclude/afnix/eng/Interp.hpp
Xinclude/afnix/eng/Item.hpp
Xinclude/afnix/eng/Lexer.hpp
Xinclude/afnix/eng/Lexical.hpp
Xinclude/afnix/eng/Localset.hpp
Xinclude/afnix/eng/Meta.hpp
Xinclude/afnix/eng/Module.hpp
Xinclude/afnix/eng/Nameset.hpp
Xinclude/afnix/eng/Options.hpp
Xinclude/afnix/eng/Printer.hpp
Xinclude/afnix/eng/Promise.hpp
Xinclude/afnix/eng/Qualified.hpp
Xinclude/afnix/eng/Reader.hpp
Xinclude/afnix/eng/Reserved.hpp
Xinclude/afnix/eng/Resolver.hpp
Xinclude/afnix/eng/Return.hpp
Xinclude/afnix/eng/Symbol.hpp
Xinclude/afnix/eng/Token.hpp
Xinclude/afnix/net/Address.hpp
Xinclude/afnix/net/Datagram.hpp
Xinclude/afnix/net/Libanet.hpp
Xinclude/afnix/net/Mail.hpp
Xinclude/afnix/net/Multicast.hpp
Xinclude/afnix/net/Netcalls.hpp
Xinclude/afnix/net/Predanet.hpp
Xinclude/afnix/net/Socket.hpp
Xinclude/afnix/net/TcpClient.hpp
Xinclude/afnix/net/TcpServer.hpp
Xinclude/afnix/net/TcpSocket.hpp
Xinclude/afnix/net/UdpClient.hpp
Xinclude/afnix/net/UdpServer.hpp
Xinclude/afnix/net/UdpSocket.hpp
Xinclude/afnix/odc/Cell.hpp
Xinclude/afnix/odc/Collection.hpp
Xinclude/afnix/odc/Importer.hpp
Xinclude/afnix/odc/Libaodc.hpp
Xinclude/afnix/odc/Odccalls.hpp
Xinclude/afnix/odc/Odcsid.hpp
Xinclude/afnix/odc/Persist.hpp
Xinclude/afnix/odc/Predaodc.hpp
Xinclude/afnix/odc/Record.hpp
Xinclude/afnix/odc/Table.hpp
Xinclude/afnix/plt/cclk.hpp
Xinclude/afnix/plt/ccnf.hpp
Xinclude/afnix/plt/ccnv.hpp
Xinclude/afnix/plt/cdir.hpp
Xinclude/afnix/plt/cerr.hpp
Xinclude/afnix/plt/cmem.hpp
Xinclude/afnix/plt/cmth.hpp
Xinclude/afnix/plt/cnet.hpp
Xinclude/afnix/plt/cshl.hpp
Xinclude/afnix/plt/csio.hpp
Xinclude/afnix/plt/cstr.hpp
Xinclude/afnix/plt/csys.hpp
Xinclude/afnix/plt/cthr.hpp
Xinclude/afnix/plt/ctrm.hpp
Xinclude/afnix/sci/Digest.hpp
Xinclude/afnix/sci/Md5.hpp
Xinclude/afnix/sci/Sha1.hpp
Xinclude/afnix/sio/Directory.hpp
Xinclude/afnix/sio/Libasio.hpp
Xinclude/afnix/sio/Pathasio.hpp
Xinclude/afnix/sio/Predasio.hpp
Xinclude/afnix/sio/Selector.hpp
Xinclude/afnix/std/BitSet.hpp
Xinclude/afnix/std/Boolean.hpp
Xinclude/afnix/std/Buffer.hpp
Xinclude/afnix/std/Character.hpp
Xinclude/afnix/std/Cilo.hpp
Xinclude/afnix/std/Condvar.hpp
Xinclude/afnix/std/Cons.hpp
Xinclude/afnix/std/Cursor.hpp
Xinclude/afnix/std/Exception.hpp
Xinclude/afnix/std/Finalize.hpp
Xinclude/afnix/std/Graph.hpp
Xinclude/afnix/std/HashTable.hpp
Xinclude/afnix/std/Input.hpp
Xinclude/afnix/std/InputFile.hpp
Xinclude/afnix/std/InputMapped.hpp
Xinclude/afnix/std/InputString.hpp
Xinclude/afnix/std/InputTerm.hpp
Xinclude/afnix/std/Integer.hpp
Xinclude/afnix/std/Iterable.hpp
Xinclude/afnix/std/Iterator.hpp
Xinclude/afnix/std/Librarian.hpp
Xinclude/afnix/std/Library.hpp
Xinclude/afnix/std/List.hpp
Xinclude/afnix/std/Literal.hpp
Xinclude/afnix/std/Lockrw.hpp
Xinclude/afnix/std/Method.hpp
Xinclude/afnix/std/Monitor.hpp
Xinclude/afnix/std/Mutex.hpp
Xinclude/afnix/std/NameTable.hpp
Xinclude/afnix/std/Object.hpp
Xinclude/afnix/std/Output.hpp
Xinclude/afnix/std/OutputFile.hpp
Xinclude/afnix/std/OutputString.hpp
Xinclude/afnix/std/OutputTerm.hpp
Xinclude/afnix/std/PrintTable.hpp
Xinclude/afnix/std/Qarray.hpp
Xinclude/afnix/std/QuarkTable.hpp
Xinclude/afnix/std/Queue.hpp
Xinclude/afnix/std/Reactor.hpp
Xinclude/afnix/std/Real.hpp
Xinclude/afnix/std/Recycle.hpp
Xinclude/afnix/std/Regex.hpp
Xinclude/afnix/std/Relatif.hpp
Xinclude/afnix/std/Runnable.hpp
Xinclude/afnix/std/Serial.hpp
Xinclude/afnix/std/Sorter.hpp
Xinclude/afnix/std/Stack.hpp
Xinclude/afnix/std/String.hpp
Xinclude/afnix/std/Strvec.hpp
Xinclude/afnix/std/System.hpp
Xinclude/afnix/std/Terminal.hpp
Xinclude/afnix/std/Thread.hpp
Xinclude/afnix/std/Thrmap.hpp
Xinclude/afnix/std/Time.hpp
Xinclude/afnix/std/Vector.hpp
Xinclude/afnix/sys/Libasys.hpp
Xinclude/afnix/sys/Predasys.hpp
Xinclude/afnix/sys/Syscalls.hpp
Xinclude/afnix/txt/Hasher.hpp
Xinclude/afnix/txt/Lexeme.hpp
Xinclude/afnix/txt/Libatxt.hpp
Xinclude/afnix/txt/Literate.hpp
Xinclude/afnix/txt/Pattern.hpp
Xinclude/afnix/txt/Predatxt.hpp
Xinclude/afnix/txt/Scanner.hpp
Xinclude/afnix/txt/Sort.hpp
Xinclude/afnix/txt/Txtcalls.hpp
Xinclude/afnix/www/CgiQuery.hpp
Xinclude/afnix/www/Cookie.hpp
Xinclude/afnix/www/HtmlDiv.hpp
Xinclude/afnix/www/HtmlElement.hpp
Xinclude/afnix/www/HtmlPage.hpp
Xinclude/afnix/www/HtmlRef.hpp
Xinclude/afnix/www/HtmlTable.hpp
Xinclude/afnix/www/HtmlTag.hpp
Xinclude/afnix/www/Libawww.hpp
Xinclude/afnix/www/Predawww.hpp
Xinclude/afnix/www/Url.hpp
Xinclude/afnix/www/XHtmlPage.hpp
X at dirrm include/afnix/eng
X at dirrm include/afnix/net
X at dirrm include/afnix/odc
X at dirrm include/afnix/plt
X at dirrm include/afnix/sci
X at dirrm include/afnix/sio
X at dirrm include/afnix/std
X at dirrm include/afnix/sys
X at dirrm include/afnix/txt
X at dirrm include/afnix/www
X at dirrm include/afnix
Xlib/libafnix-eng.a
Xlib/libafnix-eng.so
Xlib/libafnix-eng.so.%%PORTVER%%
Xlib/libafnix-net.a
Xlib/libafnix-net.so
Xlib/libafnix-net.so.%%PORTVER%%
Xlib/libafnix-odc.a
Xlib/libafnix-odc.so
Xlib/libafnix-odc.so.%%PORTVER%%
Xlib/libafnix-plt.a
Xlib/libafnix-plt.so
Xlib/libafnix-plt.so.%%PORTVER%%
Xlib/libafnix-sci.a
Xlib/libafnix-sci.so
Xlib/libafnix-sci.so.%%PORTVER%%
Xlib/libafnix-sio.a
Xlib/libafnix-sio.so
Xlib/libafnix-sio.so.%%PORTVER%%
Xlib/libafnix-std.a
Xlib/libafnix-std.so
Xlib/libafnix-std.so.%%PORTVER%%
Xlib/libafnix-sys.a
Xlib/libafnix-sys.so
Xlib/libafnix-sys.so.%%PORTVER%%
Xlib/libafnix-txt.a
Xlib/libafnix-txt.so
Xlib/libafnix-txt.so.%%PORTVER%%
Xlib/libafnix-www.a
Xlib/libafnix-www.so
Xlib/libafnix-www.so.%%PORTVER%%
END-of-afnix/pkg-plist
echo x - afnix/pkg-descr
sed 's/^X//' >afnix/pkg-descr << 'END-of-afnix/pkg-descr'
XAfnix (formerly known as Aleph) is a multi-threaded functional programming
Xlanguage with dynamic symbol bindings that support the object oriented
Xparadigm. Afnix features a state of the art runtime engine that supports
Xboth 32 and 64 bits platforms. Afnix comes with a rich set of libraries
Xthat are designed to be platform independent.
X
XThe Afnix engine is written in C++ and provides runtime compatibility with
Xit. Such compatibility includes the ability to instantiate C++ classes,
Xuse virtual methods and raise or catch exceptions. A comprehensive API has
Xbeen designed to ease the integration of foreign libraries.
X
X - Builtin objects
X - Functional programming
X - Object oriented
X - Multi-threaded engine
X - condition objects.
X
XWWW: http://www.afnix.org/
END-of-afnix/pkg-descr
echo x - afnix/distinfo
sed 's/^X//' >afnix/distinfo << 'END-of-afnix/distinfo'
XMD5 (afnix-src-1-0-0.tgz) = 57260a0d02f64da0d3c6e23e041dcbbf
XSIZE (afnix-src-1-0-0.tgz) = 524526
END-of-afnix/distinfo
echo x - afnix/Makefile
sed 's/^X//' >afnix/Makefile << 'END-of-afnix/Makefile'
X# ex:ts=8
X# New ports collection makefile for: aleph
X# Date created: Mar 7, 2001
X# Whom: Ying-Chieh Liao <ijliao at FreeBSD.org>
X#
X# $FreeBSD: ports/lang/aleph/Makefile,v 1.15 2004/03/07 12:52:00 kris Exp $
X#
X
XPORTNAME= afnix
XPORTVERSION= 1.0.0
XCATEGORIES= lang
XMASTER_SITES= http://www.afnix.org/ftp/%SUBDIR%/
XMASTER_SITE_SUBDIR= ${PORTNAME}-${PORTVERSION:S,.,-,g}
XDISTNAME= ${PORTNAME}-src-${PORTVERSION:S,.,-,g}
XEXTRACT_SUFX= .tgz
X
XMAINTAINER= johans at stack.nl
XCOMMENT= A multi-threaded functional programming language
X
XUSE_GMAKE= yes
XINSTALLS_SHLIB= yes
X
XPLIST_SUB= PORTVER=${PORTVERSION:R}
X
XMAN1= afnix.1 axc.1 axd.1 axl.1
X
X.include <bsd.port.pre.mk>
X
Xdo-configure:
X @${WRKSRC}/cnf/bin/${PORTNAME}-setup -o
X @rm ${WRKSRC}/src/lib/txt/lib/Digest.[ch]pp
X
Xpost-install:
X @${STRIP_CMD} ${PREFIX}/bin/${PORTNAME}
X
X.include <bsd.port.post.mk>
END-of-afnix/Makefile
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list