aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/expect/Makefile
blob: ea5ef372ab7e248acc92a404d4cc073aa1b8ccaa (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
39
40
41
42
# New ports collection makefile for:    expect
# Date created:     17 Oct 1997
# Whom:         taguchi
#
# $FreeBSD$
#

PORTNAME=   expect
PORTVERSION=    5.30
CATEGORIES= japanese lang tk80
MASTER_SITES=   ftp://ftp.nist.gov/mel/div826/subject/expect/old/

MAINTAINER= taguchi@tohoku.iij.ad.jp
COMMENT=    A sophisticated scripter based on Japanized tcl/tk

LIB_DEPENDS=    tk80jp.1:${PORTSDIR}/japanese/tk80

USE_AUTOCONF_VER=   213
CONFIGURE_ENV=  INSTALL_SCRIPT="${INSTALL_SCRIPT}"
CONFIGURE_ARGS= --enable-shared --with-tclconfig=${PREFIX}/lib/tcl8.0jp \
        --with-tkconfig=${PREFIX}/lib/tk8.0jp \
        --with-tclinclude=${PREFIX}/include/tcl8.0jp \
        --with-tkinclude=${PREFIX}/include/tk8.0jp

NO_MAN_INSTALL= yes
INSTALLS_SHLIB= yes

.include <bsd.port.pre.mk>

.if ${ARCH} == "amd64"
BROKEN=     "Incomplete pkg-plist"
.endif

post-install:
.if ${PORTOBJFORMAT} == "aout"
    ${LN} -sf libexpect530jp.so.1.2 ${PREFIX}/lib/libexpect530jp.so
.endif

test:
    cd ${WRKSRC} && ${SETENV} PORTOBJFORMAT=${PORTOBJFORMAT} ${MAKE} test 

.include <bsd.port.post.mk>