pkgsrc/lang/tcl-expect/Makefile
2016-03-06 14:13:36 +00:00

30 lines
723 B
Makefile

# $NetBSD: Makefile,v 1.32 2016/03/06 14:13:36 adam Exp $
.include "Makefile.common"
PKGNAME= tcl-expect-${EXPECT_VERSION}
PKGREVISION= 3
CATEGORIES= lang
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Extensions to Tcl to support scripting of interactive programs
LICENSE= public-domain
USE_GCC_RUNTIME= yes
CONFIGURE_ARGS+= --enable-shared
CONFIGURE_ARGS+= --without-x
INSTALL_MAKE_FLAGS+= INSTALL_ROOT=${DESTDIR:Q}
.include "../../mk/bsd.prefs.mk"
# XXX: libexpect should have .dylib suffix
.if ${OPSYS} == "Darwin"
post-build:
install_name_tool -id ${PREFIX}/lib/libexpect${EXPECT_SONUM}.so \
${WRKSRC}/libexpect${EXPECT_SONUM}.so
.endif
.include "../../lang/tcl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"