27 lines
740 B
Makefile
27 lines
740 B
Makefile
# $NetBSD: Makefile,v 1.10 2014/04/11 18:10:11 wiz Exp $
|
|
|
|
DISTNAME= cssutils-1.0
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
CATEGORIES= textproc python
|
|
MASTER_SITES= http://pypi.python.org/packages/source/c/cssutils/
|
|
EXTRACT_SUFX= .zip
|
|
|
|
MAINTAINER= rhialto@falu.nl
|
|
HOMEPAGE= http://cthedot.de/cssutils/
|
|
COMMENT= Cascading Style Sheets parser and library for Python
|
|
LICENSE= gnu-lgpl-v3
|
|
|
|
USE_LANGUAGES= #none
|
|
|
|
REPLACE_INTERPRETER+= python
|
|
REPLACE.python.old= /usr/bin/env python
|
|
REPLACE.python.new= ${PYTHONBIN}
|
|
REPLACE_FILES.python= src/cssutils/*.py
|
|
REPLACE_FILES.python+= src/cssutils/scripts/*.py
|
|
|
|
# all files are group/others writable.
|
|
post-extract:
|
|
chmod -R go-w ${WRKSRC}
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|