freebsd-ports/sysutils/flashrom/Makefile
Dmitry Marakasov 1b51bd7af9 flashrom is a utility for reading, writing, verifying and erasing flash ROM
chips. It's often used to flash BIOS/coreboot/firmware images.

It supports a wide range of DIP32, PLCC32, DIP8, SO8/SOIC8, TSOP32, and
TSOP40 chips, which use various protocols such as LPC, FWH, parallel flash,
or SPI.

WWW: http://www.coreboot.org/Flashrom

PR:		134267
Submitted by:	Alexander Logvinov <ports at logvinov dot com>
2009-05-06 23:25:15 +00:00

33 lines
713 B
Makefile

# New ports collection makefile for: flashrom
# Date created: 06 May 2009
# Whom: Alexander Logvinov <ports@logvinov.com>
#
# $FreeBSD$
#
PORTNAME= flashrom
PORTVERSION= 0.9.0
CATEGORIES= sysutils
MASTER_SITES= http://qa.coreboot.org/releases/
MAINTAINER= ports@logvinov.com
COMMENT= A utility for reading, writing, verifying and erasing flash ROM chips
LIB_DEPENDS= pci.2:${PORTSDIR}/devel/libpci
USE_BZIP2= yes
USE_GMAKE= yes
PORTDOCS= COPYING README
PLIST_FILES= bin/${PORTNAME}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
.for i in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>