aboutsummaryrefslogtreecommitdiffstats
path: root/devel/py-cxx
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2007-02-10 20:58:34 +0800
committermiwi <miwi@FreeBSD.org>2007-02-10 20:58:34 +0800
commitc3360678e1dfcbb2ab8a99fdfde578d0a0b2256b (patch)
tree064cb0eea157214af397f500f889997aa815a629 /devel/py-cxx
parent61d6f8b8da607ffcaaa9cec45f9df5ffd3ba3383 (diff)
downloadfreebsd-ports-graphics-c3360678e1dfcbb2ab8a99fdfde578d0a0b2256b.tar.gz
freebsd-ports-graphics-c3360678e1dfcbb2ab8a99fdfde578d0a0b2256b.tar.zst
freebsd-ports-graphics-c3360678e1dfcbb2ab8a99fdfde578d0a0b2256b.zip
- Update to 5.4.0
PR: 108983 Submitted by: Li-Wen Hsu <lwhsu@lwhsu.org> (maintainer)
Diffstat (limited to 'devel/py-cxx')
-rw-r--r--devel/py-cxx/Makefile4
-rw-r--r--devel/py-cxx/distinfo6
-rw-r--r--devel/py-cxx/files/patch-setup.py12
-rw-r--r--devel/py-cxx/pkg-plist1
4 files changed, 19 insertions, 4 deletions
diff --git a/devel/py-cxx/Makefile b/devel/py-cxx/Makefile
index 1de469926ed..e82d82b54aa 100644
--- a/devel/py-cxx/Makefile
+++ b/devel/py-cxx/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= cxx
-PORTVERSION= 5.3.6
+PORTVERSION= 5.4.0
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -19,8 +19,10 @@ COMMENT= Make it easier to extend Python with C++
USE_PYTHON= yes
USE_PYDISTUTILS= yes
+USE_PYTHON_PREFIX= yes
.if !defined(NOPORTDOCS)
+DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
PORTDOCS= *
.endif
diff --git a/devel/py-cxx/distinfo b/devel/py-cxx/distinfo
index e22f7154a0b..663483328db 100644
--- a/devel/py-cxx/distinfo
+++ b/devel/py-cxx/distinfo
@@ -1,3 +1,3 @@
-MD5 (pycxx-5.3.6.tar.gz) = 6e732697aeba4a45440eff9ac63b9d1d
-SHA256 (pycxx-5.3.6.tar.gz) = f54f465ea939b87ed75a292f92a2cf05baf26fd96761aa7eac8ff8de29601f9b
-SIZE (pycxx-5.3.6.tar.gz) = 67545
+MD5 (pycxx-5.4.0.tar.gz) = b3193f60343f60a4fa82523f6307643d
+SHA256 (pycxx-5.4.0.tar.gz) = b712a1472e8ad360d25afe39b232a1c64fe3b7fe35678437fd0de656f1bf6429
+SIZE (pycxx-5.4.0.tar.gz) = 74847
diff --git a/devel/py-cxx/files/patch-setup.py b/devel/py-cxx/files/patch-setup.py
new file mode 100644
index 00000000000..8300ead0bf1
--- /dev/null
+++ b/devel/py-cxx/files/patch-setup.py
@@ -0,0 +1,12 @@
+--- setup.py.orig Fri Oct 22 03:55:55 2004
++++ setup.py Sat Feb 10 00:52:11 2007
+@@ -3,7 +3,8 @@
+ from distutils.command.install import install
+ from distutils.core import setup
+
+-headers = glob (os.path.join ("CXX","*.hxx"))
++headers = glob (os.path.join ("CXX", "*.hxx")) + \
++ glob (os.path.join ("CXX", "*.h"))
+ sources = glob (os.path.join ("Src", "*.cxx")) + \
+ glob (os.path.join ("Src", "*.c"))
+
diff --git a/devel/py-cxx/pkg-plist b/devel/py-cxx/pkg-plist
index 63de52f4a95..8d16d1261aa 100644
--- a/devel/py-cxx/pkg-plist
+++ b/devel/py-cxx/pkg-plist
@@ -4,6 +4,7 @@ include/%%PYTHON_VERSION%%/CXX/Extensions.hxx
include/%%PYTHON_VERSION%%/CXX/IndirectPythonInterface.hxx
include/%%PYTHON_VERSION%%/CXX/Objects.hxx
include/%%PYTHON_VERSION%%/CXX/Version.hxx
+include/%%PYTHON_VERSION%%/CXX/WrapPython.h
@dirrm include/%%PYTHON_VERSION%%/CXX
%%PYTHON_SITELIBDIR%%/CXX/__init__.py
%%PYTHON_SITELIBDIR%%/CXX/__init__.pyc