summaryrefslogtreecommitdiffstats
path: root/share/mk/bsd.port.subdir.mk
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1996-11-01 07:22:37 +0000
committerasami <asami@FreeBSD.org>1996-11-01 07:22:37 +0000
commitf0fef57ac81ca62b6ee50e8165526aa0dd05242e (patch)
tree51db0799cbe07eb766b53e7de825a3b488a16e8b /share/mk/bsd.port.subdir.mk
parent8a77273e0bb7e081f6a6a08723ee290e53b2d6fa (diff)
downloadFreeBSD-src-f0fef57ac81ca62b6ee50e8165526aa0dd05242e.zip
FreeBSD-src-f0fef57ac81ca62b6ee50e8165526aa0dd05242e.tar.gz
(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
Diffstat (limited to 'share/mk/bsd.port.subdir.mk')
-rw-r--r--share/mk/bsd.port.subdir.mk9
1 files changed, 8 insertions, 1 deletions
diff --git a/share/mk/bsd.port.subdir.mk b/share/mk/bsd.port.subdir.mk
index b4e28e8..88187fd 100644
--- a/share/mk/bsd.port.subdir.mk
+++ b/share/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
OpenPOWER on IntegriCloud