Date: Mon, 27 Aug 2012 20:28:36 +0000 (UTC) From: Guido Falsi <madpilot@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r303246 - head/sysutils/flashrom Message-ID: <201208272028.q7RKSaM4052659@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: madpilot Date: Mon Aug 27 20:28:35 2012 New Revision: 303246 URL: http://svn.freebsd.org/changeset/ports/303246 Log: - Update to 0.9.6.1 - Fix pkgconf dependency - Convert to OPTIONSng - Remove ABI version from LIB_DEPENDS PR: ports/170888 Submitted by: Hakisho Nukama <nukama@gmail.com> (maintainer, via email) Approved by: crees, tabthorpe (mentors, implicit) Modified: head/sysutils/flashrom/Makefile (contents, props changed) head/sysutils/flashrom/distinfo (contents, props changed) Modified: head/sysutils/flashrom/Makefile ============================================================================== --- head/sysutils/flashrom/Makefile Mon Aug 27 20:08:18 2012 (r303245) +++ head/sysutils/flashrom/Makefile Mon Aug 27 20:28:35 2012 (r303246) @@ -6,7 +6,7 @@ # PORTNAME= flashrom -PORTVERSION= 0.9.5.2 +PORTVERSION= 0.9.6.1 CATEGORIES= sysutils MASTER_SITES= http://download.flashrom.org/releases/ @@ -16,10 +16,13 @@ COMMENT= Utility for reading, writing, v LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING -LIB_DEPENDS= pci.3:${PORTSDIR}/devel/libpci +LIB_DEPENDS= pci:${PORTSDIR}/devel/libpci -OPTIONS= DMIDECODE "Use dmidecode to gather DMI information" on \ - FTDI "Enable external FT2232SPI flasher support" off +OPTIONS_DEFINE= DMIDECODE DOCS FTDI +OPTIONS_DEFAULT= DMIDECODE DOCS + +DMIDECODE_DESC= Use dmidecode to gather DMI information +FTDI_DESC= Enable external FT2232SPI flasher support USE_BZIP2= yes USE_GMAKE= yes @@ -37,17 +40,17 @@ MAN8= ${PORTNAME}.8 .include <bsd.port.options.mk> -.if !defined(WITHOUT_DMIDECODE) +.if ${PORT_OPTIONS:MDMIDECODE} RUN_DEPENDS+= dmidecode:${PORTSDIR}/sysutils/dmidecode .endif -.if defined(WITH_FTDI) -USE_GNOME= pkgconfig -LIB_DEPENDS+= ftdi.19:${PORTSDIR}/devel/libftdi +.if ${PORT_OPTIONS:MFTDI} +USE_PKGCONFIG= build +LIB_DEPENDS+= ftdi:${PORTSDIR}/devel/libftdi .endif post-patch: -.if defined(WITH_FTDI) +.if ${PORT_OPTIONS:MFTDI} @${REINPLACE_CMD} -e 's|-lusb")|-lusb") -lz|' ${WRKSRC}/Makefile .else @${REINPLACE_CMD} -e 's|2_SPI ?= yes|2_SPI ?= no|' ${WRKSRC}/Makefile @@ -59,7 +62,7 @@ do-install: ${MKDIR} ${MANPREFIX}/man/man8 ${INSTALL_MAN} ${WRKSRC}/${MAN8} ${MANPREFIX}/man/man8 .endif -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${DOCSDIR} .for i in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} Modified: head/sysutils/flashrom/distinfo ============================================================================== --- head/sysutils/flashrom/distinfo Mon Aug 27 20:08:18 2012 (r303245) +++ head/sysutils/flashrom/distinfo Mon Aug 27 20:28:35 2012 (r303246) @@ -1,2 +1,2 @@ -SHA256 (flashrom-0.9.5.2.tar.bz2) = 9a5ccd1c4bf6d7658e9373426a3683fab1d260eabf4542de3b6ebd1882ac4903 -SIZE (flashrom-0.9.5.2.tar.bz2) = 347242 +SHA256 (flashrom-0.9.6.1.tar.bz2) = 6f7b588cce74c90b4fe9c9c794de105de76e0323442fb5770b1aeab81e9d560a +SIZE (flashrom-0.9.6.1.tar.bz2) = 368133
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201208272028.q7RKSaM4052659>