# New ports collection makefile for: pyzfs # Date created: 11 July 2010 # Whom: Martin Matuska # # $FreeBSD$ # PORTNAME= zfs PORTVERSION= 1 PORTREVISION= 2 CATEGORIES= sysutils python MASTER_SITES= # none PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTFILES= # none MAINTAINER= mm@FreeBSD.org COMMENT= Python ZFS library LICENSE= CDDL USE_PYTHON= 2.4-2.7 MAKEFILE= ${FILESDIR}/Makefile.lib MAKE_ARGS+= PYTHON_INCLUDEDIR="${PYTHON_INCLUDEDIR}" \ PYTHON_LDFLAGS="-L${LOCALBASE}/lib -l${PYTHON_VERSION}" NO_WRKSUBDIR= yes SRCDIR?= /usr/src SUB_FILES+= compile.py SUB_LIST+= PYTHON_CMD=${PYTHON_CMD} PYFILES= __init__.py \ allow.py \ dataset.py \ groupspace.py\ unallow.py \ userspace.py \ util.py .if !exists(${SRCDIR}/cddl/contrib/opensolaris/lib/pyzfs) || \ !exists(${SRCDIR}/cddl/contrib/opensolaris/cmd/pyzfs) IGNORE= requires ZFS v15 or higher sources with pyzfs (in ${SRCDIR}) .endif .if exists(${SRCDIR}/cddl/contrib/opensolaris/lib/pyzfs/common/holds.py) && \ exists(${SRCDIR}/cddl/contrib/opensolaris/lib/pyzfs/common/table.py) PYFILES+= holds.py \ table.py PLIST_SUB+= V28="" EXTRA_PATCHES+= ${FILESDIR}/extra-patch-util.py \ ${FILESDIR}/extra-patch-userspace.py .else PLIST_SUB+= V28="@comment " .endif do-extract: @${MKDIR} ${WRKSRC} @${CP} ${SRCDIR}/cddl/contrib/opensolaris/cmd/pyzfs/pyzfs.py \ ${WRKSRC}/pyzfs.py .for PYFILE in ${PYFILES} @${CP} ${SRCDIR}/cddl/contrib/opensolaris/lib/pyzfs/common/${PYFILE} \ ${WRKSRC}/${PYFILE} .endfor post-patch: .for PYFILE in pyzfs.py ${PYFILES} @${REINPLACE_CMD} -e "s|#! /usr/bin/python.*|#! ${PYTHON_CMD}|g" \ ${WRKSRC}/${PYFILE} .endfor do-install: ${MKDIR} ${PYTHONPREFIX_SITELIBDIR}/zfs .for PYFILE in ${PYFILES} ${INSTALL_DATA} ${WRKSRC}/${PYFILE} \ ${PYTHONPREFIX_SITELIBDIR}/zfs .endfor ${INSTALL_DATA} ${WRKSRC}/ioctl.so ${PYTHONPREFIX_SITELIBDIR}/zfs @${PYTHON_CMD} ${WRKDIR}/compile.py ${PYTHONPREFIX_SITELIBDIR}/zfs @${PYTHON_CMD} -O ${WRKDIR}/compile.py ${PYTHONPREFIX_SITELIBDIR}/zfs ${MKDIR} /usr/lib/zfs ${INSTALL_SCRIPT} ${WRKSRC}/pyzfs.py /usr/lib/zfs @${PYTHON_CMD} ${WRKDIR}/compile.py /usr/lib/zfs @${PYTHON_CMD} -O ${WRKDIR}/compile.py /usr/lib/zfs .include ption> FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
blob: cd9f7f8635d7d3d9ae7da26a778069a35f70819d (plain) (blame)
1
2
3
MD5 (gq-1.3.4.tar.gz) = d7b1e183a3ecbd77aceea02d27f36b3e
SHA256 (gq-1.3.4.tar.gz) = 2ac77f3233ddaef718f89c9371ab5165af29cf9738ed46b6bea64b37e45d4b60
SIZE (gq-1.3.4.tar.gz) = 557801