summaryrefslogtreecommitdiff
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
parentFix up the makefile to Satoshi's standard. :-) (diff)
(1) Add NetBSD support. Closes PR bin/1643.
Submitted by: Jason Thorpe <thorpej@nas.nasa.gov> (2) Remove the bogus "CAT+=" definition. Closes PR ports/1703. Submitted by: Peter Childs <pjchilds@imforei.apana.org.au> (3) Change MKDIR to "/bin/mkdir -p", remove "-p" from ${MKDIR} invocations. Closes PR ports/1901. Submitted by: obrien (4) Add a new macro variable COMPRESS_MAN, which will evaluate to gzip if NOMANCOMPRESS isn't set (default), or true if it is. (5) Add a new variable NO_CHECKSUM, which will disable the md5 checksum. Submitted by: jkh (6) Also, move NO_PATCH and NO_PACKAGE checks to right place in invocation order. (7) Check for LIB_DEPENDS before installation too. (It used to check only before extraction.) Forgotten a long time ago by: asami
Notes
Notes: svn path=/head/; revision=4232
Diffstat (limited to '')
-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