2006-06-08 10:27:16 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.7 2006/06/08 14:27:16 steven Exp $
|
2004-01-12 12:58:47 -05:00
|
|
|
|
|
|
|
COMMENT= "pure Python Expect-like module"
|
|
|
|
|
2006-06-08 10:27:16 -04:00
|
|
|
DISTNAME= pexpect-2.1
|
|
|
|
PKGNAME= py-${DISTNAME}
|
2004-01-12 12:58:47 -05:00
|
|
|
CATEGORIES= devel
|
|
|
|
|
|
|
|
HOMEPAGE= http://pexpect.sourceforge.net/
|
|
|
|
|
|
|
|
# Python
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pexpect/}
|
|
|
|
|
2004-08-03 10:27:33 -04:00
|
|
|
MODULES= lang/python
|
2004-01-12 12:58:47 -05:00
|
|
|
|
|
|
|
EXAMPLESDIR= ${PREFIX}/share/examples/py-pexpect
|
2006-06-08 10:27:16 -04:00
|
|
|
DOCDIR= ${PREFIX}/share/doc/py-pexpect
|
2004-01-12 12:58:47 -05:00
|
|
|
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${EXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/{ANSI,FSM,screen}.py ${EXAMPLESDIR}
|
2006-06-08 10:27:16 -04:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}
|
|
|
|
${INSTALL_DATA_DIR} ${DOCDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCDIR}
|
2004-01-12 12:58:47 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|