aboutsummaryrefslogtreecommitdiff
path: root/Mk/bsd.port.subdir.mk
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>1996-11-01 07:22:37 +0000
committerSatoshi Asami <asami@FreeBSD.org>1996-11-01 07:22:37 +0000
commiteea350272cc200ec35ec766c65792a1a0268eef6 (patch)
tree954eb04b396b9f7eb826325b5c7e9e371a6fba87 /Mk/bsd.port.subdir.mk
parente592f61233dbae32b12d41c4fd98962625997923 (diff)
downloadports-eea350272cc200ec35ec766c65792a1a0268eef6.tar.gz
ports-eea350272cc200ec35ec766c65792a1a0268eef6.zip
Notes
Diffstat (limited to 'Mk/bsd.port.subdir.mk')
-rw-r--r--Mk/bsd.port.subdir.mk9
1 files changed, 8 insertions, 1 deletions
diff --git a/Mk/bsd.port.subdir.mk b/Mk/bsd.port.subdir.mk
index b4e28e8823b2..88187fde8ac3 100644
--- a/Mk/bsd.port.subdir.mk
+++ b/Mk/bsd.port.subdir.mk
@@ -1,5 +1,5 @@
# from: @(#)bsd.subdir.mk 5.9 (Berkeley) 2/1/91
-# $Id: bsd.port.subdir.mk,v 1.13 1996/04/01 11:13:00 asami Exp $
+# $Id: bsd.port.subdir.mk,v 1.14 1996/04/09 22:54:13 wosch Exp $
.MAIN: all
@@ -7,6 +7,9 @@
STRIP?= -s
.endif
+.if !defined(OPSYS) # XXX !!
+OPSYS!= uname -s
+.endif
ECHO_MSG?= echo
@@ -71,7 +74,11 @@ readme:
@make README.html
.endif
+.if (${OPSYS} == "NetBSD")
+PORTSDIR ?= /usr/opt
+.else
PORTSDIR ?= /usr/ports
+.endif
TEMPLATES ?= ${PORTSDIR}/templates
.if defined(PORTSTOP)
README= ${TEMPLATES}/README.top