aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/bsd.port.mk
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1996-06-01 13:47:42 +0800
committerasami <asami@FreeBSD.org>1996-06-01 13:47:42 +0800
commit125eb5449609a32174ae8ed70dfc09c97aa68cb3 (patch)
treec0a8c467465fc60e1049d2c7f8f2c2eff3768705 /Mk/bsd.port.mk
parent627949ef2a8f8edb2447429047bded5e76e52685 (diff)
downloadfreebsd-ports-gnome-125eb5449609a32174ae8ed70dfc09c97aa68cb3.tar.gz
freebsd-ports-gnome-125eb5449609a32174ae8ed70dfc09c97aa68cb3.tar.zst
freebsd-ports-gnome-125eb5449609a32174ae8ed70dfc09c97aa68cb3.zip
Add some comments to sections to disable targets using NO_* variables.
Remove disabling of "repackage", that thing calls package anyway. Submitted by: (mostly) jkh
Diffstat (limited to 'Mk/bsd.port.mk')
-rw-r--r--Mk/bsd.port.mk18
1 files changed, 12 insertions, 6 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index 9694bf224bf1..50d7bc2818ad 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -3,7 +3,7 @@
# bsd.port.mk - 940820 Jordan K. Hubbard.
# This file is in the public domain.
#
-# $Id: bsd.port.mk,v 1.203 1996/04/27 18:36:02 jkh Exp $
+# $Id: bsd.port.mk,v 1.204 1996/05/30 08:53:26 asami Exp $
#
# Please view me with 4 column tabs!
@@ -464,7 +464,6 @@ all:
DEPENDS="${DEPENDS}" BUILD_DEPENDS="${BUILD_DEPENDS}" \
RUN_DEPENDS="${RUN_DEPENDS}" X11BASE=${X11BASE} \
${ALL_HOOK}
-
.endif
.if !target(all)
@@ -488,6 +487,7 @@ is_depended: ${IS_DEPENDED_TARGET}
# override from an individual Makefile.
################################################################
+# Disable extract
.if defined(NO_EXTRACT) && !target(extract)
extract: checksum
@${TOUCH} ${TOUCH_FLAGS} ${EXTRACT_COOKIE}
@@ -496,26 +496,32 @@ checksum: fetch
makesum:
@${DO_NADA}
.endif
+
+# Disable configure
.if defined(NO_CONFIGURE) && !target(configure)
configure: patch
@${TOUCH} ${TOUCH_FLAGS} ${CONFIGURE_COOKIE}
.endif
+
+# Disable build
.if defined(NO_BUILD) && !target(build)
build: configure
@${TOUCH} ${TOUCH_FLAGS} ${BUILD_COOKIE}
.endif
+
+# Disable package
.if defined(NO_PACKAGE) && !target(package)
package:
@${DO_NADA}
.endif
-.if defined(NO_PACKAGE) && !target(repackage)
-repackage:
- @${DO_NADA}
-.endif
+
+# Disable install
.if defined(NO_INSTALL) && !target(install)
install: build
@${TOUCH} ${TOUCH_FLAGS} ${INSTALL_COOKIE}
.endif
+
+# Disable patch
.if defined(NO_PATCH) && !target(patch)
patch: extract
@${TOUCH} ${TOUCH_FLAGS} ${PATCH_COOKIE}