mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-30 01:15:52 +00:00
b41b5a6563
Kid is a simple template language for XML based vocabularies written in Python. It was spawned as a result of a kinky love triangle between XSLT, TAL, and PHP. We believe many of the best features of these languages live on in Kid with much of the limitations and complexity stamped out. PR: ports/90909 Submitted by: "Choe, Cheng-Dae" <whitekid@gmail.com>
39 lines
966 B
Makefile
39 lines
966 B
Makefile
# 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>
|