diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2012-02-02 03:02:05 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2012-02-02 03:02:05 +0800 |
commit | cfe51a173ec3f18ac8bf89ca1ac7f74fd87d66c5 (patch) | |
tree | 61b301703feb4f1bd848ac7dfcba39ca1263805f | |
parent | 895d3e0f05698ad55c33c5bacb0f3e35ea615853 (diff) | |
download | freebsd-ports-gnome-cfe51a173ec3f18ac8bf89ca1ac7f74fd87d66c5.tar.gz freebsd-ports-gnome-cfe51a173ec3f18ac8bf89ca1ac7f74fd87d66c5.tar.zst freebsd-ports-gnome-cfe51a173ec3f18ac8bf89ca1ac7f74fd87d66c5.zip |
- Pet portlint
- Cosmetic change
- Take maintainership
- Update WWW
-rw-r--r-- | security/py-m2crypto/Makefile | 18 | ||||
-rw-r--r-- | security/py-m2crypto/files/patch-SWIG::Makefile | 15 | ||||
-rw-r--r-- | security/py-m2crypto/pkg-descr | 2 |
3 files changed, 10 insertions, 25 deletions
diff --git a/security/py-m2crypto/Makefile b/security/py-m2crypto/Makefile index 28fae7c7e25c..c97e0090bf5f 100644 --- a/security/py-m2crypto/Makefile +++ b/security/py-m2crypto/Makefile @@ -13,22 +13,22 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= M2Crypto-${PORTVERSION} DIST_SUBDIR= python -MAINTAINER= ports@FreeBSD.org +MAINTAINER= sunpoet@FreeBSD.org COMMENT= Crypto and SSL toolkit for Python BUILD_DEPENDS= swig1.3:${PORTSDIR}/devel/swig13 -USE_PYTHON= 2.5+ USE_OPENSSL= yes +USE_PYTHON= 2.5+ USE_PYDISTUTILS= easy_install -PYEASYINSTALL_ARCHDEP= yes -PYDISTUTILS_PKGNAME= M2Crypto - -.include <bsd.port.pre.mk> - PYDISTUTILS_BUILDARGS= build_ext --openssl="${OPENSSLBASE}" +PYDISTUTILS_PKGNAME= M2Crypto +PYEASYINSTALL_ARCHDEP= yes post-patch: - @${REINPLACE_CMD} "s|%%PYTHON_INCLUDEDIR%%|${PYTHON_INCLUDEDIR}|g" ${WRKSRC}/SWIG/Makefile + @${REINPLACE_CMD} \ + -e 's|/usr/local/include/python$$(PYVER)|${PYTHON_INCLUDEDIR}|g' \ + -e 's|/usr/local/lib/python$$(PYVER)|${PYTHON_INCLUDEDIR}|g' \ + ${WRKSRC}/SWIG/Makefile -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/security/py-m2crypto/files/patch-SWIG::Makefile b/security/py-m2crypto/files/patch-SWIG::Makefile deleted file mode 100644 index 5c316a783da3..000000000000 --- a/security/py-m2crypto/files/patch-SWIG::Makefile +++ /dev/null @@ -1,15 +0,0 @@ ---- SWIG/Makefile.orig Mon Sep 15 13:34:31 2003 -+++ SWIG/Makefile Fri Mar 18 20:32:40 2005 -@@ -8,9 +8,9 @@ - #else - PYVER = 2.3 - #endif --PYINCLUDE = -DHAVE_CONFIG_H -I/usr/local/include/python$(PYVER) \ -- -I/usr/local/lib/python$(PYVER)/config --PYLIB = /usr/local/lib/python$(PYVER)/config -+PYINCLUDE = -DHAVE_CONFIG_H -I%%PYTHON_INCLUDEDIR%% \ -+ -I%%PYTHON_INCLUDEDIR%%/config -+PYLIB = %%PYTHON_INCLUDEDIR%%/config - - all: _m2crypto - diff --git a/security/py-m2crypto/pkg-descr b/security/py-m2crypto/pkg-descr index f4f12aa44fc3..b337839c13b5 100644 --- a/security/py-m2crypto/pkg-descr +++ b/security/py-m2crypto/pkg-descr @@ -5,4 +5,4 @@ httplib, urllib, and xmlrpclib; unforgeable HMAC'ing AuthCookies for web session management; FTP/TLS client and server; S/MIME; ZServerSSL: A HTTPS server for Zope and ZSmime: An S/MIME messenger for Zope. -WWW: http://wiki.osafoundation.org/bin/view/Projects/MeTooCrypto +WWW: http://chandlerproject.org/Projects/MeTooCrypto |