From dfcfff2394828c9282e5db0dc71c5f25bd56b58f Mon Sep 17 00:00:00 2001 From: Kirill Ponomarev Date: Fri, 29 Aug 2003 11:50:08 +0000 Subject: New port - devel/xxl XXL is a library for C and C++ that provides exception handling and asset management. Asset management is integrated with the exception handling mechanism such that assets may be automatically cleaned up if an exception is thrown, which allows for much simplified program structure with respect to error handling. By allowing XXL to track assets and using its exception handling features, the programmer no longer has to check error conditions on every function call and cleanup the assets on failure because XXL does the work. PR: 56128 Submitted by: Robert Schlotterbeck --- devel/xxl/Makefile | 21 +++++++++++++++++++++ devel/xxl/distinfo | 1 + devel/xxl/files/patch-ltmain.sh | 15 +++++++++++++++ devel/xxl/pkg-descr | 11 +++++++++++ devel/xxl/pkg-plist | 5 +++++ 5 files changed, 53 insertions(+) create mode 100644 devel/xxl/Makefile create mode 100644 devel/xxl/distinfo create mode 100644 devel/xxl/files/patch-ltmain.sh create mode 100644 devel/xxl/pkg-descr create mode 100644 devel/xxl/pkg-plist (limited to 'devel/xxl') diff --git a/devel/xxl/Makefile b/devel/xxl/Makefile new file mode 100644 index 000000000000..62c6544e0606 --- /dev/null +++ b/devel/xxl/Makefile @@ -0,0 +1,21 @@ +# Ports collection makefile for: xxl +# Date created: 28 Aug 2003 +# Whom: Robert Schlotterbeck +# +# $FreeBSD$ +# + +PORTNAME= xxl +PORTVERSION= 1.0.0 +CATEGORIES= devel +MASTER_SITES= http://www.zork.org/software/ + +MAINTAINER= robert@rs.tarrant.tx.us +COMMENT= C and C++ that provides exception handling and asset management + +GNU_CONFIGURE= yes +CONFIGURE_ARGS+= --without-threads +USE_LIBTOOL= yes +INSTALLS_SHLIB= yes + +.include diff --git a/devel/xxl/distinfo b/devel/xxl/distinfo new file mode 100644 index 000000000000..97a946803e8d --- /dev/null +++ b/devel/xxl/distinfo @@ -0,0 +1 @@ +MD5 (xxl-1.0.0.tar.gz) = 32e0764c5026f0c7491e739f4d570a5d diff --git a/devel/xxl/files/patch-ltmain.sh b/devel/xxl/files/patch-ltmain.sh new file mode 100644 index 000000000000..d95cb8218958 --- /dev/null +++ b/devel/xxl/files/patch-ltmain.sh @@ -0,0 +1,15 @@ +--- ltmain.sh.orig Fri Aug 29 13:31:36 2003 ++++ ltmain.sh Fri Aug 29 13:31:59 2003 +@@ -5425,10 +5425,12 @@ + fi + + # Install the pseudo-library for information purposes. ++ if /usr/bin/false ; then + name=`$echo "X$file" | $Xsed -e 's%^.*/%%'` + instname="$dir/$name"i + $show "$install_prog $instname $destdir/$name" + $run eval "$install_prog $instname $destdir/$name" || exit $? ++ fi + + # Maybe install the static library, too. + test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library" diff --git a/devel/xxl/pkg-descr b/devel/xxl/pkg-descr new file mode 100644 index 000000000000..0a14562e24d7 --- /dev/null +++ b/devel/xxl/pkg-descr @@ -0,0 +1,11 @@ +XXL is a library for C and C++ that provides exception handling and asset +management. Asset management is integrated with the exception handling +mechanism such that assets may be automatically cleaned up if an exception +is thrown, which allows for much simplified program structure with respect to +error handling. + +By allowing XXL to track assets and using its exception handling features, the +programmer no longer has to check error conditions on every function call and +cleanup the assets on failure because XXL does the work. + +WWW: http://www.zork.org/xxl/ diff --git a/devel/xxl/pkg-plist b/devel/xxl/pkg-plist new file mode 100644 index 000000000000..8f9d22464c15 --- /dev/null +++ b/devel/xxl/pkg-plist @@ -0,0 +1,5 @@ +@comment $FreeBSD$ +include/xxl.h +lib/libxxl.a +lib/libxxl.so +lib/libxxl.so.1 -- cgit v1.2.3