openbsd-ports/security/py-sslwrapper/Makefile

32 lines
686 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.16 2006/06/03 09:45:27 alek Exp $
NOT_FOR_ARCHS= ${NO_SHARED_ARCHS}
2002-09-13 05:00:00 -04:00
COMMENT= "OpenSSL Wrappers for Python"
2002-09-13 05:00:00 -04:00
VERSION= 0.6.1
DISTNAME= POW-${VERSION}
PKGNAME= py-sslwrapper-${VERSION}p0
2002-09-13 05:00:00 -04:00
CATEGORIES= security devel
2004-01-18 08:23:06 -05:00
HOMEPAGE= http://www.sourceforge.net/projects/pow/
2004-01-18 08:23:06 -05:00
# BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2004-12-27 08:28:33 -05:00
WANTLIB= crypto ssl
2002-09-13 05:00:00 -04:00
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pow/}
2004-08-03 17:31:06 -04:00
MODULES= lang/python
NO_REGRESS= Yes
2004-01-18 08:23:06 -05:00
pre-build:
@perl -pi -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/setup.py
2004-01-18 08:23:06 -05:00
@perl -pi -e 's,%%MODPY_VERSION%%,${MODPY_VERSION},g' ${WRKSRC}/POW.c
.include <bsd.port.mk>