diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-10-26 11:43:56 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-10-26 11:43:56 +0000 |
commit | 88fc8decfa23ba40611db3d0d14f5ada3d987ef6 (patch) | |
tree | 4ec153894855961550491da15cff784833238430 /games/wyrmgus/Makefile | |
parent | 9febae8b79867621feffece7ed51926a715bba3a (diff) | |
download | ports-88fc8decfa23ba40611db3d0d14f5ada3d987ef6.tar.gz ports-88fc8decfa23ba40611db3d0d14f5ada3d987ef6.zip |
Notes
Diffstat (limited to 'games/wyrmgus/Makefile')
-rw-r--r-- | games/wyrmgus/Makefile | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/games/wyrmgus/Makefile b/games/wyrmgus/Makefile index cb2bb31e5498..8685e01a9417 100644 --- a/games/wyrmgus/Makefile +++ b/games/wyrmgus/Makefile @@ -2,7 +2,8 @@ # $FreeBSD$ PORTNAME= wyrmgus -PORTVERSION= git20150601 +PORTVERSION= 1.4.1 +DISTVERSIONPREFIX= v CATEGORIES= games devel MAINTAINER= amdmi3@FreeBSD.org @@ -17,7 +18,6 @@ LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png \ USE_GITHUB= yes GH_ACCOUNT= Andrettin GH_PROJECT= Wyrmgus -GH_TAGNAME= 80c76abcc6 USE_GL= gl glu USE_SDL= sdl @@ -64,8 +64,14 @@ FLUIDSYNTH_LIB_DEPENDS= libfluidsynth.so:${PORTSDIR}/audio/fluidsynth FLUIDSYNTH_CMAKE_ON= -DWITH_FLUIDSYNTH:BOOL=ON FLUIDSYNTH_CMAKE_OFF= -DWITH_FLUIDSYNTH:BOOL=OFF +.include <bsd.port.pre.mk> + +.if ${COMPILER_TYPE} == gcc +CXXFLAGS+= -D_GLIBCXX_USE_C99 # gcc c++11 support is broken on FreeBSD +.endif + do-install: ${INSTALL_PROGRAM} ${CONFIGURE_WRKSRC}/stratagus ${STAGEDIR}${PREFIX}/bin/${PORTNAME} ${INSTALL_DATA} ${WRKSRC}/src/win32/wyrmsun.ico ${STAGEDIR}${PREFIX}/share/pixmaps/ -.include <bsd.port.mk> +.include <bsd.port.post.mk> |