blob: 9195372fe605d55cf8bba4abe830aef9e49ca01e (
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
38
39
40
41
42
43
|
# $NetBSD: Makefile,v 1.20 2007/04/26 15:28:42 minskim Exp $
DISTNAME= otcl-src-1.13
PKGNAME= tcl-${DISTNAME:S/-src//}
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=otcl-tclcl/}
MAINTAINER= minskim@NetBSD.org
HOMEPAGE= http://otcl-tclcl.sourceforge.net/otcl/
COMMENT= MIT Object Tcl
PKG_INSTALLATION_TYPES= overwrite pkgviews
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
WRKSRC= ${WRKDIR}/${DISTNAME:S/-src//}
CONFIGURE_ARGS+= V_LIBS="`${CONFIG_SHELL} -c '. ${TCLCONFIG_SH}; ${ECHO} $$TCL_LIBS'`"
CONFIGURE_ARGS+= --with-tcl=${BUILDLINK_PREFIX.tcl}
CONFIGURE_ARGS+= --with-tk=${BUILDLINK_PREFIX.tk}
CPPFLAGS+= -I${BUILDLINK_PREFIX.tcl}/include/tcl/generic
DOCS= autoload.html capi.html class.html object.html \
tutorial.html otcl-paper.ps.gz
DOCDIR= ${PREFIX}/share/doc/tcl/otcl
INSTALLATION_DIRS= bin include lib
BUILDLINK_DEPMETHOD.libXt?= build
.include "../../lang/tcl/buildlink3.mk"
.include "../../x11/tk/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"
post-install:
${INSTALL_DATA_DIR} ${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/CHANGES.html ${DOCDIR}
.for _file_ in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/doc/${_file_} ${DOCDIR}
.endfor
.include "../../mk/bsd.pkg.mk"
|