dc8df28e97
Version 3.4 --------------------- 02/17/11: beazley Minor patch to make cpp.py compatible with Python 3. Note: This is an experimental file not currently used by the rest of PLY. 02/17/11: beazley Fixed setup.py trove classifiers to properly list PLY as Python 3 compatible. 01/02/11: beazley Migration of repository to github.
30 lines
786 B
Makefile
30 lines
786 B
Makefile
# $NetBSD: Makefile,v 1.17 2013/09/05 20:29:48 wiz Exp $
|
|
|
|
DISTNAME= ply-3.4
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= http://www.dabeaz.com/ply/
|
|
|
|
MAINTAINER= nonaka@NetBSD.org
|
|
HOMEPAGE= http://www.dabeaz.com/ply/
|
|
COMMENT= Python Lex-Yacc
|
|
LICENSE= modified-bsd
|
|
|
|
USE_LANGUAGES= # none
|
|
USE_TOOLS+= pax
|
|
|
|
DOCDIR= ${PREFIX}/share/doc/ply
|
|
EGDIR= ${PREFIX}/share/examples/ply
|
|
INSTALLATION_DIRS= ${DOCDIR} ${EGDIR}
|
|
|
|
do-test:
|
|
.for filtst in testlex.py testyacc.py
|
|
${RUN} cd ${WRKSRC}; ${SETENV} ${TEST_ENV} ${PYTHONBIN} test/$${filtst}
|
|
.endfor
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${DOCDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/doc/ply.html ${DESTDIR}${DOCDIR}
|
|
cd ${WRKSRC}/example && pax -rwppm * ${DESTDIR}${EGDIR}
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|