summaryrefslogtreecommitdiffstats
path: root/www/mozilla-vendor
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1998-11-11 05:37:39 +0000
committerasami <asami@FreeBSD.org>1998-11-11 05:37:39 +0000
commit559e1bc28bd975c38b561de15be3918ba1f71b5e (patch)
treecda169bf1e41b7166c2d2febd3d858c1411d0e64 /www/mozilla-vendor
parent7aed28166a84f266be861367fc9a1add43f9219a (diff)
downloadFreeBSD-ports-559e1bc28bd975c38b561de15be3918ba1f71b5e.zip
FreeBSD-ports-559e1bc28bd975c38b561de15be3918ba1f71b5e.tar.gz
Use bsd.port.{pre,post}.mk. Either use them to avoid having to define
something already there (PORTOBJFORMAT, OSVERSION) or move stuff from after .include <bsd.port.mk> to before. (This is not by any means the complete list but just the ones I've noticed recently.)
Diffstat (limited to 'www/mozilla-vendor')
-rw-r--r--www/mozilla-vendor/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/www/mozilla-vendor/Makefile b/www/mozilla-vendor/Makefile
index 5851f7c..bccaa78 100644
--- a/www/mozilla-vendor/Makefile
+++ b/www/mozilla-vendor/Makefile
@@ -3,7 +3,7 @@
# Date created: 31 Mar 1998
# Whom: eivind/dima/jseger
#
-# $Id: Makefile,v 1.26 1998/07/22 11:50:31 asami Exp $
+# $Id: Makefile,v 1.27 1998/10/15 01:16:23 jseger Exp $
#
DISTNAME= unix-19980429
@@ -24,9 +24,9 @@ MAKE_ENV= NO_SECURITY=1 MOZ_MEDIUM=1 MOZILLA_CLIENT=1 NO_MDUPDATE=1 \
BUILD_OPT=1 NO_NETSCAPE_STATIC=1 LD_LIBRARY_PATH=${LOCALBASE}/lib
REQUIRES_MOTIF= yes
-OSNAME= `uname -s`
-OSVER= `uname -r | ${SED} 's/-.*//'`
-OBJDIR= ${WRKSRC}/dist/${OSNAME}${OSVER}_OPT.OBJ
+.include <bsd.port.pre.mk>
+
+OBJDIR= ${WRKSRC}/dist/${OPSYS}${OSREL}_OPT.OBJ
do-install:
@${MKDIR} ${PREFIX}/lib/mozilla/bin
@@ -40,4 +40,4 @@ do-install:
@strip ${PREFIX}/lib/mozilla/bin/moz-export
@chown -R bin.bin ${PREFIX}/lib/mozilla
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud