Makefile 833 B

12345678910111213141516171819202122232425262728293031323334353637
  1. # $OpenBSD: Makefile,v 1.35 2015/03/16 18:07:49 naddy Exp $
  2. COMMENT= MIT Object Tcl
  3. V= 1.14
  4. DISTNAME= otcl-src-$V
  5. PKGNAME= otcl-$V
  6. SHARED_LIBS= otcl 2.0
  7. CATEGORIES= lang
  8. MAINTAINER = Stuart Cassoff <stwo@users.sourceforge.net>
  9. REVISION= 0
  10. HOMEPAGE= http://otcl-tclcl.sourceforge.net/otcl/
  11. # BSD-like
  12. PERMIT_PACKAGE_CDROM= Yes
  13. MODULES += x11/tk
  14. WANTLIB= X11 Xext c m ${MODTK_WANTLIB}
  15. LIB_DEPENDS = ${MODTK_LIB_DEPENDS}
  16. MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=otcl-tclcl/}
  17. WRKDIST= ${WRKDIR}/otcl-$V
  18. CONFIGURE_STYLE= gnu dest
  19. CONFIGURE_ARGS+= --x-includes=${X11BASE}/include \
  20. --with-tcl=${LOCALBASE} \
  21. --with-tk=${LOCALBASE} \
  22. --with-tcl-ver=${MODTCL_VERSION} \
  23. --with-tk-ver=${MODTCL_VERSION} \
  24. --x-libraries=${X11BASE}/lib
  25. CONFIGURE_ENV= LIBotcl_VERSION=${LIBotcl_VERSION} \
  26. NO_TEST= Yes
  27. .include <bsd.port.mk>