blob: fec2abc070d12a9c5dc2927354e040cd8ca76d36 (
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
|
# Created by: ijliao
# $FreeBSD$
PORTNAME= pow
PORTVERSION= 0.7
CATEGORIES= security python
MASTER_SITES= SF/${PORTNAME}/POW/POW-${PORTVERSION}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= ${PORTNAME:U}-${PORTVERSION}
MAINTAINER= gahr@FreeBSD.org
COMMENT= Python OpenSSL Wrappers
USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_PKGNAME= POW
USE_OPENSSL= yes
PORTDOCS= POW.pdf
NO_STAGE= yes
post-patch:
${REINPLACE_CMD} -e 's|licence|license|' ${WRKSRC}/setup.py
do-build:
cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} build_ext -D NO_IDEA ${PYDISTUTILS_BUILD_TARGET}
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for i in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/docs/${i} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>
|