mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-20 08:27:15 +00:00
edb625cebc
A set of utilities to process FCODE, OpenFirmware's byte code. This includes: - the tokenizer toke, - the detokenizer detok, - and a PCI rom header utility. WWW: https://www.openfirmware.info/FCODE_suite PR: 213114 Submitted by: Piotr Kubaj <pkubaj@anongoth.pl> (based on) Reviewed by: pawel
42 lines
865 B
Makefile
42 lines
865 B
Makefile
# Created by: Piotr Kubaj <pkubaj@anongoth.pl>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= fcode-utils
|
|
PORTVERSION= 1.0.2
|
|
DISTVERSIONPREFIX= v
|
|
CATEGORIES= sysutils
|
|
|
|
MAINTAINER= pkubaj@anongoth.pl
|
|
COMMENT= Utilities to process FCODE, OpenFirmware's byte code
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
USES= gmake
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= openbios
|
|
|
|
MAKE_ARGS= CC=${CC}
|
|
PLIST_FILES= bin/detok \
|
|
bin/romheaders \
|
|
bin/toke
|
|
PORTDOCS= detok.html toke.html workbook.css
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
do-build:
|
|
.for f in detok romheaders toke
|
|
@${DO_MAKE_BUILD} -C ${WRKSRC}/${f}
|
|
.endfor
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/detok/detok ${WRKSRC}/toke/toke \
|
|
${WRKSRC}/romheaders/romheaders ${STAGEDIR}${PREFIX}/bin
|
|
|
|
do-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
cd ${WRKSRC}/documentation && \
|
|
${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|