aboutsummaryrefslogtreecommitdiffstats
path: root/misc/py-progressbar/Makefile
blob: ce43f389763296c3add7e6d106332f96c859386b (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
# New ports collection makefile for:    progressbar
# Date created:     Wed Apr  7 13:54:04 UTC 2010
# Whom:         Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
#
# $FreeBSD$

PORTNAME=   progressbar
PORTVERSION=    2.2
CATEGORIES= misc python
MASTER_SITES=   CHEESESHOP
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= lioux@FreeBSD.org
COMMENT=    A text progressbar library for python

LICENSE=    LGPL21
LICENSE_FILE=   ${WRKSRC}/LICENSE

USE_PYTHON= yes
USE_PYDISTUTILS=    yes
INSTALLS_EGGINFO=   yes

PLIST_FILES=    \
        %%PYTHON_SITELIBDIR%%/progressbar.py \
        %%PYTHON_SITELIBDIR%%/progressbar.pyc \
        %%PYTHON_SITELIBDIR%%/progressbar.pyo

post-patch:
    @${REINPLACE_CMD} -E -e 's|/usr/bin/python|${PYTHON_CMD}|' \
        ${WRKSRC}/${PORTNAME}.py

.include <bsd.port.mk>