Comment: mature, quick and easy command line automation tool Description: Written in expect, it is designed to directly map an interactive terminal session into an automation script. expect-lite scripts use special character(s) at the beginning of each line to indicate the action. Basic expect-lite scripts can be created by simply cutting and pasting text from a terminal window into a script, and adding '>' '<' characters. No knowledge of expect is required! OK sthen@
42 lines
1.1 KiB
Makefile
42 lines
1.1 KiB
Makefile
# $OpenBSD: Makefile,v 1.1.1.1 2017/11/02 16:02:01 rpe Exp $
|
|
|
|
COMMENT = mature, quick and easy command line automation tool
|
|
|
|
DISTNAME = expect-lite_4.9.0
|
|
PKGNAME = ${DISTNAME:S/_/-/}
|
|
|
|
CATEGORIES = devel
|
|
|
|
HOMEPAGE = http://expect-lite.sourceforge.net/
|
|
|
|
MAINTAINER = Robert Peichaer <rpe@openbsd.org>
|
|
|
|
# BSD
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=expect-lite/}
|
|
|
|
BUILD_DEPENDS = ${RUN_DEPENDS}
|
|
RUN_DEPENDS = lang/expect \
|
|
shells/bash
|
|
|
|
NO_BUILD = Yes
|
|
NO_TEST = Yes
|
|
|
|
WRKSRC = ${WRKDIR}/expect-lite.proj
|
|
|
|
DOC_DIR = ${PREFIX}/share/doc/expect-lite/
|
|
EXAMPLES_DIR = ${PREFIX}/share/examples/expect-lite/
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/expect-lite ${PREFIX}/bin
|
|
${INSTALL_DATA_DIR} ${DOC_DIR} ${EXAMPLES_DIR}
|
|
${INSTALL_DATA} ${WRKSRC}/bashrc ${EXAMPLES_DIR}
|
|
cd ${WRKSRC}/examples && pax -rw . ${EXAMPLES_DIR}
|
|
${INSTALL_DATA} ${WRKSRC}/{COPYING,README} ${DOC_DIR}
|
|
cd ${WRKSRC}/Docs && pax -rw . ${DOC_DIR}
|
|
gzip -d ${WRKSRC}/man/expect-lite.1.gz
|
|
${INSTALL_MAN} ${WRKSRC}/man/expect-lite.1 ${PREFIX}/man/man1
|
|
|
|
.include <bsd.port.mk>
|