# $FreeBSD: sysutils/firstboot-freebsd-update/Makefile 331815 2013-10-28 00:06:49Z cperciva $

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

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

NO_WRKSUBDIR=	yes
NO_BUILD=	yes

USE_RC_SUBR=	firstboot_freebsd_update

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 902504 || ( ${OSVERSION} >= 1000000 && ${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>
