From 96bc8048c3217bb231f2f30eadeb628134b557f5 Mon Sep 17 00:00:00 2001 From: Satoshi Asami Date: Sat, 14 Nov 1998 09:43:39 +0000 Subject: 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. --- mbone/wb/Makefile | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'mbone') diff --git a/mbone/wb/Makefile b/mbone/wb/Makefile index 9d3452c1c051..0409f57862b9 100644 --- a/mbone/wb/Makefile +++ b/mbone/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 + +.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 - -.if ${PORTOBJFORMAT} == "elf" -STRIP= -.endif +.include -- cgit v1.2.3