diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2012-02-01 19:02:05 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2012-02-01 19:02:05 +0000 |
commit | 01b0a2f7ed34e4cd7a7eb893189f889fdf4f1559 (patch) | |
tree | aea885de63c46325fa5ebdd7e9c3e080ebce2970 /security | |
parent | 588fa4acd9ed3d7ea3c2e115228e7bc285cf7588 (diff) | |
download | ports-01b0a2f7ed34e4cd7a7eb893189f889fdf4f1559.tar.gz ports-01b0a2f7ed34e4cd7a7eb893189f889fdf4f1559.zip |
- Pet portlint
- Cosmetic change
- Take maintainership
- Update WWW
Notes
Notes:
svn path=/head/; revision=290252
Diffstat (limited to 'security')
-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 |