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/Xaw3d | |
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/Xaw3d')
-rw-r--r-- | x11-toolkits/Xaw3d/Makefile | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/x11-toolkits/Xaw3d/Makefile b/x11-toolkits/Xaw3d/Makefile index d24d5af..8ac2570 100644 --- a/x11-toolkits/Xaw3d/Makefile +++ b/x11-toolkits/Xaw3d/Makefile @@ -3,7 +3,7 @@ # Date created: 18 November 1994 # Whom: asami # -# $Id: Makefile,v 1.18 1998/09/21 01:33:22 steve Exp $ +# $Id: Makefile,v 1.19 1998/09/21 21:29:23 steve Exp $ # DISTNAME= Xaw3d-1.3 @@ -16,16 +16,18 @@ MAINTAINER= ports@FreeBSD.ORG WRKSRC= ${WRKDIR}/xc/lib/Xaw3d USE_IMAKE= yes +.include <bsd.port.pre.mk> + post-extract: ${MKDIR} ${WRKSRC}/X11/Xaw3d cd ${WRKSRC}/X11/Xaw3d; ln -sf ../../*.h . post-install: - if [ "${PORTOBJFORMAT}" = "aout" ]; then \ - ${LN} -sf libXaw3d.so.6.1 ${PREFIX}/lib/libXaw3d.so; \ - fi +.if ${PORTOBJFORMAT} == "aout" + ${LN} -sf libXaw3d.so.6.1 ${PREFIX}/lib/libXaw3d.so +.endif ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib ${MKDIR} ${PREFIX}/share/doc/Xaw3d ${CP} ${WRKSRC}/README.XAW3D ${PREFIX}/share/doc/Xaw3d -.include <bsd.port.mk> +.include <bsd.port.post.mk> |