2013-09-21 00:55:24 +02:00
|
|
|
# Created by: ijliao
|
2002-02-11 15:54:44 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= openssl
|
2011-09-08 15:57:10 +02:00
|
|
|
PORTVERSION= 0.13
|
2002-02-11 15:54:44 +01:00
|
|
|
CATEGORIES= security python
|
2011-07-08 09:10:50 +02:00
|
|
|
MASTER_SITES= CHEESESHOP
|
2002-02-11 15:54:44 +01:00
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
DISTNAME= pyOpenSSL-${PORTVERSION}
|
|
|
|
|
2011-03-18 11:04:54 +01:00
|
|
|
MAINTAINER= sbz@FreeBSD.org
|
2003-02-25 07:25:35 +01:00
|
|
|
COMMENT= Python interface to the OpenSSL library
|
2002-02-11 15:54:44 +01:00
|
|
|
|
2012-01-09 16:41:08 +01:00
|
|
|
LICENSE= AL2
|
2011-09-08 15:57:10 +02:00
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
2011-07-08 09:10:50 +02:00
|
|
|
|
2002-02-11 15:54:44 +01:00
|
|
|
USE_PYTHON= yes
|
2002-09-18 17:13:45 +02:00
|
|
|
USE_PYTHON_PREFIX= yes
|
2002-04-29 20:53:07 +02:00
|
|
|
USE_PYDISTUTILS= yes
|
2007-07-30 11:42:28 +02:00
|
|
|
PYDISTUTILS_PKGNAME= pyOpenSSL
|
2002-02-11 15:54:44 +01:00
|
|
|
USE_OPENSSL= yes
|
|
|
|
|
2010-02-18 11:54:40 +01:00
|
|
|
EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
|
|
|
|
|
2013-09-21 00:55:24 +02:00
|
|
|
NO_STAGE= yes
|
2007-08-18 12:55:26 +02:00
|
|
|
pre-configure:
|
|
|
|
@${ECHO_CMD} "[build_ext]" >> ${WRKSRC}/setup.cfg
|
|
|
|
@${ECHO_CMD} "include-dirs = ${OPENSSLINC}" >> ${WRKSRC}/setup.cfg
|
|
|
|
@${ECHO_CMD} "library-dirs = ${OPENSSLLIB}" >> ${WRKSRC}/setup.cfg
|
|
|
|
|
2010-02-18 11:54:40 +01:00
|
|
|
.if !defined(NOPORTEXAMPLES)
|
|
|
|
post-install:
|
2010-11-04 09:14:40 +01:00
|
|
|
@${MKDIR} ${EXAMPLESDIR}
|
2010-02-18 11:54:40 +01:00
|
|
|
(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} \* ${EXAMPLESDIR})
|
|
|
|
.endif
|
|
|
|
|
2002-02-11 15:54:44 +01:00
|
|
|
.include <bsd.port.mk>
|