openbsd-ports/x11/tk/8.0/Makefile
brad f4a18034fe - add HOMEPAGE
- remove license type
- GNU_CONFIGURE -> CONFIGURE_STYLE
- partially revert patch and make use of FAKE_FLAGS
- use new framework for PLISTs
- add @comment with RCS id to PLISTs
2000-07-19 03:27:03 +00:00

42 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.5 2000/07/19 03:27:03 brad 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
NEED_VERSION= 1.310
MASTER_SITES= ${MASTER_SITE_TCLTK}
MASTER_SITE_SUBDIR= tcl8_0
HOMEPAGE= http://dev.scriptics.com/software/tcltk/
LIB_DEPENDS= tcl80.1.5::lang/tcl/8.0
MAINTAINER= niklas@openbsd.org
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MAKE_FLAGS= CFLAGS="${CFLAGS}"
FAKE_FLAGS= INSTALL="install -c" INSTALL_ROOT="${WRKINST}" \
BASE_INCLUDE_DIR='$$(prefix)/include/tk$$(VERSION)' \
INCLUDE_INSTALL_DIR='$$(INSTALL_ROOT)$$(BASE_INCLUDE_DIR)' \
GENERIC_INCLUDE_INSTALL_DIR='$$(BASE_INCLUDE_DIR)/generic' \
UNIX_INCLUDE_INSTALL_DIR='$$(BASE_INCLUDE_DIR)/unix' \
MAN_INSTALL_DIR='$${INSTALL_ROOT}$$(TK_LIBRARY)/man'
SEPARATE_BUILD= concurrent
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
CONFIGURE_ARGS+= --enable-static --with-tcl="${PREFIX}/lib/tcl8.0"
CONFIGURE_ENV= PORTSDIR="${PORTSDIR}"
WRKDIST= ${WRKDIR}/${DISTNAME}/unix
test: build
@cd ${WRKBUILD} && make test
.include <bsd.port.mk>