1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00
freebsd-ports/lang/expect/Makefile
Pietro Cerutti 414adba8b1 - Install expect scripts in DATADIR. This fixes the conflict with
astro/weather

Suggested by:	sunpoet
2014-02-28 11:52:17 +00:00

39 lines
924 B
Makefile

# Created by: pst
# $FreeBSD$
PORTNAME= expect
PORTVERSION= 5.45
PORTREVISION= 1
CATEGORIES= lang tcl tk
MASTER_SITES= SF/expect/Expect/${PORTVERSION}
DISTNAME= ${PORTNAME}${PORTVERSION}
MAINTAINER= tcltk@FreeBSD.org
COMMENT= Sophisticated scripter based on Tcl/Tk
LIBEXPECT_VER= ${PORTVERSION:S/.//}
WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION}
USES= tcl
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-shared \
--exec-prefix=${PREFIX} \
--datadir=${DATADIR} \
--with-tclconfig=${TCL_LIBDIR} \
--with-tclinclude=${TCL_INCLUDEDIR}
PLIST_SUB+= EXPECT_VER=${PORTVERSION} \
LIBEXPECT_VER=${LIBEXPECT_VER}
post-install:
${LN} -sf expect${PORTVERSION}/libexpect${LIBEXPECT_VER}.so \
${STAGEDIR}${PREFIX}/lib/libexpect.so.1
${LN} -sf libexpect.so.1 \
${STAGEDIR}${PREFIX}/lib/libexpect.so
regression-test: build
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} test
.include <bsd.port.mk>