mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-18 17:00:49 +01:00
Ok, this should work with a centralized package directory now (so you
can elect to dump all finished packages in one directory). Submitted by: jkh
This commit is contained in:
parent
99188fedd9
commit
40ac3d51ca
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=2211
@ -1,7 +1,7 @@
|
||||
# bsd.port.mk - 940820 Jordan K. Hubbard.
|
||||
# This file is in the public domain.
|
||||
#
|
||||
# $Id: bsd.port.mk,v 1.13 1994/08/22 12:07:19 jkh Exp $
|
||||
# $Id: bsd.port.mk,v 1.14 1994/08/22 13:11:32 jkh Exp $
|
||||
|
||||
#
|
||||
# Supported Variables and their behaviors:
|
||||
@ -96,12 +96,11 @@ package:
|
||||
# PKG_ARGS if your package is anything but run-of-the-mill.
|
||||
@if [ -d ${PKGDIR} ]; then \
|
||||
echo "===> Building package for ${DISTNAME}"; \
|
||||
if [ -d ${PACKAGES} ]; then \
|
||||
_TARGET=${PACKAGES}/${DISTNAME}${PKG_SUFX}; \
|
||||
@if [ -d ${PACKAGES} ]; then \
|
||||
${PKG_CMD} ${PKG_ARGS} ${PACKAGES}/${DISTNAME}${PKG_SUFX}; \
|
||||
else \
|
||||
_TARGET=${DISTNAME}${PKG_SUFX}; \
|
||||
fi \
|
||||
${PKG_CMD} ${PKG_ARGS} ${_TARGET}; \
|
||||
${PKG_CMD} ${PKG_ARGS} ${DISTNAME}${PKG_SUFX}; \
|
||||
fi; \
|
||||
fi
|
||||
.endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user