diff options
author | asami <asami@FreeBSD.org> | 1998-11-14 17:43:39 +0800 |
---|---|---|
committer | asami <asami@FreeBSD.org> | 1998-11-14 17:43:39 +0800 |
commit | 521807d38becba50804a00710cfa1b51c759a4f4 (patch) | |
tree | 26cfeb8a991d32014f9a30277d2ade973f1a937f /x11-toolkits/neXtaw | |
parent | f4c70db8f8fed4684d8013755f0d23c5da34733e (diff) | |
download | freebsd-ports-graphics-521807d38becba50804a00710cfa1b51c759a4f4.tar.gz freebsd-ports-graphics-521807d38becba50804a00710cfa1b51c759a4f4.tar.zst freebsd-ports-graphics-521807d38becba50804a00710cfa1b51c759a4f4.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.
Diffstat (limited to 'x11-toolkits/neXtaw')
-rw-r--r-- | x11-toolkits/neXtaw/Makefile | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/x11-toolkits/neXtaw/Makefile b/x11-toolkits/neXtaw/Makefile index 90c3a3f46af..c0a9215205a 100644 --- a/x11-toolkits/neXtaw/Makefile +++ b/x11-toolkits/neXtaw/Makefile @@ -3,7 +3,7 @@ # Date created: 16 January 1997 # Whom: Thomas Gellekum <tg@FreeBSD.ORG> # -# $Id: Makefile,v 1.8 1998/09/21 22:21:37 steve Exp $ +# $Id: Makefile,v 1.9 1998/10/28 08:06:37 tg Exp $ # DISTNAME= neXtaw-0.5.1 @@ -15,6 +15,8 @@ MAINTAINER= tg@FreeBSD.ORG USE_IMAKE= yes +.include <bsd.port.pre.mk> + post-extract: @${RM} -rf ${WRKSRC}/X11 @@ -29,9 +31,9 @@ post-install: @${MKDIR} ${PREFIX}/share/doc/neXtaw ${INSTALL_DATA} ${WRKSRC}/README.neXtaw ${PREFIX}/share/doc/neXtaw .endif - if [ "${PORTOBJFORMAT}" = "aout" ]; then \ - ${LN} -sf libneXtaw.so.6.1 ${PREFIX}/lib/libneXtaw.so; \ - fi +.if ${PORTOBJFORMAT} == "aout" + ${LN} -sf libneXtaw.so.6.1 ${PREFIX}/lib/libneXtaw.so +.endif ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib -.include <bsd.port.mk> +.include <bsd.port.post.mk> |