aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/ec2-scripts/Makefile
blob: 68d334b95971c03137598574a740ff6af185aadd (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
29
30
31
32
# New ports collection makefile for:        FreeBSD/EC2 startup scripts
# Date created:                 2012-08-14
# Whom:                     Colin Percival
#
# $FreeBSD$
#

PORTNAME=   ec2-scripts
PORTVERSION=    1.0
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>