From owner-svn-ports-head@FreeBSD.ORG Thu Sep 5 10:07:17 2013 Return-Path: Delivered-To: svn-ports-head@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 BFC65C1F; Thu, 5 Sep 2013 10:07:17 +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 AC9402108; Thu, 5 Sep 2013 10:07:17 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r85A7H5B010072; Thu, 5 Sep 2013 10:07:17 GMT (envelope-from danfe@svn.freebsd.org) Received: (from danfe@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r85A7HFh010069; Thu, 5 Sep 2013 10:07:17 GMT (envelope-from danfe@svn.freebsd.org) Message-Id: <201309051007.r85A7HFh010069@svn.freebsd.org> From: Alexey Dokuchaev Date: Thu, 5 Sep 2013 10:07:17 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r326378 - head/games/wmqstat X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Sep 2013 10:07:17 -0000 Author: danfe Date: Thu Sep 5 10:07:17 2013 New Revision: 326378 URL: http://svnweb.freebsd.org/changeset/ports/326378 Log: - Unbreak the build against Clang - Tighten Makefile header and COMMENT - Add LICENSE (sadly, has to be GPLv2) - Convert NOPORTDOCS while I'm here Reported by: pkg-fallout Modified: head/games/wmqstat/Makefile Modified: head/games/wmqstat/Makefile ============================================================================== --- head/games/wmqstat/Makefile Thu Sep 5 09:57:52 2013 (r326377) +++ head/games/wmqstat/Makefile Thu Sep 5 10:07:17 2013 (r326378) @@ -1,9 +1,5 @@ -# New ports collection makefile for: wmQStat -# Date created: 25 Apr 2003 -# Whom: Alexey Dokuchaev -# +# Created by: Alexey Dokuchaev # $FreeBSD$ -# PORTNAME= wmqstat PORTVERSION= 0.0.4 @@ -12,7 +8,9 @@ CATEGORIES= games windowmaker MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/wmQStat%20${PORTVERSION} MAINTAINER= danfe@FreeBSD.org -COMMENT= A dockapp for monitoring of various Internet game servers +COMMENT= Dockapp for monitoring of various Internet game servers + +LICENSE= GPLv2 RUN_DEPENDS= qstat:${PORTSDIR}/games/qstat @@ -21,9 +19,17 @@ USE_XORG= xpm x11 xext PLIST_FILES= bin/${PORTNAME} PORTDOCS= README +OPTIONS_DEFINE= DOCS + +.include + +# Unbreak the build against Clang +post-patch: + @${REINPLACE_CMD} -e 's, inline,,' ${WRKSRC}/wmgeneral/list.h + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} .endif