6becda8909
- Add LICENSE - Convert to new options framework - Do not build zipped egg - Add PyPI as primary WWW - Reformat pkg-descr - Take maintainership Changes: https://bitbucket.org/cthedot/cssutils/src/default/CHANGELOG.txt
33 lines
618 B
Makefile
33 lines
618 B
Makefile
# Created by: ijliao
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= cssutils
|
|
PORTVERSION= 0.9.10
|
|
PORTEPOCH= 1
|
|
CATEGORIES= www python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
COMMENT= CSS Cascading Style Sheets library for Python
|
|
|
|
LICENSE= LGPL3
|
|
|
|
OPTIONS_DEFINE= EXAMPLES
|
|
|
|
NO_STAGE= yes
|
|
USE_ZIP= yes
|
|
USE_PYTHON= yes
|
|
USE_PYDISTUTILS=easy_install
|
|
|
|
EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
post-install:
|
|
.if ${PORT_OPTIONS:MEXAMPLES}
|
|
${MKDIR} ${EXAMPLESDIR}/
|
|
${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}/
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|