aboutsummaryrefslogtreecommitdiff
path: root/games/hex-a-hop
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2018-06-22 20:55:12 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2018-06-22 20:55:12 +0000
commit8f9cb5f49be2171c9a668ee15748659ebefa6690 (patch)
tree301f6073f656bbe4e72260af3508359c519d87ab /games/hex-a-hop
parent09dccf0a124e36aef3e00890bb9144bdfd4fd39f (diff)
downloadports-8f9cb5f49be2171c9a668ee15748659ebefa6690.tar.gz
ports-8f9cb5f49be2171c9a668ee15748659ebefa6690.zip
- Add LICENSE
- Switch to USES=localbase - Fix build with clang 6
Notes
Notes: svn path=/head/; revision=473072
Diffstat (limited to 'games/hex-a-hop')
-rw-r--r--games/hex-a-hop/Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/games/hex-a-hop/Makefile b/games/hex-a-hop/Makefile
index 0e736a7230f7..73afbb58a657 100644
--- a/games/hex-a-hop/Makefile
+++ b/games/hex-a-hop/Makefile
@@ -10,13 +10,14 @@ MASTER_SITES= SF/${PORTNAME:S/-//g}/${PORTVERSION}
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Puzzle game based on hexagonal tiles
-USES= iconv
+LICENSE= GPLv2+
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+USES= iconv localbase
USE_SDL= sdl
GNU_CONFIGURE= yes
-CPPFLAGS+= -I${LOCALBASE}/include
-CFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
+CXXFLAGS+= -Wno-c++11-narrowing
OPTIONS_DEFINE= PANGO SOUND NLS DEBUG
OPTIONS_DEFAULT= SOUND
@@ -42,6 +43,6 @@ DESKTOP_ENTRIES="Hex-a-Hop" "${COMMENT}" \
"hex-a-hop" "LogicGame;Game;" false
post-patch:
- ${REINPLACE_CMD} -E '/CFLAGS|CXXFLAGS/s/-g//' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -E '/CFLAGS|CXXFLAGS/s/-g//' ${WRKSRC}/configure
.include <bsd.port.mk>