summaryrefslogtreecommitdiff
path: root/japanese/expect/Makefile
blob: 286a33ac6b2d5e54ac0dacda3858078d96fe852b (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
# New ports collection makefile for:	expect
# Version required:	5.26
# Date created:		17 Oct 1997
# Whom:			taguchi
#
# $Id: Makefile,v 1.10 1998/07/27 00:12:13 steve Exp $
#

DISTNAME=	expect-5.26
PKGNAME=	ja-expect-5.26
CATEGORIES=	japanese lang tk80
MASTER_SITES=	ftp://peloton.physics.montana.edu/pub/distfiles/

MAINTAINER=	taguchi@tohoku.iij.ad.jp

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

USE_AUTOCONF=	yes
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

post-install:
	${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
	if [ "${PORTOBJFORMAT}" = "aout" ]; then \
		${LN} -sf libexpect526jp.so.1.2 ${PREFIX}/lib/libexpect526jp.so; \
	fi

.include <bsd.port.mk>