Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Oct 2012 20:46:06 +0000 (UTC)
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r306571 - head/sysutils/mbmon
Message-ID:  <201210282046.q9SKk6qR095693@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Sun Oct 28 20:46:06 2012
New Revision: 306571
URL: http://svn.freebsd.org/changeset/ports/306571

Log:
  - Convert to OptionsNG [1]
  - Add fflush patch to solve the problem for using pipe to get outputs [1]
  - Add option to support ASUS A7N8X-VM/400 [1]
  - Improve COMMENT
  - Trim Makefile headers
  
  PR:		ports/171933 [1]
  Submitted by:	Takefu <takefu@airport.fm> [1]
  Approved by:	maintainer timeout (1 month)
  Feature safe:	yes

Modified:
  head/sysutils/mbmon/Makefile
  head/sysutils/mbmon/distinfo

Modified: head/sysutils/mbmon/Makefile
==============================================================================
--- head/sysutils/mbmon/Makefile	Sun Oct 28 20:36:03 2012	(r306570)
+++ head/sysutils/mbmon/Makefile	Sun Oct 28 20:46:06 2012	(r306571)
@@ -1,21 +1,19 @@
-# Ports collection makefile for:	xmbmon
-# Date created:				2001/08/30
-# Whom:					kaz@kobe1995.net (NAKAMURA Kauzushi)
-#
+# Created by: kaz@kobe1995.net (NAKAMURA Kauzushi)
 # $FreeBSD$
-#
 
 PORTNAME?=	mbmon
 PORTVERSION=	205
-PORTREVISION?=	5
+PORTREVISION?=	6
 CATEGORIES=	sysutils
 MASTER_SITES=	http://www.nt.phys.kyushu-u.ac.jp/shimizu/download/xmbmon/
 DISTNAME=	xmbmon${PORTVERSION}
 
 MAINTAINER=	5u623l20@gmail.com
-COMMENT?=	A tty motherboard monitor for LM78/79, W8378x, AS99127F, VT82C686 and ADM9240
+COMMENT?=	Motherboard monitor for LM78/79, W8378x, AS99127F, VT82C686 and ADM9240
 
 PORTSCOUT=	limit:^[0-9]+$
+PATCH_SITES+=	${MASTER_SITES}
+PATCHFILES+=	xmbmon${PORTVERSION}_fflush.patch
 
 ONLY_FOR_ARCHS=	i386 amd64
 GNU_CONFIGURE=	yes
@@ -26,17 +24,24 @@ PLIST_FILES+=	bin/${PORTNAME}
 MAN1?=		mbmon.1
 PORTDOCS=	ChangeLog ChangeLog.jp ReadMe ReadMe.jp ReadMe.tech
 
-OPTIONS=	SMB "enable smb(4) support" on
+OPTIONS_DEFINE=	ASUS SMB
+OPTIONS_SET=	SMB
+ASUS_DESC=	"Enable A7N8X-VM support"
+SMB_DESC=	"Enable smb(4) support"
 
 .if ${PORTNAME} == "mbmon"
 USE_RC_SUBR=	mbmon
 .endif
 
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MASUS}
+PATCHFILES+=	xmbmon${PORTVERSION}_A7N8X-VM.patch
+.endif
 
 post-patch:
 	@${REINPLACE_CMD} -e 's+/usr/share/doc/mbmon+${DOCSDIR}+' ${WRKSRC}/mbmon.1
-.if !defined(WITHOUT_SMB)
+.if ${PORT_OPTIONS:MSMB}
 	@${REINPLACE_CMD} -e 's/^DEFS=/&-DSMBUS_IOCTL /' ${WRKSRC}/Makefile.in
 .endif
 
@@ -49,4 +54,4 @@ do-install:
 	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
 .endif
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/sysutils/mbmon/distinfo
==============================================================================
--- head/sysutils/mbmon/distinfo	Sun Oct 28 20:36:03 2012	(r306570)
+++ head/sysutils/mbmon/distinfo	Sun Oct 28 20:46:06 2012	(r306571)
@@ -1,2 +1,6 @@
 SHA256 (xmbmon205.tar.gz) = 65b10ebfe53585ac22d6a31d8ef3fea552cb266cf2c124c00421dec1df5a4a4f
 SIZE (xmbmon205.tar.gz) = 142987
+SHA256 (xmbmon205_fflush.patch) = f837f465861ce46e4a90d1d3c7a680c1904f7fb91e14efcbad22313c90e2cdc7
+SIZE (xmbmon205_fflush.patch) = 242
+SHA256 (xmbmon205_A7N8X-VM.patch) = 20565e0b1216d3becb87f796fa547e81fec84e37cff05405eb8f71bc97eebc68
+SIZE (xmbmon205_A7N8X-VM.patch) = 274



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210282046.q9SKk6qR095693>