1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-01 10:59:55 +00:00

- Add LICENSE

- Switch to USES=localbase
- Fix build with clang 6
This commit is contained in:
Dmitry Marakasov 2018-06-22 20:55:12 +00:00
parent 09dccf0a12
commit 8f9cb5f49b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=473072

View File

@ -10,13 +10,14 @@ MASTER_SITES= SF/${PORTNAME:S/-//g}/${PORTVERSION}
MAINTAINER= amdmi3@FreeBSD.org MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Puzzle game based on hexagonal tiles COMMENT= Puzzle game based on hexagonal tiles
USES= iconv LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
USES= iconv localbase
USE_SDL= sdl USE_SDL= sdl
GNU_CONFIGURE= yes GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include CXXFLAGS+= -Wno-c++11-narrowing
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
OPTIONS_DEFINE= PANGO SOUND NLS DEBUG OPTIONS_DEFINE= PANGO SOUND NLS DEBUG
OPTIONS_DEFAULT= SOUND OPTIONS_DEFAULT= SOUND
@ -42,6 +43,6 @@ DESKTOP_ENTRIES="Hex-a-Hop" "${COMMENT}" \
"hex-a-hop" "LogicGame;Game;" false "hex-a-hop" "LogicGame;Game;" false
post-patch: post-patch:
${REINPLACE_CMD} -E '/CFLAGS|CXXFLAGS/s/-g//' ${WRKSRC}/configure @${REINPLACE_CMD} -E '/CFLAGS|CXXFLAGS/s/-g//' ${WRKSRC}/configure
.include <bsd.port.mk> .include <bsd.port.mk>