2011-09-16 05:24:48 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.13 2011/09/16 09:24:55 espie Exp $
|
2004-01-12 12:58:47 -05:00
|
|
|
|
2007-09-15 22:52:56 -04:00
|
|
|
COMMENT= pure Python Expect-like module
|
2004-01-12 12:58:47 -05:00
|
|
|
|
2006-06-08 10:27:16 -04:00
|
|
|
DISTNAME= pexpect-2.1
|
2010-08-30 18:24:14 -04:00
|
|
|
PKGNAME= py-${DISTNAME}
|
2011-09-16 05:24:48 -04:00
|
|
|
REVISION = 4
|
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>
|