aboutsummaryrefslogtreecommitdiffstats
path: root/converters/py-zfec/Makefile
blob: 3ea18818b701c7091b13c415202249d9637de45c (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
32
33
34
35
36
37
38
# New ports collection makefile for:    py-zfec
# Date created:     2 March 2012
# Whom:         Kevin Lo <kevlo@FreeBSD.org>
#
# $FreeBSD$

PORTNAME=   zfec
PORTVERSION=    1.4.22
CATEGORIES= converters python
MASTER_SITES=   CHEESESHOP
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= kevlo@FreeBSD.org
COMMENT=    A fast erasure codec

LICENSE=    GPLv2
LICENSE_FILE=   ${WRKSRC}/COPYING.GPL

BUILD_DEPENDS=  darcsver:${PORTSDIR}/devel/py-darcsver \
        unsort:${PORTSDIR}/devel/py-pyutil
RUN_DEPENDS:=   ${BUILD_DEPENDS}

USE_PYTHON= yes
USE_PYDISTUTILS=    easy_install
PYDISTUTILS_NOEGGINFO=  yes
PYEASYINSTALL_ARCHDEP=  yes

DOCSDIR=    ${PREFIX}/share/doc/py-${PORTNAME}

post-install:
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
.for DOC in COPYING.GPL COPYING.TGPPL.html README.rst TODO changelog
    ${INSTALL_DATA} ${WRKSRC}/${DOC} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>