openbsd-ports/x11/tk80/Makefile
2000-02-11 00:37:15 +00:00

31 lines
675 B
Makefile

# $OpenBSD: Makefile,v 1.18 2000/02/11 00:37:39 espie Exp $
# $FreeBSD: Makefile,v 1.7 1997/12/01 16:50:58 pst Exp $
DISTNAME= tk8.0.5
PKGNAME= tk-8.0.5
CATEGORIES= x11 tk80
MASTER_SITES= ${MASTER_SITE_TCLTK}
MASTER_SITE_SUBDIR= tcl8_0
NEED_VERSION= 1.191
MAINTAINER= niklas@openbsd.org
LIB_DEPENDS= tcl80.1.5:${PORTSDIR}/lang/tcl80
SEPARATE_BUILD= concurrent
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
CONFIGURE_ARGS+= --enable-static --with-tcl="${PREFIX}/lib/tcl8.0"
CONFIGURE_ENV= PORTSDIR=${PORTSDIR}
WRKDIST= ${WRKDIR}/${DISTNAME}/unix
post-install:
@${LDCONFIG} -m ${PREFIX}/lib
test: build
@cd ${WRKBUILD} && make test
.include <bsd.port.mk>