9f2cacfabd
PR pkg/24748. While here, bl3ify and switch to Tcl 8.4. Bump PKGREVISION.
38 lines
1.2 KiB
Makefile
38 lines
1.2 KiB
Makefile
# $NetBSD: Makefile,v 1.5 2004/03/11 17:43:50 minskim Exp $
|
|
#
|
|
|
|
DISTNAME= ExpectPy-1.9b1
|
|
PKGNAME= ${PYPKGPREFIX}-expect-1.9b1
|
|
PKGREVISION= 1
|
|
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
|
|
|
|
USE_BUILDLINK3= yes
|
|
USE_LIBTOOL= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+= --with-python=${BUILDLINK_PREFIX.${PYPACKAGE}} \
|
|
--with-expect=${BUILDLINK_PREFIX.tcl-expect} \
|
|
--with-tcl --enable-shared
|
|
CONFIGURE_ENV+= PYTHON=${PYTHONBIN}
|
|
CONFIGURE_ENV+= PYTH_CONFIGDIR=${BUILDLINK_PREFIX.${PYPACKAGE}}/${PYLIB}/config
|
|
INSTALL_TARGET= installshared
|
|
PY_PATCHPLIST= yes
|
|
PLIST_SUBST+= PYLIB=${PYLIB} PYPKGPREFIX=${PYPKGPREFIX}
|
|
|
|
EXAMPLESDIR= ${PREFIX}/share/examples/${PYPKGPREFIX}-expect
|
|
EXAMPLESFILES= ask.py glob.py ping.py telnet.py xping.py
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${EXAMPLESDIR}
|
|
.for f in ${EXAMPLESFILES}
|
|
${INSTALL_DATA} ${WRKSRC}/examples/$f ${EXAMPLESDIR}
|
|
.endfor
|
|
|
|
.include "../../lang/tcl/buildlink3.mk"
|
|
.include "../../lang/tcl-expect/buildlink3.mk"
|
|
.include "../../lang/python/extension.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|