# $FreeBSD: tags/RELEASE_11_0_0/sysutils/firstboot-freebsd-update/Makefile 382940 2015-04-01 19:15:54Z jgh $

PORTNAME=	firstboot-freebsd-update
PORTVERSION=	1.2
CATEGORIES=	sysutils
MASTER_SITES=	# none
DISTFILES=	# none
EXTRACT_ONLY=	# none

MAINTAINER=	cperciva@FreeBSD.org
COMMENT=	Update the system using freebsd-update when it first boots

NO_WRKSUBDIR=	yes
NO_BUILD=	yes
NO_INSTALL=	yes

USE_RC_SUBR=	firstboot_freebsd_update

.include <bsd.port.options.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

.include <bsd.port.mk>
