Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Jul 2014 03:23:22 +0000 (UTC)
From:      "Vanilla I. Shu" <vanilla@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r362617 - in head/sysutils/xosview: . files
Message-ID:  <201407230323.s6N3NMRj080856@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vanilla
Date: Wed Jul 23 03:23:22 2014
New Revision: 362617
URL: http://svnweb.freebsd.org/changeset/ports/362617
QAT: https://qat.redports.org/buildarchive/r362617/

Log:
  1: Upgrade to 1.16.
  2: Stagify.
  
  PR:		ports/177349
  Submitted by:	tomi.o.tapper at student.jyu.fi[1], me[2]
  Approved by:	maintainer

Deleted:
  head/sysutils/xosview/files/
Modified:
  head/sysutils/xosview/Makefile
  head/sysutils/xosview/distinfo
  head/sysutils/xosview/pkg-descr
  head/sysutils/xosview/pkg-plist

Modified: head/sysutils/xosview/Makefile
==============================================================================
--- head/sysutils/xosview/Makefile	Wed Jul 23 02:16:37 2014	(r362616)
+++ head/sysutils/xosview/Makefile	Wed Jul 23 03:23:22 2014	(r362617)
@@ -2,44 +2,24 @@
 # $FreeBSD$
 
 PORTNAME=	xosview
-PORTVERSION=	1.8.3
-PORTREVISION=	3
+PORTVERSION=	1.16
+PORTREVISION=	0
 CATEGORIES=	sysutils
-MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
+MASTER_SITES=	http://www.pogo.org.uk/~mark/xosview/releases/
 
 MAINTAINER=	clsung@FreeBSD.org
 COMMENT=	Graphical performance meter
 
 USE_XORG=	xpm
-GNU_CONFIGURE=	yes
-MAN1=		xosview.1
+USES=		gmake
+MAKE_ENV+=	PLATFORM=bsd MANDIR=${LOCALBASE}/man
+ALL_TARGET=
+
+do-configure:
+	@${CP} ${WRKSRC}/targets/freebsd-9.0 ${WRKSRC}/.config
+	@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/.config
 
-NO_STAGE=	yes
-.include <bsd.port.pre.mk>
+post-install:
+	@${CP} ${WRKSRC}/Xdefaults ${STAGEDIR}${PREFIX}/lib/X11/app-defaults/XOsview
 
-post-patch:
-	@${REINPLACE_CMD} -e 's,iostream.h,iostream,' \
-		${WRKSRC}/xwin.h \
-		${WRKSRC}/Host.h \
-		${WRKSRC}/Xrm.cc \
-		${WRKSRC}/llist.cc \
-		${WRKSRC}/timeval.h \
-		${WRKSRC}/xosview.cc
-	@${REINPLACE_CMD} -e 's,string.h,string,' \
-		${WRKSRC}/xwin.h \
-		${WRKSRC}/Host.cc \
-		${WRKSRC}/Xrm.cc \
-		${WRKSRC}/llist.cc \
-		${WRKSRC}/timeval.h \
-		${WRKSRC}/xosview.cc
-	@${REINPLACE_CMD} -e 's,fstream.h,fstream,' \
-		${WRKSRC}/bitfieldmeter.cc \
-		${WRKSRC}/fieldmeter.cc \
-		${WRKSRC}/fieldmeterdecay.cc \
-		${WRKSRC}/fieldmetergraph.cc
-	@${REINPLACE_CMD} -e 's,-O4,,' \
-		${WRKSRC}/configure
-	@${REINPLACE_CMD} -e 's,/share/man,/man,' \
-		${WRKSRC}/config/Makefile.top.in
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/sysutils/xosview/distinfo
==============================================================================
--- head/sysutils/xosview/distinfo	Wed Jul 23 02:16:37 2014	(r362616)
+++ head/sysutils/xosview/distinfo	Wed Jul 23 03:23:22 2014	(r362617)
@@ -1,2 +1,2 @@
-SHA256 (xosview-1.8.3.tar.gz) = 3aa28fb12552ea106e06f6958e1a0913bde8b0bb1491c091a3f1849717736b66
-SIZE (xosview-1.8.3.tar.gz) = 259793
+SHA256 (xosview-1.16.tar.gz) = 8e9e130d1bbb30b68419d12f0d74609c10eeed4d6c6a85f35d9941ea3c7b23a0
+SIZE (xosview-1.16.tar.gz) = 137097

Modified: head/sysutils/xosview/pkg-descr
==============================================================================
--- head/sysutils/xosview/pkg-descr	Wed Jul 23 02:16:37 2014	(r362616)
+++ head/sysutils/xosview/pkg-descr	Wed Jul 23 03:23:22 2014	(r362617)
@@ -3,11 +3,4 @@ Linux.  It can be summarized as a graphi
 it looks similar in appearance to the zoomy performance meters to 
 be found on various other platforms.  
 
-The FreeBSD version works but doesn't yet have full functionality.  
-At the time of this writing, the meters that work are the Load meter,
-the CPU meter and the memmeter.  The other nonfunctional meters are
-not displayed.  Someone who understands how to grab statistics out 
-of the kernel needs to volunteer to help make this a fully functional
-port!
-
 WWW: http://xosview.sourceforge.net

Modified: head/sysutils/xosview/pkg-plist
==============================================================================
--- head/sysutils/xosview/pkg-plist	Wed Jul 23 02:16:37 2014	(r362616)
+++ head/sysutils/xosview/pkg-plist	Wed Jul 23 03:23:22 2014	(r362617)
@@ -1,2 +1,7 @@
+@group kmem
+@mode 2555
 bin/xosview
+@mode
+@group
 lib/X11/app-defaults/XOsview
+man/man1/xosview.1.gz



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