summaryrefslogtreecommitdiff
path: root/sysutils/nmrpflash/Makefile
blob: d877694fd829c37df468326b512268b155728c01 (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=	nmrpflash
DISTVERSIONPREFIX=	v
DISTVERSION=	0.9.15
CATEGORIES=	sysutils

MAINTAINER=	se@FreeBSD.org
COMMENT=	Unofficial flash tool for Netgear network devices

LICENSE=	GPLv3
LICENSE_FILE=	${WRKSRC}/LICENSE

USES=		gmake

USE_GITHUB=	yes
GH_ACCOUNT=	jclehner

MAKE_FLAGS=	VERSION=${DISTVERSION}

ALL_TARGET=	${PORTNAME}

PLIST_FILES=	sbin/${PORTNAME}
PORTDOCS=	README.md README-R7000.md

OPTIONS_DEFINE=	DOCS

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/sbin
	${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}/
	${INSTALL_DATA} ${WRKSRC}/README-R7000.md ${STAGEDIR}${DOCSDIR}/

.include <bsd.port.mk>