# Created by: TAKATSU Tomonari # $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