From 96bc8048c3217bb231f2f30eadeb628134b557f5 Mon Sep 17 00:00:00 2001 From: Satoshi Asami Date: Sat, 14 Nov 1998 09:43:39 +0000 Subject: Use bsd.port.{pre,post}.mk to move PORTOBJFORMAT to front, or change shell loops to make loops. Use EXTRA_PKG_FLAGS to add install scripts instead of adding it to PKG_FLAGS after bsd.port.mk. --- japanese/expect/Makefile | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'japanese/expect') diff --git a/japanese/expect/Makefile b/japanese/expect/Makefile index f1ea81110472..1f50b8cfe238 100644 --- a/japanese/expect/Makefile +++ b/japanese/expect/Makefile @@ -3,7 +3,7 @@ # Date created: 17 Oct 1997 # Whom: taguchi # -# $Id: Makefile,v 1.11 1998/09/28 15:15:04 kuriyama Exp $ +# $Id: Makefile,v 1.12 1998/10/10 04:08:54 steve Exp $ # DISTNAME= expect-5.28 @@ -24,10 +24,12 @@ CONFIGURE_ARGS= --enable-shared --with-tclconfig=${PREFIX}/lib/tcl8.0jp \ NO_MAN_INSTALL= yes +.include + post-install: ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib - if [ "${PORTOBJFORMAT}" = "aout" ]; then \ - ${LN} -sf libexpect528jp.so.1.2 ${PREFIX}/lib/libexpect528jp.so; \ - fi +.if ${PORTOBJFORMAT} == "aout" + ${LN} -sf libexpect528jp.so.1.2 ${PREFIX}/lib/libexpect528jp.so +.endif -.include +.include -- cgit v1.2.3