blob: 8c6d34702dc5818bc984a0b41d15e6b5aba0eefe (
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
34
35
36
37
38
39
40
41
42
43
44
45
|
PORTNAME= fwup
DISTVERSIONPREFIX= v
DISTVERSION= 1.8.4
CATEGORIES= sysutils
MAINTAINER= dch@FreeBSD.org
COMMENT= Configurable embedded Linux firmware update creator and runner
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${LOCALBASE}/bin/autogen:devel/autogen \
${LOCALBASE}/bin/base64:converters/base64 \
${LOCALBASE}/bin/help2man:misc/help2man \
${LOCALBASE}/bin/mdir:emulators/mtools \
${LOCALBASE}/bin/zip:archivers/zip
LIB_DEPENDS= libconfuse.so:devel/libconfuse \
libsodium.so:security/libsodium
USES= autoreconf libarchive libtool pkgconfig shebangfix
USE_GITHUB= yes
GH_ACCOUNT= fhunleth
GNU_CONFIGURE= yes
SHEBANG_FILES= img2fwup scripts/*.sh
PLIST_FILES= bin/fwup \
bin/img2fwup \
man/man1/fwup.1.gz \
share/bash-completion/completions/fwup
PORTDOCS= README.md
OPTIONS_DEFINE= DOCS
pre-configure:
@(cd ${WRKSRC} && ./autogen.sh)
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|