From owner-svn-ports-all@FreeBSD.ORG Thu Aug 1 01:54:25 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 2172C616; Thu, 1 Aug 2013 01:54:25 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 006D92088; Thu, 1 Aug 2013 01:54:25 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r711sOWb095114; Thu, 1 Aug 2013 01:54:24 GMT (envelope-from danfe@svn.freebsd.org) Received: (from danfe@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r711sOZZ095112; Thu, 1 Aug 2013 01:54:24 GMT (envelope-from danfe@svn.freebsd.org) Message-Id: <201308010154.r711sOZZ095112@svn.freebsd.org> From: Alexey Dokuchaev Date: Thu, 1 Aug 2013 01:54:24 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r324079 - head/sysutils/wmtop X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Aug 2013 01:54:25 -0000 Author: danfe Date: Thu Aug 1 01:54:24 2013 New Revision: 324079 URL: http://svnweb.freebsd.org/changeset/ports/324079 Log: - Unbreak parallel (-jX) builds by switching to GNU make - Define LICENSE (GPLv2) and do not spam portdocs with COPYING - Remove non-working URL from master sites, improve pkg-descr - Tidy up post-patch and do-install targets, convert NOPORTDOCS Modified: head/sysutils/wmtop/Makefile head/sysutils/wmtop/pkg-descr Modified: head/sysutils/wmtop/Makefile ============================================================================== --- head/sysutils/wmtop/Makefile Wed Jul 31 23:00:51 2013 (r324078) +++ head/sysutils/wmtop/Makefile Thu Aug 1 01:54:24 2013 (r324079) @@ -5,38 +5,36 @@ PORTNAME= wmtop PORTVERSION= 0.84 PORTREVISION= 3 CATEGORIES= sysutils windowmaker -MASTER_SITES= http://ftp1.sourceforge.net/wmtop/ \ - SF +MASTER_SITES= SF MAINTAINER= uqs@FreeBSD.org -COMMENT= Windowmaker dock app to display top 3 CPU consuming processes +COMMENT= Dockapp to display top three CPU consuming processes +LICENSE= GPLv2 + +USES= gmake # gmake is needed for -jX builds USE_XORG= xpm x11 USE_CSTD= gnu89 ALL_TARGET= freebsd -MAKE_JOBS_UNSAFE= yes MAN1= wmtop.1 +PORTDOCS= BUGS CHANGES README TODO PLIST_FILES= bin/wmtop -.if !defined(NOPORTDOCS) -PORTDOCS= BUGS CHANGES COPYING README TODO -.endif +OPTIONS_DEFINE= DOCS + +.include post-patch: - ${REINPLACE_CMD} -e 's/^\(LIBS.*\)/\1 -lkvm/' ${WRKSRC}/Makefile - ${REINPLACE_CMD} -e 's/^\(FLAGS.*\)/\1 -DNO_PROCFS/' ${WRKSRC}/Makefile + @${REINPLACE_CMD} -e 's/^\(LIBS.*\)/\1 -lkvm/ ; \ + s/^\(FLAGS.*\)/\1 -DNO_PROCFS/' ${WRKSRC}/Makefile do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/wmtop ${PREFIX}/bin/ - ${INSTALL_MAN} ${WRKSRC}/wmtop.1 ${PREFIX}/man/man1 -.if !defined(NOPORTDOCS) - @${INSTALL} -d -o ${SHAREOWN} -g ${SHAREGRP} -m 555 \ - ${PREFIX}/share/doc/${PORTNAME} -.for file in BUGS CHANGES COPYING README TODO - @${INSTALL_DATA} ${WRKSRC}/${file} \ - ${PREFIX}/share/doc/${PORTNAME} -.endfor -.endif # !NOPORTDOCS + ${INSTALL_PROGRAM} ${WRKSRC}/wmtop ${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/wmtop.1 ${MANPREFIX}/man/man1 +.if ${PORT_OPTIONS:MDOCS} + @${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR} +.endif .include Modified: head/sysutils/wmtop/pkg-descr ============================================================================== --- head/sysutils/wmtop/pkg-descr Wed Jul 31 23:00:51 2013 (r324078) +++ head/sysutils/wmtop/pkg-descr Thu Aug 1 01:54:24 2013 (r324079) @@ -1,6 +1,5 @@ -This is a port of wmtop which is a Windowmaker dock app which -monitors the top 3 processes (in terms of CPU usage). You can -configure which processes are displayed and it can be used as an -application launcher. +This is port of wmtop, a Windowmaker dockapp which monitors the top three +processes (in terms of CPU usage). You can configure which processes are +displayed, and it can also be used as an application launcher. WWW: http://wmtop.sourceforge.net/