diff options
author | avl <avl@FreeBSD.org> | 2010-12-03 09:50:42 +0800 |
---|---|---|
committer | avl <avl@FreeBSD.org> | 2010-12-03 09:50:42 +0800 |
commit | d76a551c19ef4818d638fc4099695bea1879a656 (patch) | |
tree | 49959b0b40680f2d736aa649c324f32f7de46b40 /sysutils | |
parent | 157212114399fa184e42e95bdc3ada4427e875ad (diff) | |
download | freebsd-ports-gnome-d76a551c19ef4818d638fc4099695bea1879a656.tar.gz freebsd-ports-gnome-d76a551c19ef4818d638fc4099695bea1879a656.tar.zst freebsd-ports-gnome-d76a551c19ef4818d638fc4099695bea1879a656.zip |
- Update to 0.9.3
- Add license information
Diffstat (limited to 'sysutils')
-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 |