mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
cf118ccf87
Reported by: lwhsu
33 lines
732 B
Makefile
33 lines
732 B
Makefile
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>
|