openbsd-ports/devel/itcl/Makefile
sebastia 2240f32ac8 Update to new Tcl layout.
While there, take MAINTAINER, since the old one is not reachable with this address anymore.

OK landry@, stu@
2011-01-05 18:55:31 +00:00

56 lines
1.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.9 2011/01/05 18:55:31 sebastia Exp $
COMMENT= object-oriented extensions to Tcl
REVISION = 0
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= Sebastian Reitenbach <sebastia@openbsd.org>
# 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} \
--libdir=${MODTCL_TCLDIR} \
--with-tcl=${MODTCL_LIBDIR} \
--with-tclinclude=${MODTCL_INCDIR} \
--includedir=${PREFIX}/include/itcl
CONFIGURE_ENV= CPPFLAGS="-I${MODTCL_INCDIR}/generic \
-I${MODTCL_INCDIR}/unix -I${MODTCL_INCDIR}" \
LIBitcl34_VERSION=${LIBitcl34_VERSION}
FAKE_FLAGS = libdir=${MODTCL_TCLDIR}/itcl
pre-configure:
${SUBST_CMD} ${WRKSRC}/configure
do-regress:
@cd ${WRKSRC} && ${SETENV} ITCL_LIBRARY=${WRKSRC}/library \
${MODTCL_BIN} tests/all.tcl -load \
"load ./libitcl34.so.${LIBitcl34_VERSION}"
.include <bsd.port.mk>