33 lines
701 B
Makefile
33 lines
701 B
Makefile
# $OpenBSD: Makefile,v 1.12 2004/06/26 07:38:11 xsa Exp $
|
|
|
|
NOT_FOR_ARCHS= ${NO_SHARED_ARCHS}
|
|
|
|
COMMENT= "OpenSSL Wrappers for Python"
|
|
|
|
VERSION= 0.6.1
|
|
DISTNAME= POW-${VERSION}
|
|
PKGNAME= py-sslwrapper-${VERSION}
|
|
CATEGORIES= security devel
|
|
|
|
HOMEPAGE= http://www.sourceforge.net/projects/pow/
|
|
|
|
MAINTAINER= Shell Hung <shell@openbsd.org>
|
|
|
|
# BSD
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pow/}
|
|
|
|
MODULES= python
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
pre-build:
|
|
@perl -pi -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/setup.py
|
|
@perl -pi -e 's,%%MODPY_VERSION%%,${MODPY_VERSION},g' ${WRKSRC}/POW.c
|
|
|
|
.include <bsd.port.mk>
|