diff options
author | asami <asami@FreeBSD.org> | 1998-11-14 09:43:39 +0000 |
---|---|---|
committer | asami <asami@FreeBSD.org> | 1998-11-14 09:43:39 +0000 |
commit | 521807d38becba50804a00710cfa1b51c759a4f4 (patch) | |
tree | 26cfeb8a991d32014f9a30277d2ade973f1a937f /x11-toolkits/xbae | |
parent | f4c70db8f8fed4684d8013755f0d23c5da34733e (diff) | |
download | FreeBSD-ports-521807d38becba50804a00710cfa1b51c759a4f4.zip FreeBSD-ports-521807d38becba50804a00710cfa1b51c759a4f4.tar.gz |
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.
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 da74f42..94d0dc7 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> |