Date: Thu, 5 Sep 2013 10:07:17 +0000 (UTC) From: Alexey Dokuchaev <danfe@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r326378 - head/games/wmqstat Message-ID: <201309051007.r85A7HFh010069@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <danfe@regency.nsu.ru> -# +# Created by: Alexey Dokuchaev <danfe@regency.nsu.ru> # $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 <bsd.port.options.mk> + +# 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309051007.r85A7HFh010069>