aboutsummaryrefslogtreecommitdiff
path: root/sysutils/ec2-scripts/Makefile
blob: e9c91324d0862d5bcbc6df186d8c3a669f72ea26 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Created by: Colin Percival
# $FreeBSD$

PORTNAME=	ec2-scripts
PORTVERSION=	1.5
CATEGORIES=	sysutils
MASTER_SITES=	http://freebsd-ec2-dist.s3.amazonaws.com/
EXTRACT_SUFX=	.tgz

MAINTAINER=	cperciva@FreeBSD.org
COMMENT=	Startup scripts for FreeBSD/EC2 environment

NO_BUILD=	YES
NO_INSTALL=	YES

RC_SCRIPTS=	ec2_bootmail ec2_ephemeralswap ec2_fetchkey	\
		ec2_firstboot ec2_loghostkey panicmail

.for i in ${RC_SCRIPTS}
PLIST_FILES+=	etc/rc.d/$i
.endfor

post-install:
	@for i in ${RC_SCRIPTS}; do	\
		${INSTALL_SCRIPT} ${WRKSRC}/$${i} ${PREFIX}/etc/rc.d/$${i}; \
	done

.include <bsd.port.mk>