openbsd-ports/lang/tcl/8.3/Makefile

42 lines
1.0 KiB
Makefile
Raw Normal View History

2000-05-23 22:04:06 -04:00
# $OpenBSD: Makefile,v 1.3 2000/05/24 02:04:06 kevlo Exp $
2000-03-26 21:08:46 -05:00
2000-05-23 22:04:06 -04:00
DISTNAME= tcl8.3.1
PKGNAME= tcl-8.3.1
2000-03-26 21:08:46 -05:00
CATEGORIES= lang
NEED_VERSION= 1.234
2000-03-26 21:08:46 -05:00
MASTER_SITES= ${MASTER_SITE_TCLTK}
MASTER_SITE_SUBDIR= tcl8_3
MAINTAINER= kevlo@openbsd.org
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
FAKE= Yes
MAKE_FLAGS= CFLAGS="${CFLAGS}"
FAKE_FLAGS= INSTALL="install -c" INSTALL_ROOT="${WRKINST}" \
BASE_INCLUDE_DIR='$$(prefix)/include/tcl$$(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}$$(TCL_LIBRARY)/man'
2000-03-26 21:08:46 -05:00
SEPARATE_BUILD= concurrent
GNU_CONFIGURE= Yes
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
CONFIGURE_ARGS+= --enable-static
.if (${MACHINE_ARCH} == "mips")
CONFIGURE_ARGS+= --disable-load
.endif
CONFIGURE_ENV= PORTSDIR="${PORTSDIR}"
WRKDIST= ${WRKDIR}/${DISTNAME}/unix
test: build
@cd ${WRKSRC}; make test
2000-03-26 21:08:46 -05:00
.include <bsd.port.mk>