1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-31 10:46:16 +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
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>