blob: 20f84d7cbdcbbad52b4cc3e3e308692322a418bd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# $NetBSD: Makefile,v 1.6 2005/04/13 20:06:24 jschauma Exp $
DISTNAME= tcl-itcl-20040920
PKGNAME= ${DISTNAME:S/itcl/itcl-current/}
PKGREVISION= 3
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_LOCAL}
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://tcltk.com/itcl/
COMMENT= [incr Tcl] object-oriented extension to Tcl/Tk. CVS snapshot
PKG_INSTALLATION_TYPES= overwrite pkgviews
CONFLICTS+= tcl-itcl-[0-9]*
WRKSRC= ${WRKDIR}/tcl-itcl-${ITCL_VERS}
ITCL_VERS= 3.3
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
CONFIGURE_ARGS= --with-tcl=${BUILDLINK_PREFIX.tcl}/lib \
--with-tk=${BUILDLINK_PREFIX.tk}/lib \
--enable-shared
MAKE_ENV+= TCL_HEADER_DIR=${BUILDLINK_PREFIX.tcl}/include/tcl
post-build:
${SED} -e "s|^\(.*\)='\(.*\)'|\1=\"\2\"|" \
-e "s|${WRKSRC}/itcl|${PREFIX}/lib/tcl/itcl${ITCL_VERS}|"\
-e "s|${PREFIX}/lib/itcl${ITCL_VERS}|${PREFIX}/lib/tcl/itcl${ITCL_VERS}|"\
-e "s|${WRKDIR}/${DISTNAME:C/-src//}|${PREFIX}|" \
${WRKSRC}/itcl/itclConfig.sh > ${WRKSRC}/itcl/itclConfig.sh.tmp &&\
${MV} ${WRKSRC}/itcl/itclConfig.sh.tmp ${WRKSRC}/itcl/itclConfig.sh
.include "../../lang/tcl/buildlink3.mk"
.include "../../x11/tk/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|