38 lines
1.1 KiB
Makefile
38 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.8 2011/02/26 22:09:26 gls Exp $
|
|
#
|
|
|
|
VERSION= 0.9.4
|
|
DISTNAME= Fabric-${VERSION}
|
|
PKGNAME= ${DISTNAME:S/F/f/}
|
|
CATEGORIES= sysutils net
|
|
MASTER_SITES= http://pypi.python.org/packages/source/F/Fabric/
|
|
|
|
MAINTAINER= gls@NetBSD.org
|
|
HOMEPAGE= http://fabfile.org/
|
|
COMMENT= Simple Pythonic remote deployment tool
|
|
LICENSE= 2-clause-bsd
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-paramiko>=1.7:../../security/py-paramiko
|
|
DEPENDS+= ${PYPKGPREFIX}-crypto>=2.1:../../security/py-crypto
|
|
|
|
USE_TOOLS+= pax
|
|
|
|
INSTALLATION_DIRS+= ${PKGMANDIR}/man1
|
|
INSTALLATION_DIRS+= share/doc/fabric
|
|
INSTALLATION_DIRS+= share/doc/fabric/api
|
|
INSTALLATION_DIRS+= share/doc/fabric/api/contrib
|
|
INSTALLATION_DIRS+= share/doc/fabric/api/core
|
|
INSTALLATION_DIRS+= share/doc/fabric/changes
|
|
INSTALLATION_DIRS+= share/doc/fabric/usage
|
|
|
|
post-install:
|
|
${INSTALL_MAN} files/fab.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/
|
|
|
|
cd ${WRKSRC}/docs && pax -wr -pma *.rst api/contrib/*.rst \
|
|
api/core/*.rst changes/* usage/* \
|
|
${DESTDIR}${PREFIX}/share/doc/fabric/.
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|