freebsd-ports/sysutils/firstboot-pkgs/Makefile
Colin Percival 7b5782e2bf pkg uses "is stdin a terminal?" to decide if it's running interactively
and thereby whether it should display a progress bar during downloads.
While rc.d scripts have a terminal attached, for the common case of
unattended installation of servers, this script is not being used
interactively; so redirect stdin from /dev/null to silence the progress
bars and reduce console spew.

The -q option could be used to accomplish this, but that would also
eliminate other more useful information, such as the names and versions
of packages being installed.
2013-12-16 02:36:23 +00:00

26 lines
634 B
Makefile

# $FreeBSD$
PORTNAME= firstboot-pkgs
PORTVERSION= 1.3
CATEGORIES= sysutils
MASTER_SITES= # none
DISTFILES= # none
MAINTAINER= cperciva@FreeBSD.org
COMMENT= Install packages when the system first boots
NO_WRKSUBDIR= yes
NO_BUILD= yes
USE_RC_SUBR= firstboot_pkgs
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 902504 || ( ${OSVERSION} >= 1000000 && ${OSVERSION} < 1000100 ) || ( ${OSVERSION} >= 1000500 && ${OSVERSION} < 1000501 ) || (${OSVERSION} >= 1100000 && ${OSVERSION} < 1100001 )
IGNORE= first boot rc.d scripts not supported on this version of FreeBSD
.endif
do-fetch do-install:
@${DO_NADA}
.include <bsd.port.post.mk>