blob: e8da725db59c8b1355e3e5c914457bb6b9e5a6a2 (
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# Created by: Nicola Vitale <nivit@email.it>
# $FreeBSD$
PORTNAME= Genshi
PORTVERSION= 0.7
PORTREVISION= 0
#PORTEPOCH= 0
CATEGORIES= textproc www python
MASTER_SITES= http://ftp.edgewall.com/pub/${PORTNAME:L}/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= nivit@FreeBSD.org
COMMENT= Python toolkit for stream-based generation of output for the web
LICENSE= BSD
OPTIONS_DEFINE= BABEL
OPTIONSFILE?= ${PORT_DBDIR}/py-${PORTNAME}/options
BABEL_DESC= I18n support through the Babel plugin
PYEASYINSTALL_ARCHDEP= yes
USE_PYTHON= yes
USE_PYDISTUTILS= easy_install
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
EXAMPLESDIR= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME}
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MBABEL}
RUN_DEPENDS+= ${PKGNAMEPREFIX}Babel>=0.9.6:${PORTSDIR}/devel/py-babel
.endif
post-install:
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
cd ${WRKSRC}/doc/ && ${COPYTREE_SHARE} . ${DOCSDIR}
.endif
.if ${PORT_OPTIONS:MEXAMPLES}
${MKDIR} ${EXAMPLESDIR}
cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${EXAMPLESDIR}
.endif
.include <bsd.port.mk>
|