2002-02-11 15:20:24 +01:00
|
|
|
# ex:ts=8
|
|
|
|
# Ports collection makefile for: Python OpenSSL Wrappers
|
|
|
|
# Date created: Feb 10, 2002
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= pow
|
2003-11-21 00:29:11 +01:00
|
|
|
PORTVERSION= 0.7
|
2002-02-11 15:20:24 +01:00
|
|
|
CATEGORIES= security python
|
2009-08-22 02:35:32 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/POW/POW-${PORTVERSION}
|
2002-02-11 15:20:24 +01:00
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
DISTNAME= ${PORTNAME:U}-${PORTVERSION}
|
|
|
|
|
2008-02-21 22:20:01 +01:00
|
|
|
MAINTAINER= gahr@FreeBSD.org
|
2003-02-20 20:00:52 +01:00
|
|
|
COMMENT= Python OpenSSL Wrappers
|
2002-02-11 15:20:24 +01:00
|
|
|
|
|
|
|
USE_PYTHON= yes
|
2002-04-29 20:53:07 +02:00
|
|
|
USE_PYDISTUTILS= yes
|
2007-07-30 11:42:28 +02:00
|
|
|
PYDISTUTILS_PKGNAME= POW
|
2002-02-11 15:20:24 +01:00
|
|
|
USE_OPENSSL= yes
|
|
|
|
|
2003-11-21 00:29:11 +01:00
|
|
|
PORTDOCS= POW.pdf
|
2003-10-16 03:31:58 +02:00
|
|
|
|
2007-12-22 01:05:50 +01:00
|
|
|
post-patch:
|
|
|
|
${REINPLACE_CMD} -e 's|licence|license|' ${WRKSRC}/setup.py
|
2006-09-11 01:53:06 +02:00
|
|
|
|
2009-03-23 21:07:44 +01:00
|
|
|
do-build:
|
|
|
|
cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} build_ext -D NO_IDEA ${PYDISTUTILS_BUILD_TARGET}
|
|
|
|
|
2002-04-29 20:53:07 +02:00
|
|
|
post-install:
|
2003-11-21 00:29:11 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
2002-02-11 15:20:24 +01:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
2003-11-21 00:29:11 +01:00
|
|
|
.for i in ${PORTDOCS}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/docs/${i} ${DOCSDIR}
|
|
|
|
.endfor
|
2002-02-11 15:20:24 +01:00
|
|
|
.endif
|
|
|
|
|
2007-12-22 01:05:50 +01:00
|
|
|
.include <bsd.port.mk>
|