blob: c8a8e88f095ef2304b5626c5ab5e7be19ea6757d (
plain) (
blame)
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
|
# New ports collection makefile for: otcl
# Date created: 23 April 1999
# Whom: obonilla
#
# $FreeBSD$
#
PORTNAME= otcl
PORTVERSION= 1.9
CATEGORIES= lang tcl84 tk84
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= otcl-tclcl
MAINTAINER= ports@FreeBSD.org
COMMENT= MIT Object Tcl
LIB_DEPENDS= tk84:${PORTSDIR}/x11-toolkits/tk84
USE_AUTOTOOLS= autoconf:213
CONFIGURE_ARGS= --with-tcl-ver=8.4 --with-tk-ver=8.4
USE_LDCONFIG= yes
PKGINSTALL= ${PORTSDIR}/lang/tcl84/pkg-install.tclsh
PKGDEINSTALL= ${PORTSDIR}/lang/tcl84/pkg-deinstall.tclsh
post-patch:
@${REINPLACE_CMD} -e 's|/usr/X11R6|${X11BASE}|g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|/usr/X11R6|${X11BASE}|g' ${WRKSRC}/conf/configure.in.x11
post-install:
${LN} -sf libotcl.so ${PREFIX}/lib/libotcl.so.1
${STRIP_CMD} ${PREFIX}/bin/otclsh
${STRIP_CMD} ${PREFIX}/bin/owish
.if exists(${PKGINSTALL})
${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL}
.endif
.include <bsd.port.mk>
|