openbsd-ports/lang/otcl/Makefile
2010-10-24 20:58:58 +00:00

39 lines
902 B
Makefile

# $OpenBSD: Makefile,v 1.28 2010/10/24 21:24:04 ajacoutot Exp $
# $FreeBSD: ports/lang/otcl/Makefile,v 1.6 1999/11/28 18:31:28 steve Exp $
COMMENT= MIT Object Tcl
V= 1.13
DISTNAME= otcl-src-$V
PKGNAME= otcl-$V
REVISION= 1
SHARED_LIBS= otcl 1.0
CATEGORIES= lang
HOMEPAGE= http://otcl-tclcl.sourceforge.net/otcl/
# BSD-like
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= X11 Xext c m pthread-stubs tcl84 xcb tk84
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=otcl-tclcl/}
WRKDIST= ${WRKDIR}/otcl-$V
LIB_DEPENDS= :tk->=8.4,<8.5:x11/tk/8.4
CONFIGURE_STYLE= gnu dest
CONFIGURE_ARGS+=--includedir=${PREFIX}/include/tcl8.4/generic \
--with-tcl-ver=8.4 \
--with-tk-ver=8.4 \
--x-includes=${X11BASE}/include \
--x-libraries=${X11BASE}/lib
CONFIGURE_ENV= LIBotcl_VERSION=${LIBotcl_VERSION}
NO_REGRESS= Yes
.include <bsd.port.mk>