1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/devel/py-kid/Makefile
Martin Wilke ef7d387d33 - Stage support
- convert to AUTOPLIST
- Bump PORTREV
2014-02-21 02:00:57 +00:00

32 lines
879 B
Makefile

# Created by: Choe, Cheng-Dae
# $FreeBSD$
PORTNAME= kid
PORTVERSION= 0.9.6
PORTREVISION= 2
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= A simple template language for XML based written in Python
USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_AUTOPLIST= yes
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
PORTDOCS= *
PORTEXAMPLES= *
post-install:
${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>