blob: c695e4308be2ac01dc08106fb39fdd44af6f63a0 (
plain) (
tree)
|
|
# Created by: TAKATSU Tomonari <tota@FreeBSD.org>
# $FreeBSD$
PORTNAME= funcparserlib
PORTVERSION= 0.3.6
PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= tota@FreeBSD.org
COMMENT= Recursive descent parsing library based on functional combinators
LICENSE= MIT
USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_AUTOPLIST= yes
PORTDOCS= README doc
DOCSDIR= ${PREFIX}/share/doc/${UNIQUENAME}
OPTIONS_DEFINE= DOCS
post-install:
@${RM} -f ${WRKSRC}/doc/Makefile
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${INSTALL_WRKSRC} \
&& ${FIND} ${PORTDOCS} -type d -exec ${MKDIR} ${STAGEDIR}${DOCSDIR}/\{} \; \
&& ${FIND} ${PORTDOCS} -type f -exec ${INSTALL_DATA} \{} ${STAGEDIR}${DOCSDIR}/\{} \;
.include <bsd.port.mk>
|