svn commit: r326378 - head/games/wmqstat

Alexey Dokuchaev danfe at FreeBSD.org
Thu Sep 5 10:07:17 UTC 2013


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 at regency.nsu.ru>
-#
+# Created by: Alexey Dokuchaev <danfe at 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 at 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


More information about the svn-ports-all mailing list