aboutsummaryrefslogtreecommitdiffstats
path: root/www/py-cssutils/Makefile
blob: d07b18ef1c87bdc58dd54f179fd8fb69260abc0e (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
# ex:ts=8
# Ports collection makefile for:    py-cssutils
# Date created:         Aug 26, 2004
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   cssutils
PORTVERSION=    0.8a6
PORTEPOCH=  1
CATEGORIES= www python
MASTER_SITES=   http://cthedot.de/cssutils/
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= ports@FreeBSD.org
COMMENT=    CSS Cascading Style Sheets library for Python

RUN_DEPENDS=    ${PYXML}

USE_ZIP=    yes
USE_PYTHON= 2.3+
USE_PYDISTUTILS=    yes

post-patch:
    @${REINPLACE_CMD} -e 's,\((.\)examples\(.\),\1${EXAMPLESDIR:S,${PREFIX}/,,}\2,' \
    -e '/.*LICENSE.*/d' ${WRKSRC}/setup.py
    @${FIND} ${WRKSRC} -type f | ${XARGS} ${CHMOD} 0644

.include <bsd.port.mk>