blob: 2638c1de27f2d3cf3f6ef8f2f4970caadae3c7bf (
plain)
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
33
|
PORTNAME= ebsnvme-id
DISTVERSION= 1.0.1
CATEGORIES= sysutils
MAINTAINER= cperciva@FreeBSD.org
COMMENT= Exposes information about NVMe disks on EC2
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYRIGHT
USE_GITHUB= YES
GH_ACCOUNT= cperciva
USES= uidfix
PLIST_FILES= etc/rc.d/dev_aws_disk \
etc/devd/dev-aws-disk.conf \
sbin/ebsnvme-id \
man/man8/ebsnvme-id.8.gz
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 1300000 && ${OSVERSION} < 1300039
IGNORE= needs NVME_GET_NSID ioctl
.endif
post-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/devd
${INSTALL_DATA} ${WRKSRC}/dev-aws-disk.conf ${STAGEDIR}${PREFIX}/etc/devd
${INSTALL_SCRIPT} ${WRKSRC}/dev_aws_disk ${STAGEDIR}${PREFIX}/etc/rc.d/
.include <bsd.port.post.mk>
|