openbsd-ports/security/py-paramiko/Makefile
2007-09-15 23:29:57 +00:00

39 lines
942 B
Makefile

# $OpenBSD: Makefile,v 1.15 2007/09/15 23:30:00 merdely Exp $
COMMENT= Python module that implements the SSH2 protocol
DISTNAME= paramiko-1.6.2
PKGNAME= py-${DISTNAME}p0
CATEGORIES= security
HOMEPAGE= http://www.lag.net/paramiko/
# LGPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${HOMEPAGE}download/
MODULES= lang/python
MODPY_SETUPTOOLS=Yes
RUN_DEPENDS= ::security/py-crypto
NO_REGRESS= Yes
DOCSDIR= ${PREFIX}/share/doc/py-paramiko
EXAMPLESDIR= ${PREFIX}/share/examples/py-paramiko
post-install:
${INSTALL_DATA_DIR} ${DOCSDIR}/{private,public}
${INSTALL_DATA} ${WRKSRC}/docs/{index.html,epydoc.css} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/docs/private/* ${DOCSDIR}/private
${INSTALL_DATA} ${WRKSRC}/docs/public/* ${DOCSDIR}/public
${INSTALL_DATA_DIR} ${EXAMPLESDIR}/demos
${INSTALL_DATA} ${WRKSRC}/demos/* ${EXAMPLESDIR}/demos
.include <bsd.port.mk>