1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

Add FORCE_PACKAGE, if this is defined, NO_PACKAGE will be turned off.

Ports for which we can't build packages should define NO_PACKAGE but
still prepare pkg/* files.  The user who really wants a package and
clear of the legal problems can say FORCE_PACKAGE from the command line
to build a package anyway.
This commit is contained in:
Satoshi Asami 1995-05-13 05:37:45 +00:00
parent 4a044548aa
commit 5af895a1dd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=1702

View File

@ -3,7 +3,7 @@
# bsd.port.mk - 940820 Jordan K. Hubbard.
# This file is in the public domain.
#
# $Id: bsd.port.mk,v 1.159 1995/05/12 07:43:48 asami Exp $
# $Id: bsd.port.mk,v 1.160 1995/05/12 08:44:12 asami Exp $
#
# Please view me with 4 column tabs!
@ -244,6 +244,12 @@ MTREE_LOCAL= /etc/mtree/BSD.local.dist
MTREE_CMD?= mtree
MTREE_ARGS?= -U -f ${MTREE_LOCAL} -d -e -p
# The user can override the NO_PACKAGE by specifying this from
# the make command line
.if defined(FORCE_PACKAGE)
.undef NO_PACKAGE
.endif
PKG_CMD?= pkg_create
.if !defined(PKG_ARGS)
PKG_ARGS= -v -c ${PKGDIR}/COMMENT -d ${PKGDIR}/DESCR -f ${PKGDIR}/PLIST -p ${PREFIX} -P "`${MAKE} package-depends|sort|uniq`"