aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fonts/py-bdflib/Makefile
blob: 873dcc9d82897b1e86ce1fa03d83cbe3b17c63d8 (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
# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
# $FreeBSD$

PORTNAME=   bdflib
PORTVERSION=    1.0.0
CATEGORIES= x11-fonts python
MASTER_SITES=   CHEESESHOP/source/b/${PORTNAME}
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}
DISTNAME=   ${PORTNAME}-v${PORTVERSION}

MAINTAINER= python@FreeBSD.org
COMMENT=    Library for working with BDF font files

LICENSE=    GPLv3

USE_PYTHON= 2
USE_PYDISTUTILS=    yes

post-patch:
    @${REINPLACE_CMD} -e '/def/!s,guess_version(),"${PORTVERSION}",' \
        ${WRKSRC}/${PYSETUP}

.include <bsd.port.mk>