aboutsummaryrefslogtreecommitdiffstats
path: root/devel/py-kid/Makefile
blob: eabfda8a90235353e461c3a81d44c9bd849b3e52 (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
# New ports collection makefile for:    py-kid
# Date created:     2005-11-02
# Whom:         Choe, Cheng-Dae
#
# $FreeBSD$
#

PORTNAME=   kid
PORTVERSION=    0.8
CATEGORIES= devel python
MASTER_SITES=   http://lesscode.org/dist/kid/${PORTVERSION}/
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= whitekid@gmail.com
COMMENT=    A simple template language for XML based written in Python

RUN_DEPENDS=    ${PYTHON_SITELIBDIR}/elementtree/__init__.py:${PORTSDIR}/devel/py-elementtree
BUILD_DEPENDS=  ${PYTHON_SITELIBDIR}/elementtree/__init__.py:${PORTSDIR}/devel/py-elementtree

USE_PYTHON= yes
USE_PYDISTUTILS=yes

DOCSDIR=    ${PREFIX}/share/doc/py-${PORTNAME}
EXAMPLESDIR=    ${PREFIX}/share/examples/py-${PORTNAME}

PORTDOCS=   *

post-install:
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
    cd ${WRKSRC} ; ${CP} README HISTORY COPYING misc/* ${DOCSDIR}
    ${CP} -r ${WRKSRC}/doc/* ${DOCSDIR}

    ${MKDIR} ${EXAMPLESDIR}
    ${CP} -r ${WRKSRC}/examples/* ${EXAMPLESDIR}
.endif

.include <bsd.port.mk>