aboutsummaryrefslogtreecommitdiffstats
path: root/www/py-qpy/Makefile
blob: d767083ba7c87cc0c16de1d0607b45878be4cf24 (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
# Created by: Dryice Liu <dryice@dryice.name>
# $FreeBSD$

PORTNAME=   qpy
PORTVERSION=    1.8
CATEGORIES= www python
MASTER_SITES=   http://www.mems-exchange.org/software/qpy/ \
        LOCAL/sunpoet
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= sunpoet@FreeBSD.org
COMMENT=    Generating safely-quoted html text from python code

OPTIONS_DEFINE= DOCS

MAKE_ENV=   USE_DISTUTILS=yes
USE_PYTHON= 2.5+
USE_PYDISTUTILS=    yes

.include <bsd.port.options.mk>

post-install:
.if ${PORT_OPTIONS:MDOCS}
    ${MKDIR} ${DOCSDIR}/
    cd ${WRKSRC}/ && ${INSTALL_DATA} CHANGES.txt LICENSE.txt README.txt ${DOCSDIR}/
.endif

.include <bsd.port.mk>