- minor cleanup

- options in favor of using pre
  - extract_only to drop fetch target
  - no_install to drop install target

PR:		199097
Submitted by:	jgh
Approved by:	cperciva (maintainer)
This commit is contained in:
Jason Helfman 2015-04-01 19:15:54 +00:00
parent 2a370ef090
commit f2a02448a0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=382940

View file

@ -5,22 +5,21 @@ 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.pre.mk>
.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
do-fetch do-install:
@${DO_NADA}
.include <bsd.port.post.mk>
.include <bsd.port.mk>