openbsd-ports/security/py-paramiko/Makefile
steven a54a814582 set MODPY_SETUPTOOLS=Yes, so it uses py-setuptools properly instead of
detecting it and failing installation.  bump PKGNAME.

help and ok djm@, ok xsa@
2006-10-27 06:05:00 +00:00

39 lines
943 B
Makefile

# $OpenBSD: Makefile,v 1.14 2006/10/27 06:05:00 steven 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>