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 /x11-toolkits/xbae | |
parent | 637c4e8f19438274164c0673ec85af739aba205b (diff) | |
download | ports-96bc8048c3217bb231f2f30eadeb628134b557f5.tar.gz ports-96bc8048c3217bb231f2f30eadeb628134b557f5.zip |
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 'x11-toolkits/xbae')
-rw-r--r-- | x11-toolkits/xbae/Makefile | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/x11-toolkits/xbae/Makefile b/x11-toolkits/xbae/Makefile index da74f4261b15..94d0dc72336e 100644 --- a/x11-toolkits/xbae/Makefile +++ b/x11-toolkits/xbae/Makefile @@ -5,7 +5,7 @@ # With some # modifications from: Andreas Klemm <andreas@FreeBSD.ORG> # -# $Id: Makefile,v 1.4 1998/08/07 22:56:47 asami Exp $ +# $Id: Makefile,v 1.5 1998/09/21 21:36:27 steve Exp $ # DISTNAME= Xbae-4.6.2 @@ -20,10 +20,12 @@ REQUIRES_MOTIF= YES USE_IMAKE= YES MAN3= XbaeCaption.3 XbaeMatrix.3 +.include <bsd.port.pre.mk> + post-install: - if [ "${PORTOBJFORMAT}" = "aout" ]; then \ - ${LN} -sf libXbae.so.6.2 ${PREFIX}/lib/libXbae.so; \ - fi +.if ${PORTOBJFORMAT} == "aout" + ${LN} -sf libXbae.so.6.2 ${PREFIX}/lib/libXbae.so +.endif @${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib -.include <bsd.port.mk> +.include <bsd.port.post.mk> |