openbsd-ports/security/py-openssl/Makefile

41 lines
1.0 KiB
Makefile
Raw Normal View History

2011-11-04 04:42:25 -04:00
# $OpenBSD: Makefile,v 1.17 2011/11/04 08:43:32 jasper Exp $
COMMENT= Python interface to the OpenSSL library
MODPY_EGG_VERSION= 0.9
DISTNAME= pyOpenSSL-${MODPY_EGG_VERSION}
PKGNAME= py-openssl-${MODPY_EGG_VERSION}
2011-11-04 04:42:25 -04:00
REVISION= 3
CATEGORIES= security devel
HOMEPAGE= http://www.sourceforge.net/projects/pyopenssl/
MAINTAINER= Eric Faurot <eric@openbsd.org>
# LGPLv2.1
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2011-11-04 04:42:25 -04:00
WANTLIB= crypto ssl ${MODPY_WANTLIB}
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pyopenssl/}
2004-08-03 17:31:06 -04:00
MODULES= lang/python
2010-11-20 12:22:40 -05:00
REGRESS_DEPENDS=devel/py-twisted/core
EXAMPLESDIR= ${PREFIX}/share/examples/py-openssl
post-install:
${INSTALL_DATA_DIR} ${EXAMPLESDIR}/simple
${INSTALL_DATA} ${WRKSRC}/examples/README ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/*.py ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/simple/* ${EXAMPLESDIR}/simple
do-regress: install
${LOCALBASE}/bin/trial --temp-directory=${WRKBUILD} OpenSSL.test
.include <bsd.port.mk>