blob: da41ccdd31e913c7de1bb13b38b2538172684867 (
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.19 2000/08/31 02:11:41 jwise Exp $
# FreeBSD Id: Makefile,v 1.29 1998/01/27 01:11:47 fenner Exp
#
DISTNAME= expect
PKGNAME= expect-5.25
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_BACKUP}
MAINTAINER= jwise@netbsd.org
HOMEPAGE= http://expect.nist.gov/
DEPENDS+= tk-8.3.2:../../x11/tk
WRKSRC= ${WRKDIR}/expect-5.25
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-shared \
--with-tclconfig=${PREFIX}/lib/tcl8.0 \
--with-tclinclude=${PREFIX}/include/tcl8.0 \
--with-tkconfig=${PREFIX}/lib/tk8.0 \
--with-tkinclude=${PREFIX}/include/tk8.0
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "SunOS"
LD_LIBRARY_PATH?= /usr/lib:${LOCALBASE}/lib:${X11BASE}/lib
MAKE_ENV+= LD_LIBRARY_PATH=${LD_LIBRARY_PATH}
.endif
post-extract:
${MV} ${WRKSRC}/example/rftp ${WRKSRC}/example/expect-rftp
test:
@(cd ${WRKSRC}; ${MAKE} test)
.include "../../mk/bsd.pkg.mk"
|