openbsd-ports/devel/itcl/Makefile

53 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.8 2010/10/18 21:35:48 sthen Exp $
COMMENT= object-oriented extensions to Tcl
VERSION= 3.4
DISTNAME= itcl${VERSION}b1
PKGNAME= itcl-${VERSION}b1
SHARED_LIBS= itcl34 0.0
CATEGORIES= devel
HOMEPAGE= http://incrtcl.sourceforge.net/itcl/
MAINTAINER= Nikns Siankin <nikns@secure.lv>
# BSD style
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=incrtcl/}
MODULES= lang/tcl
RUN_DEPENDS= ${MODTCL_RUN_DEPENDS}
BUILD_DEPENDS= ${MODTCL_BUILD_DEPENDS}
SUBST_VARS= VERSION
WRKDIST= ${WRKDIR}/itcl${VERSION}
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
--with-tcl=${MODTCL_LIBDIR} \
--includedir=${PREFIX}/include/itcl${VERSION} \
--libdir=${PREFIX}/lib/itcl${VERSION}
CONFIGURE_ENV= CPPFLAGS="-I${MODTCL_INCDIR}/generic \
-I${MODTCL_INCDIR}/unix" \
LIBitcl34_VERSION=${LIBitcl34_VERSION}
USE_GROFF = Yes
SUBST_VARS=VERSION
do-regress:
@cd ${WRKSRC} && ${SETENV} ITCL_LIBRARY=${WRKSRC}/library \
${MODTCL_BIN} tests/all.tcl -load \
"load ./libitcl34.so.${LIBitcl34_VERSION}"
.include <bsd.port.mk>