d8df757324
* zap pthread from WANTLIB in tkdnd * get rid of expensive SUBST_VARS in pre-configure or whole pre-configure * get rid of tktreectrl PFRAG.shared * bump tkdnd and tktreectrl OK, landry@ who's eyes got burned ;)
45 lines
1.1 KiB
Makefile
45 lines
1.1 KiB
Makefile
# $OpenBSD: Makefile,v 1.4 2010/07/30 16:41:09 sebastia Exp $
|
|
|
|
SHARED_ONLY = Yes
|
|
|
|
COMMENT = tree widget extension for Tk
|
|
|
|
DISTNAME = tktreectrl-2.2.9
|
|
REVISION = 1
|
|
SHARED_LIBS = treectrl22 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
|
|
|
|
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=tktreectrl/}
|
|
|
|
WANTLIB += X11
|
|
|
|
MODULES = x11/tk
|
|
BUILD_DEPENDS = ${MODTK_BUILD_DEPENDS}
|
|
RUN_DEPENDS = ${MODTK_RUN_DEPENDS}
|
|
|
|
SEPARATE_BUILD = simple
|
|
CONFIGURE_STYLE = gnu
|
|
CONFIGURE_ENV = LIBtreectrl22_VERSION=${LIBtreectrl22_VERSION}
|
|
CONFIGURE_ARGS = ${CONFIGURE_SHARED} \
|
|
--with-tcl=${MODTCL_LIBDIR} \
|
|
--with-tk=${MODTK_LIBDIR} \
|
|
--datadir=${PREFIX}/share/examples
|
|
REGRESS_IS_INTERACTIVE = X11
|
|
REGRESS_TARGET = test
|
|
|
|
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>
|