Changeset View
Changeset View
Standalone View
Standalone View
devel/py-funcparserlib/Makefile
| Show All 11 Lines | |||||
| COMMENT= Recursive descent parsing library based on functional combinators | COMMENT= Recursive descent parsing library based on functional combinators | ||||
| LICENSE= MIT | LICENSE= MIT | ||||
| USES= python | USES= python | ||||
| USE_PYTHON= distutils autoplist | USE_PYTHON= distutils autoplist | ||||
| PORTDOCS= README doc | PORTDOCS= README doc | ||||
| DOCSDIR= ${PREFIX}/share/doc/${UNIQUENAME} | DOCSDIR= ${PREFIX}/share/doc/${PKGBASE} | ||||
| OPTIONS_DEFINE= DOCS | OPTIONS_DEFINE= DOCS | ||||
| post-install: | post-install: | ||||
| @${RM} -f ${WRKSRC}/doc/Makefile | @${RM} -f ${WRKSRC}/doc/Makefile | ||||
| @${MKDIR} ${STAGEDIR}${DOCSDIR} | @${MKDIR} ${STAGEDIR}${DOCSDIR} | ||||
| cd ${INSTALL_WRKSRC} \ | cd ${INSTALL_WRKSRC} \ | ||||
| && ${FIND} ${PORTDOCS} -type d -exec ${MKDIR} ${STAGEDIR}${DOCSDIR}/\{} \; \ | && ${FIND} ${PORTDOCS} -type d -exec ${MKDIR} ${STAGEDIR}${DOCSDIR}/\{} \; \ | ||||
| && ${FIND} ${PORTDOCS} -type f -exec ${INSTALL_DATA} \{} ${STAGEDIR}${DOCSDIR}/\{} \; | && ${FIND} ${PORTDOCS} -type f -exec ${INSTALL_DATA} \{} ${STAGEDIR}${DOCSDIR}/\{} \; | ||||
| .include <bsd.port.mk> | .include <bsd.port.mk> | ||||