aboutsummaryrefslogtreecommitdiffstats
path: root/net/wb
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1998-11-14 17:43:39 +0800
committerasami <asami@FreeBSD.org>1998-11-14 17:43:39 +0800
commit521807d38becba50804a00710cfa1b51c759a4f4 (patch)
tree26cfeb8a991d32014f9a30277d2ade973f1a937f /net/wb
parentf4c70db8f8fed4684d8013755f0d23c5da34733e (diff)
downloadfreebsd-ports-gnome-521807d38becba50804a00710cfa1b51c759a4f4.tar.gz
freebsd-ports-gnome-521807d38becba50804a00710cfa1b51c759a4f4.tar.zst
freebsd-ports-gnome-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 'net/wb')
-rw-r--r--net/wb/Makefile14
1 files changed, 8 insertions, 6 deletions
diff --git a/net/wb/Makefile b/net/wb/Makefile
index 9d3452c1c051..0409f57862b9 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>