blob: 3076b42fe1d9f8b5894e0a5d677b1ba65f8ff8e4 (
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
|
# Created by: Choe, Cheng-Dae
# $FreeBSD$
PORTNAME= kid
PORTVERSION= 0.9.6
PORTREVISION= 3
CATEGORIES= devel python
MASTER_SITES= http://www.kid-templating.org/dist/${PORTVERSION}/ \
http://nivi.interfree.it/distfiles/${PORTNAME}/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= nivit@FreeBSD.org
COMMENT= Simple template language for XML based written in Python
USES= python:2.7 shebangfix
USE_PYTHON= distutils autoplist
SHEBANG_FILES= misc/upgrade-0.6.py
OPTIONS_DEFINE= DOCS
NO_ARCH= yes
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
PORTDOCS= *
PORTEXAMPLES= *
post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} ; ${CP} README HISTORY COPYING misc/* ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>
|