aboutsummaryrefslogtreecommitdiff
path: root/sysutils/flashrom
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2009-05-06 23:25:15 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2009-05-06 23:25:15 +0000
commit1b51bd7af9767ba223e08e88bccfecc1fefbca04 (patch)
tree10380230468a6885f29f892a1a6f1d3e0324414b /sysutils/flashrom
parent410a52d3350468d9f427ce621bf48e52d8864c68 (diff)
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>
Notes
Notes: svn path=/head/; revision=233329
Diffstat (limited to 'sysutils/flashrom')
-rw-r--r--sysutils/flashrom/Makefile33
-rw-r--r--sysutils/flashrom/distinfo3
-rw-r--r--sysutils/flashrom/pkg-descr8
3 files changed, 44 insertions, 0 deletions
diff --git a/sysutils/flashrom/Makefile b/sysutils/flashrom/Makefile
new file mode 100644
index 000000000000..aead2cd8af5f
--- /dev/null
+++ b/sysutils/flashrom/Makefile
@@ -0,0 +1,33 @@
+# 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>
diff --git a/sysutils/flashrom/distinfo b/sysutils/flashrom/distinfo
new file mode 100644
index 000000000000..edad2a184cc8
--- /dev/null
+++ b/sysutils/flashrom/distinfo
@@ -0,0 +1,3 @@
+MD5 (flashrom-0.9.0.tar.bz2) = e9953bc012b07ce20e83f253e5199c2a
+SHA256 (flashrom-0.9.0.tar.bz2) = ebad45feb735318c4196ca2336d469b2bd7d2a8db43d879f468b0c2cd2ff136a
+SIZE (flashrom-0.9.0.tar.bz2) = 59006
diff --git a/sysutils/flashrom/pkg-descr b/sysutils/flashrom/pkg-descr
new file mode 100644
index 000000000000..e3620cd3f8e3
--- /dev/null
+++ b/sysutils/flashrom/pkg-descr
@@ -0,0 +1,8 @@
+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