mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
8d097a0327
PR: ports/61272 Submitted by: Vincent Tantardini <vinc@FreeBSD-fr.org>
34 lines
699 B
Makefile
34 lines
699 B
Makefile
# ex:ts=8
|
|
# New ports collection makefile for: ply
|
|
# Date created: Jul 31, 2001
|
|
# Whom: ijliao
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= ply
|
|
PORTVERSION= 1.3.1
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= http://systems.cs.uchicago.edu/ply/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Python Lex-Yacc
|
|
|
|
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}/README ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/doc/ply.html ${DOCSDIR}
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
${CP} -R ${WRKSRC}/example/ ${EXAMPLESDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|