summaryrefslogtreecommitdiff
path: root/devel/ply/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/ply/Makefile')
-rw-r--r--devel/ply/Makefile28
1 files changed, 28 insertions, 0 deletions
diff --git a/devel/ply/Makefile b/devel/ply/Makefile
new file mode 100644
index 00000000000..6a3a8745907
--- /dev/null
+++ b/devel/ply/Makefile
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/07/16 15:36:50 recht Exp $
+# FreeBSD Id: ports/devel/ply/Makefile,v 1.6 2004/01/12 23:41:26 pav Exp
+
+DISTNAME= ply-1.5
+CATEGORIES= devel
+MASTER_SITES= http://systems.cs.uchicago.edu/ply/
+
+MAINTAINER= tech-pkg@NetBSD.org
+HOMEPAGE= http://systems.cs.uchicago.edu/ply/
+COMMENT= Python Lex-Yacc
+
+NO_BUILDLINK= yes
+PYDISTUTILSPKG= yes
+
+PYTHON_VERSIONS_INCOMPATIBLE= 15 # 2.0 or greater
+
+DOCDIR= ${PREFIX}/share/doc/ply
+EGDIR= ${PREFIX}/share/examples/ply
+
+post-install:
+ ${INSTALL_DATA_DIR} ${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/ply.html ${DOCDIR}
+ ${INSTALL_DATA_DIR} /${EGDIR}
+ cd ${WRKSRC}/example && ${PAX} -rwppm * ${EGDIR}
+
+.include "../../lang/python/extension.mk"
+.include "../../mk/bsd.pkg.mk"