Date: Wed, 23 Sep 2015 00:04:37 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r397599 - head/games/blokish Message-ID: <201509230004.t8N04bfh016020@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201509230004.t8N04bfh016020>