summaryrefslogtreecommitdiff
path: root/sysutils/py-danzfs/Makefile
blob: 91e7c1b3e6e0e66c7a5f2fc4cf5447309a3e9dfe (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# New ports collection makefile for:	danzfs
# Date created:		26 May 2012
# Whom:			Daniel Knaggs	<knaggsy2000@gmail.com>
#
# $FreeBSD$
#

PORTNAME=	danzfs
PORTVERSION=	0.2.0
CATEGORIES=	sysutils python
MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	knaggsy2000@gmail.com
COMMENT=	Provides a Python API for interacting with ZFS without using libzfs

LICENSE=	BSD

USE_PYTHON=	yes
USE_PYDISTUTILS=yes
USE_XZ=	yes

WRKSRC=	${WRKDIR}/danzfs

EXAMPLESDIR=	${PREFIX}/share/examples/danzfs

post-install:
	@${MKDIR} ${EXAMPLESDIR}
	(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} \* ${EXAMPLESDIR})

.include <bsd.port.mk>