diff options
author | Satoshi Asami <asami@FreeBSD.org> | 1998-11-14 09:43:39 +0000 |
---|---|---|
committer | Satoshi Asami <asami@FreeBSD.org> | 1998-11-14 09:43:39 +0000 |
commit | 96bc8048c3217bb231f2f30eadeb628134b557f5 (patch) | |
tree | c75d5bd5a6faba5d6ec73da367e4bfe5b0d4285d /lang/expect | |
parent | Checksum changed.... (diff) |
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.
Notes
Notes:
svn path=/head/; revision=14512
Diffstat (limited to 'lang/expect')
-rw-r--r-- | lang/expect/Makefile | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/lang/expect/Makefile b/lang/expect/Makefile index 87a39bc90732..88292de0aa39 100644 --- a/lang/expect/Makefile +++ b/lang/expect/Makefile @@ -3,7 +3,7 @@ # Whom: pst # Version required: 5.28 # -# $Id: Makefile,v 1.36 1998/10/05 05:02:28 steve Exp $ +# $Id: Makefile,v 1.37 1998/10/10 04:07:04 steve Exp $ # # Note this file is included from japanese/expect/Makefile @@ -28,14 +28,16 @@ MAN1= autoexpect.1 cryptdir.1 decryptdir.1 dislocate.1 \ MAN3= libexpect.3 .endif -post-install: - ${LN} -sf ${SOLIB} ${PREFIX}/lib/libexpect528.so - ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib - -.include <bsd.port.mk> +.include <bsd.port.pre.mk> .if ${PORTOBJFORMAT} == "elf" SOLIB= libexpect528.so.1 .else SOLIB= libexpect528.so.1.2 .endif + +post-install: + ${LN} -sf ${SOLIB} ${PREFIX}/lib/libexpect528.so + ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib + +.include <bsd.port.post.mk> |