aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-09-23 00:04:36 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-09-23 00:04:36 +0000
commit28ec607a5af40cb4c985b929f3a95103a8cced72 (patch)
treeae80c7c872bc6f100645ed684ec90a772eda28a3 /games
parent6ebfaa4eed5726d9f4d73cd62f93969741c9b6d3 (diff)
downloadports-28ec607a5af40cb4c985b929f3a95103a8cced72.tar.gz
ports-28ec607a5af40cb4c985b929f3a95103a8cced72.zip
Notes
Diffstat (limited to 'games')
-rw-r--r--games/blokish/Makefile27
1 files changed, 19 insertions, 8 deletions
diff --git a/games/blokish/Makefile b/games/blokish/Makefile
index 6e4431706416..9dd71d873a8a 100644
--- a/games/blokish/Makefile
+++ b/games/blokish/Makefile
@@ -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>