a9c49ef25a
"go ahead" deanna@
24 lines
708 B
Makefile
24 lines
708 B
Makefile
# $OpenBSD: tk.port.mk,v 1.2 2008/07/08 04:32:06 steven Exp $
|
|
|
|
CATEGORIES += x11/tk
|
|
|
|
MODTK_VERSION ?= 8.5
|
|
|
|
MODTK_BIN ?= ${LOCALBASE}/bin/wish${MODTK_VERSION}
|
|
MODTK_INCDIR ?= ${LOCALBASE}/include/tk${MODTK_VERSION}
|
|
MODTK_LIBDIR ?= ${LOCALBASE}/lib/tk${MODTK_VERSION}
|
|
MODTK_CONFIG ?= ${MODTK_LIBDIR}/tkConfig.sh
|
|
|
|
USE_X11 = Yes
|
|
|
|
SUBST_VARS += MODTK_VERSION MODTK_BIN
|
|
|
|
MODULES += lang/tcl
|
|
|
|
MODTK_BUILD_DEPENDS ?= :tk-${MODTK_VERSION}.*:x11/tk/${MODTK_VERSION} \
|
|
${MODTCL_BUILD_DEPENDS}
|
|
MODTK_RUN_DEPENDS ?= :tk-${MODTK_VERSION}.*:x11/tk/${MODTK_VERSION} \
|
|
${MODTCL_RUN_DEPENDS}
|
|
MODTK_LIB_DEPENDS ?= tk${MODTK_VERSION:S/.//}:tk-${MODTK_VERSION}.*:x11/tk/${MODTK_VERSION} \
|
|
${MODTCL_LIB_DEPENDS}
|