blob: e4f7d8d548dc6f59b37602da9a7d24d4551e3f10 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# ex:ts=8
# Ports collection makefile for: py-openssl
# Date created: Feb 10, 2002
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= openssl
PORTVERSION= 0.10
CATEGORIES= security python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= pyOpenSSL-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Python interface to the OpenSSL library
USE_PYTHON= yes
USE_PYTHON_PREFIX= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_PKGNAME= pyOpenSSL
USE_OPENSSL= yes
EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
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
.if !defined(NOPORTEXAMPLES)
post-install:
${MKDIR} ${EXAMPLESDIR}
(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} \* ${EXAMPLESDIR})
.endif
.include <bsd.port.mk>
|