diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2018-06-23 04:55:12 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2018-06-23 04:55:12 +0800 |
commit | 49ef5d07f9f254e2dd41c0f4f84c7f01cb856725 (patch) | |
tree | 301f6073f656bbe4e72260af3508359c519d87ab /games | |
parent | 6107d971b6a72eb95c28e1d975349019097ce7ee (diff) | |
download | freebsd-ports-gnome-49ef5d07f9f254e2dd41c0f4f84c7f01cb856725.tar.gz freebsd-ports-gnome-49ef5d07f9f254e2dd41c0f4f84c7f01cb856725.tar.zst freebsd-ports-gnome-49ef5d07f9f254e2dd41c0f4f84c7f01cb856725.zip |
- Add LICENSE
- Switch to USES=localbase
- Fix build with clang 6
Diffstat (limited to 'games')
-rw-r--r-- | games/hex-a-hop/Makefile | 11 |
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> |