2010-10-18 17:35:47 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.8 2010/10/18 21:35:48 sthen Exp $
|
2006-10-25 10:24:03 -04:00
|
|
|
|
2007-09-15 22:52:56 -04:00
|
|
|
COMMENT= object-oriented extensions to Tcl
|
2006-10-25 10:24:03 -04:00
|
|
|
|
2010-06-07 10:39:46 -04:00
|
|
|
VERSION= 3.4
|
|
|
|
DISTNAME= itcl${VERSION}b1
|
|
|
|
PKGNAME= itcl-${VERSION}b1
|
|
|
|
SHARED_LIBS= itcl34 0.0
|
2006-10-25 10:24:03 -04:00
|
|
|
|
2009-03-11 17:26:03 -04:00
|
|
|
CATEGORIES= devel
|
2006-10-25 10:24:03 -04:00
|
|
|
|
|
|
|
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/}
|
|
|
|
|
2008-10-28 12:08:32 -04:00
|
|
|
MODULES= lang/tcl
|
2006-10-25 10:24:03 -04:00
|
|
|
|
2008-10-28 12:08:32 -04:00
|
|
|
RUN_DEPENDS= ${MODTCL_RUN_DEPENDS}
|
|
|
|
BUILD_DEPENDS= ${MODTCL_BUILD_DEPENDS}
|
2006-10-28 13:52:18 -04:00
|
|
|
|
|
|
|
SUBST_VARS= VERSION
|
|
|
|
|
2010-06-07 10:39:46 -04:00
|
|
|
WRKDIST= ${WRKDIR}/itcl${VERSION}
|
|
|
|
|
2006-10-25 10:24:03 -04:00
|
|
|
CONFIGURE_STYLE=gnu
|
|
|
|
|
|
|
|
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
|
2008-10-28 12:08:32 -04:00
|
|
|
--with-tcl=${MODTCL_LIBDIR} \
|
|
|
|
--includedir=${PREFIX}/include/itcl${VERSION} \
|
|
|
|
--libdir=${PREFIX}/lib/itcl${VERSION}
|
2006-10-25 10:24:03 -04:00
|
|
|
|
2008-10-28 12:08:32 -04:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${MODTCL_INCDIR}/generic \
|
|
|
|
-I${MODTCL_INCDIR}/unix" \
|
2010-06-07 10:39:46 -04:00
|
|
|
LIBitcl34_VERSION=${LIBitcl34_VERSION}
|
2010-10-18 17:35:47 -04:00
|
|
|
USE_GROFF = Yes
|
2010-06-07 10:39:46 -04:00
|
|
|
|
|
|
|
SUBST_VARS=VERSION
|
2006-10-25 10:24:03 -04:00
|
|
|
|
|
|
|
do-regress:
|
|
|
|
@cd ${WRKSRC} && ${SETENV} ITCL_LIBRARY=${WRKSRC}/library \
|
2008-10-28 12:08:32 -04:00
|
|
|
${MODTCL_BIN} tests/all.tcl -load \
|
2010-06-07 10:39:46 -04:00
|
|
|
"load ./libitcl34.so.${LIBitcl34_VERSION}"
|
2006-10-25 10:24:03 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|