summaryrefslogtreecommitdiff
path: root/devel/py-expect/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/py-expect/Makefile')
-rw-r--r--devel/py-expect/Makefile31
1 files changed, 31 insertions, 0 deletions
diff --git a/devel/py-expect/Makefile b/devel/py-expect/Makefile
new file mode 100644
index 00000000000..3988b7aa359
--- /dev/null
+++ b/devel/py-expect/Makefile
@@ -0,0 +1,31 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/03/21 23:36:07 jwise Exp $
+#
+
+DISTNAME= ExpectPy-1.9b1
+PKGNAME= py-expect-1.9b1
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pub/sourceforge/expectpy/}
+
+MAINTAINER= jwise@netbsd.org
+HOMEPAGE= http://www.sourceforge.net/projects/expectpy/
+COMMENT= Expect module for Python
+
+DEPENDS+= python>=2.0:../../lang/python
+DEPENDS+= tcl-expect>=5.32.1:../../lang/tcl-expect
+
+USE_LIBTOOL= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --with-python=${LOCALBASE} \
+ --with-expect=${LOCALBASE} \
+ --with-tcl --enable-shared
+INSTALL_TARGET= installshared
+
+pre-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/python/py-expect
+ ${INSTALL_DATA} ${WRKSRC}/examples/ask.py ${PREFIX}/share/examples/python/py-expect
+ ${INSTALL_DATA} ${WRKSRC}/examples/glob.py ${PREFIX}/share/examples/python/py-expect
+ ${INSTALL_DATA} ${WRKSRC}/examples/ping.py ${PREFIX}/share/examples/python/py-expect
+ ${INSTALL_DATA} ${WRKSRC}/examples/telnet.py ${PREFIX}/share/examples/python/py-expect
+ ${INSTALL_DATA} ${WRKSRC}/examples/xping.py ${PREFIX}/share/examples/python/py-expect
+
+.include "../../mk/bsd.pkg.mk"