summaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/py-cxx/Makefile34
-rw-r--r--devel/py-cxx/distinfo1
-rw-r--r--devel/py-cxx/pkg-comment1
-rw-r--r--devel/py-cxx/pkg-descr18
-rw-r--r--devel/py-cxx/pkg-plist17
6 files changed, 72 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 90d862a..1218cdc 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -446,6 +446,7 @@
SUBDIR += pth-devel
SUBDIR += ptl
SUBDIR += py-coro
+ SUBDIR += py-cxx
SUBDIR += py-functional
SUBDIR += py-game
SUBDIR += py-grouch
diff --git a/devel/py-cxx/Makefile b/devel/py-cxx/Makefile
new file mode 100644
index 0000000..ec5efd8
--- /dev/null
+++ b/devel/py-cxx/Makefile
@@ -0,0 +1,34 @@
+# ex:ts=8
+# New ports collection makefile for: PyCXX
+# Date created: Oct 7, 2001
+# Whom: ijliao
+#
+# $FreeBSD$
+#
+
+PORTNAME= cxx
+PORTVERSION= 5.1r1
+CATEGORIES= devel python
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= PyCXX-V${PORTVERSION:S/r/-rc/}
+
+MAINTAINER= ports@FreeBSD.org
+
+USE_PYTHON= yes
+SETUP_CMD= cd ${WRKSRC} && ${PYTHON_CMD} setup.py
+
+do-build:
+ @${SETUP_CMD} build
+
+do-install:
+ @${SETUP_CMD} install
+
+.if !defined(NOPORTDOCS)
+post-install:
+ @${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/Doc/PyCXX.html ${DOCSDIR}
+.endif
+
+.include <bsd.port.mk>
diff --git a/devel/py-cxx/distinfo b/devel/py-cxx/distinfo
new file mode 100644
index 0000000..97cb9b3
--- /dev/null
+++ b/devel/py-cxx/distinfo
@@ -0,0 +1 @@
+MD5 (PyCXX-V5.1-rc1.tar.gz) = 7d21f166381283c7758eb26f1b39a14c
diff --git a/devel/py-cxx/pkg-comment b/devel/py-cxx/pkg-comment
new file mode 100644
index 0000000..bde36ed
--- /dev/null
+++ b/devel/py-cxx/pkg-comment
@@ -0,0 +1 @@
+Make it easier to extend Python with C++
diff --git a/devel/py-cxx/pkg-descr b/devel/py-cxx/pkg-descr
new file mode 100644
index 0000000..c0de33b
--- /dev/null
+++ b/devel/py-cxx/pkg-descr
@@ -0,0 +1,18 @@
+PyCXX is a set of C++ facilities to make it easier to write Python
+extensions. The chief way in which PyCXX makes it easier to write Python
+extensions is that it greatly increases the probability that your program
+will not make a reference-counting error and will not have to continually
+check error returns from the Python C API.
+
+PyCXX integrates Python with C++ in these ways:
+ - C++ exception handling is relied on to detect errors and clean up. In
+ a complicated function this is often a tremendous problem when writing
+ in C. With PyCXX, we let the compiler keep track of what objects need
+ to be dereferenced when an error occurs.
+ - The Standard Template Library (STL) and its many algorithms plug and
+ play with Python containers such as lists and tuples.
+ - The optional CXX_Extensions facility allows you to replace the clumsy
+ C tables with objects and method calls that define your modules and
+ extension objects.
+
+WWW: http://cxx.sourceforge.net/
diff --git a/devel/py-cxx/pkg-plist b/devel/py-cxx/pkg-plist
new file mode 100644
index 0000000..23d6bbd
--- /dev/null
+++ b/devel/py-cxx/pkg-plist
@@ -0,0 +1,17 @@
+include/%%PYTHON_VERSION%%/CXX/Config.hxx
+include/%%PYTHON_VERSION%%/CXX/Exception.hxx
+include/%%PYTHON_VERSION%%/CXX/Extensions.hxx
+include/%%PYTHON_VERSION%%/CXX/IndirectPythonInterface.hxx
+include/%%PYTHON_VERSION%%/CXX/Objects.hxx
+@dirrm include/%%PYTHON_VERSION%%/CXX
+lib/%%PYTHON_VERSION%%/site-packages/CXX/__init__.py
+lib/%%PYTHON_VERSION%%/site-packages/CXX/__init__.pyc
+@dirrm lib/%%PYTHON_VERSION%%/site-packages/CXX
+share/%%PYTHON_VERSION%%/CXX/IndirectPythonInterface.cxx
+share/%%PYTHON_VERSION%%/CXX/cxx_extensions.cxx
+share/%%PYTHON_VERSION%%/CXX/cxxextensions.c
+share/%%PYTHON_VERSION%%/CXX/cxxsupport.cxx
+@dirrm share/%%PYTHON_VERSION%%/CXX
+@dirrm share/%%PYTHON_VERSION%%
+%%PORTDOCS%%share/doc/cxx/PyCXX.html
+%%PORTDOCS%%@dirrm share/doc/cxx
OpenPOWER on IntegriCloud