Makefile 939 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. # $OpenBSD: Makefile,v 1.70 2016/03/12 12:10:34 naddy Exp $
  2. COMMENT = sophisticated scripter based on Tcl/Tk
  3. VERSION = 5.45
  4. DISTNAME = expect${VERSION}
  5. PKGNAME = expect-${VERSION}
  6. REVISION = 5
  7. SHARED_LIBS = expect545 0.0
  8. CATEGORIES = lang
  9. MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=expect/}
  10. HOMEPAGE = http://expect.nist.gov/
  11. MAINTAINER = Ryan Freeman <ryan@slipgate.org>
  12. # PD
  13. PERMIT_PACKAGE_CDROM = Yes
  14. WANTLIB += c util m ${MODTCL_WANTLIB}
  15. MODULES = lang/tcl
  16. LIB_DEPENDS += ${MODTCL_LIB_DEPENDS}
  17. SEPARATE_BUILD = Yes
  18. AUTOCONF_VERSION = 2.59
  19. CONFIGURE_STYLE = autoconf no-autoheader
  20. CONFIGURE_ARGS += --libdir=${MODTCL_TCLDIR} \
  21. --with-tclconfig="${MODTCL_LIBDIR}" \
  22. --with-tclinclude="${MODTCL_INCDIR}"
  23. CONFIGURE_ENV += SHLIB_VERSION=${LIBexpect545_VERSION} \
  24. CFLAGS="-I${MODTCL_INCDIR}"
  25. FAKE_FLAGS = PKG_DIR=expect
  26. TEST_TARGET = test
  27. post-configure:
  28. ${MODTCL_TCLSH_ADJ} ${WRKSRC}/example/*
  29. .include <bsd.port.mk>