Colin Percival d626e7e328 Fix dumb typo: Need to check if the number of rc.d scripts has changed
between pre-package-installation and post-package-installation, not
between pre- and pre-.
2013-12-08 11:03:09 +00:00

27 lines
634 B
Makefile

# $FreeBSD$
PORTNAME= firstboot-pkgs
PORTVERSION= 1.2
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>