openbsd-ports/x11/tktreectrl/Makefile
sebastia f26b31718c Update to new Tcl layout, Makefile cleanups.
While there, update to version 2.3

OK landry@, stu@
2011-01-05 17:57:00 +00:00

49 lines
1.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.8 2011/01/05 17:57:00 sebastia Exp $
SHARED_ONLY = Yes
COMMENT = tree widget extension for Tk
DISTNAME = tktreectrl-2.3b1
SHARED_LIBS = treectrl23 0.0
CATEGORIES = x11
HOMEPAGE = http://tktreectrl.sourceforge.net/
MAINTAINER = Sebastian Reitenbach <sebastia@openbsd.org>
# BSD
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
WANTLIB += X11
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=tktreectrl/}
MODULES = x11/tk
BUILD_DEPENDS = ${MODTK_BUILD_DEPENDS}
RUN_DEPENDS = ${MODTK_RUN_DEPENDS}
FAKE_FLAGS = PKG_DIR=tktreectrl \
INSTALL_PROGRAM='${INSTALL_DATA}'
SEPARATE_BUILD = concurrent
USE_GROFF = Yes
CONFIGURE_STYLE = gnu
CONFIGURE_ARGS += ${CONFIGURE_SHARED} \
--libdir=${MODTCL_TCLDIR} \
--with-tcl=${MODTCL_LIBDIR} \
--with-tk=${MODTK_LIBDIR} \
--datadir=${PREFIX}/share/examples \
--docdir=${PREFIX}/share/doc/tktreectrl \
SHLIB_VERSION=${LIBtreectrl23_VERSION}
REGRESS_IS_INTERACTIVE =X11
REGRESS_TARGET = test
WRKDIST = ${WRKDIR}/tktreectrl-2.3
pre-configure:
@${MODTCL_TCLSH_ADJ} ${WRKSRC}/demos/demo.tcl
mv "${WRKSRC}/doc/What's New in TkTreeCtrl.html" ${WRKSRC}/doc/Whats_New_in_TkTreeCtrl.html
.include <bsd.port.mk>