diff options
author | Alexander Logvinov <avl@FreeBSD.org> | 2010-12-03 01:50:42 +0000 |
---|---|---|
committer | Alexander Logvinov <avl@FreeBSD.org> | 2010-12-03 01:50:42 +0000 |
commit | 648c22f03dadf41f20b3bbeda669c4485a711857 (patch) | |
tree | 64dda50695d5cc151d7af6bcfdc311725f5856f4 /sysutils/flashrom | |
parent | 5cb0900b2ac4cedffba48cddcc5e6e54919df4e9 (diff) | |
download | ports-648c22f03dadf41f20b3bbeda669c4485a711857.tar.gz ports-648c22f03dadf41f20b3bbeda669c4485a711857.zip |
Notes
Diffstat (limited to 'sysutils/flashrom')
-rw-r--r-- | sysutils/flashrom/Makefile | 24 | ||||
-rw-r--r-- | sysutils/flashrom/distinfo | 5 |
2 files changed, 24 insertions, 5 deletions
diff --git a/sysutils/flashrom/Makefile b/sysutils/flashrom/Makefile index 91194a515a5d..3ebca77447c2 100644 --- a/sysutils/flashrom/Makefile +++ b/sysutils/flashrom/Makefile @@ -6,7 +6,7 @@ # PORTNAME= flashrom -PORTVERSION= 0.9.2 +PORTVERSION= 0.9.3 CATEGORIES= sysutils MASTER_SITES= http://qa.coreboot.org/releases/ @@ -14,19 +14,39 @@ MAINTAINER= avl@FreeBSD.org COMMENT= A utility for reading, writing, verifying and erasing flash ROM chips LIB_DEPENDS= pci.3:${PORTSDIR}/devel/libpci +RUN_DEPENDS= dmidecode:${PORTSDIR}/sysutils/dmidecode + +OPTIONS= FTDI "Enable external FT2232SPI flasher support" off USE_BZIP2= yes USE_GMAKE= yes ONLY_FOR_ARCHS= amd64 i386 -PORTDOCS= COPYING README +PORTDOCS= ChangeLog COPYING README PLIST_FILES= bin/${PORTNAME} +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING + .if !defined(NO_INSTALL_MANPAGES) MAN8= ${PORTNAME}.8 .endif +.include <bsd.port.options.mk> + +.if defined(WITH_FTDI) +USE_GNOME= pkgconfig +LIB_DEPENDS+= ftdi.18:${PORTSDIR}/devel/libftdi +.endif + +post-patch: +.if defined(WITH_FTDI) + @${REINPLACE_CMD} -e 's|-lusb")|-lusb") -lz|' ${WRKSRC}/Makefile +.else + @${REINPLACE_CMD} -e 's|2_SPI ?= yes|2_SPI ?= no|' ${WRKSRC}/Makefile +.endif + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin .if !defined(NO_INSTALL_MANPAGES) diff --git a/sysutils/flashrom/distinfo b/sysutils/flashrom/distinfo index 83ec8df46fde..88b1054d763e 100644 --- a/sysutils/flashrom/distinfo +++ b/sysutils/flashrom/distinfo @@ -1,3 +1,2 @@ -MD5 (flashrom-0.9.2.tar.bz2) = 21751b4ea93c5a82c725adae7b63014a -SHA256 (flashrom-0.9.2.tar.bz2) = 6788efb3dfe4c6a2e0073f80a1952747bea82b1396b6369ca0d6e9a5cf5f269d -SIZE (flashrom-0.9.2.tar.bz2) = 209517 +SHA256 (flashrom-0.9.3.tar.bz2) = e9efc85a1314e343c5e88a232c5f75e2b4233da0de99ab6c447f0ff6551488a0 +SIZE (flashrom-0.9.3.tar.bz2) = 252146 |