openbsd-ports/x11/tk80/Makefile
marc 30be626929 needs version 1.64 (or later) of bsd.port.mk
to build/install correctly; PLIST.noshared
1999-02-21 04:26:09 +00:00

31 lines
615 B
Makefile

# $OpenBSD: Makefile,v 1.7 1999/02/21 04:26:17 marc Exp $
# $FreeBSD: Makefile,v 1.7 1997/12/01 16:50:58 pst Exp $
#
DISTNAME= tk8.0.4
PKGNAME= tk-8.0.4
CATEGORIES= x11 tk80
NEED_VERSION= 1.64
MAINTAINER= niklas@openbsd.org
MASTER_SITES= ftp://ftp.scriptics.com/pub/tcl/tcl8_0/
LIB_DEPENDS= tcl80.1.4:${PORTSDIR}/lang/tcl80
WRKSRC= ${WRKDIR}/tk8.0.4/unix
GNU_CONFIGURE= yes
.if !defined(NO_SHARED_LIBS)
CONFIGURE_ARGS= --enable-shared
.endif
CONFIGURE_ENV= PORTSDIR=${PORTSDIR} PATH=${PATH}:${X11BASE}/bin
post-install:
${LDCONFIG} -m ${PREFIX}/lib
test:
cd ${WRKSRC}; make test
.include <bsd.port.mk>