From owner-svn-ports-head@freebsd.org Wed Sep 23 00:04:37 2015 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 69ADDA074E9; Wed, 23 Sep 2015 00:04:37 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 57E2D1D58; Wed, 23 Sep 2015 00:04:37 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.70]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t8N04bN8016021; Wed, 23 Sep 2015 00:04:37 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t8N04bfh016020; Wed, 23 Sep 2015 00:04:37 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201509230004.t8N04bfh016020@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Wed, 23 Sep 2015 00:04:37 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r397599 - head/games/blokish 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.20 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: Wed, 23 Sep 2015 00:04:37 -0000 Author: amdmi3 Date: Wed Sep 23 00:04:36 2015 New Revision: 397599 URL: https://svnweb.freebsd.org/changeset/ports/397599 Log: - Add LICENSE - Switch to USES=localbase - Drop no-op WX_UNICODE - Install desktop entry and an icon Modified: head/games/blokish/Makefile Modified: head/games/blokish/Makefile ============================================================================== --- head/games/blokish/Makefile Tue Sep 22 23:59:05 2015 (r397598) +++ head/games/blokish/Makefile Wed Sep 23 00:04:36 2015 (r397599) @@ -3,7 +3,7 @@ PORTNAME= blokish PORTVERSION= 0.9.4 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/v${PORTVERSION} DISTNAME= ${PORTNAME}_v${PORTVERSION} @@ -11,24 +11,35 @@ DISTNAME= ${PORTNAME}_v${PORTVERSION} MAINTAINER= amdmi3@FreeBSD.org COMMENT= Clone of the strategy board game 'Blokus' +LICENSE= GPLv2 # or later +LICENSE_FILE= ${WRKSRC}/COPYING + GNU_CONFIGURE= yes -USES= gmake tar:tgz +USES= gmake localbase tar:tgz USE_GL= gl USE_WX= 2.8 -WX_UNICODE= yes - -CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib MAKEFILE= makefile -WRKSRC= ${WRKDIR}/blokish +WRKSRC= ${WRKDIR}/${PORTNAME} -PLIST_FILES= bin/blokish +PLIST_FILES= bin/${PORTNAME} \ + share/pixmaps/${PORTNAME}.xpm + +DESKTOP_ENTRIES="Blokish" \ + "" \ + "${PORTNAME}" \ + "${PORTNAME}" \ + "Game;LogicGame;" \ + "" post-patch: @${REINPLACE_CMD} -e 's|wx-config|${WX_CONFIG}|' \ ${WRKSRC}/makefile.in ${WRKSRC}/configure @${REINPLACE_CMD} '/^LIBS =/s/$$/ -lGL/' ${WRKSRC}/makefile.in +post-install: + ${INSTALL_DATA} ${WRKSRC}/src/${PORTNAME}.xpm \ + ${STAGEDIR}${PREFIX}/share/pixmaps/ + .include