2001-07-31 05:56:58 -04:00
|
|
|
# ex:ts=8
|
|
|
|
# New ports collection makefile for: ply
|
|
|
|
# Date created: Jul 31, 2001
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= ply
|
2001-12-27 08:52:33 -05:00
|
|
|
PORTVERSION= 1.1
|
2001-07-31 05:56:58 -04:00
|
|
|
CATEGORIES= devel python
|
|
|
|
MASTER_SITES= http://systems.cs.uchicago.edu/ply/
|
|
|
|
|
2001-12-27 08:52:33 -05:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2001-07-31 05:56:58 -04:00
|
|
|
|
|
|
|
USE_PYTHON= yes
|
|
|
|
NO_BUILD= yes
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/lex.py ${PYTHON_SITELIBDIR}
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/yacc.py ${PYTHON_SITELIBDIR}
|
|
|
|
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
post-install:
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/ply.html ${DOCSDIR}
|
2001-12-27 08:52:33 -05:00
|
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
|
|
${CP} -R ${WRKSRC}/example/ ${EXAMPLESDIR}
|
2001-07-31 05:56:58 -04:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|