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 /net/wb | |
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 'net/wb')
-rw-r--r-- | net/wb/Makefile | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/net/wb/Makefile b/net/wb/Makefile index 9d3452c..0409f57 100644 --- a/net/wb/Makefile +++ b/net/wb/Makefile @@ -3,7 +3,7 @@ # Date created: 2 Novermber 1996 # Whom: fenner # -# $Id: Makefile,v 1.4 1998/08/05 09:31:33 asami Exp $ +# $Id: Makefile,v 1.5 1998/09/27 01:43:59 steve Exp $ # DISTNAME= wb-1.59 @@ -20,6 +20,12 @@ USE_X_PREFIX= yes # XXX ghostscript, ghostscript3, ghostscript4 or ghostscript5 will all do. RUN_DEPENDS= gs:${PORTSDIR}/print/ghostscript5 +.include <bsd.port.pre.mk> + +.if ${PORTOBJFORMAT} == "elf" +STRIP= +.endif + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/wb ${PREFIX}/bin .if !defined(NOPORTDOCS) @@ -30,8 +36,4 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/lblwb.ps ${PREFIX}/share/doc/wb .endif -.include <bsd.port.mk> - -.if ${PORTOBJFORMAT} == "elf" -STRIP= -.endif +.include <bsd.port.post.mk> |