1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-06 11:41:52 +00:00
Pietro Cerutti 54881c2e7e lang/expect: install example scripts and manpages in the proper location
This commit changes the location of the example scripts and manpages. They are
now installed in the proper PREFIX/bin and PREFIX/man/man1 - so they are in
path and reachable by man(1) - and are renamed with an expect_ prefix to avoid
conflicts due to their common names.

A pkg-message has been added to notify users of this change. Portrevision has
been bumped.

PR:		232732 (based on)
Submitted by:	Walter Schwarzenfeld <w.schwarzenfeld@utanet.at>
Reported by:	Dennis Clarke <dclarke@blastwave.org>
2018-10-30 11:03:30 +00:00

33 lines
731 B
Makefile

# Created by: pst
# $FreeBSD$
PORTNAME= expect
PORTVERSION= 5.45.4
PORTREVISION= 1
PORTEPOCH= 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
LICENSE= PD
LICENSE_FILE= ${WRKSRC}/license.terms
USES= tcl:tea autoreconf
USE_LDCONFIG= yes
WRKSRC= ${WRKDIR}/${DISTNAME}
PLIST_SUB+= PORTVERSION=${PORTVERSION}
SUB_FILES+= pkg-message
SUB_LIST+= MANPREFIX=${MANPREFIX}
TEST_TARGET= test
post-install:
${LN} -sf expect${PORTVERSION}/libexpect${PORTVERSION}.so \
${STAGEDIR}${PREFIX}/lib/libexpect.so.1
${LN} -sf libexpect.so.1 ${STAGEDIR}${PREFIX}/lib/libexpect.so
.include <bsd.port.mk>