ea8c8ec7da
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3 to GCC 9.1 under most circumstances now after revision 507371. This includes ports - with USE_GCC=yes or USE_GCC=any, - with USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang, c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib plus, everything INDEX-11 shows with a dependency on lang/gcc9 now. PR: 238330
44 lines
968 B
Makefile
44 lines
968 B
Makefile
# Created by: Travis Poppe <tlp@liquidx.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= wargus
|
|
PORTVERSION= 2.4.1
|
|
DISTVERSIONPREFIX= v
|
|
PORTREVISION= 4
|
|
CATEGORIES= games
|
|
|
|
MAINTAINER= amdmi3@FreeBSD.org
|
|
COMMENT= Warcraft 2 mod that allows you to play Warcraft 2 with Stratagus
|
|
|
|
LICENSE= GPLv2+
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
RUN_DEPENDS= stratagus:games/stratagus \
|
|
ffmpeg2theora:multimedia/ffmpeg2theora \
|
|
cdparanoia:audio/cdparanoia
|
|
BUILD_DEPENDS= stratagus:games/stratagus
|
|
LIB_DEPENDS= libpng.so:graphics/png
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= Wargus
|
|
|
|
USES= cmake compiler:c++11-lang pkgconfig
|
|
CMAKE_ARGS= -DGAMEDIR:STRING="bin" \
|
|
-DSHAREDIR:STRING="${DATADIR_REL}"
|
|
USE_XORG= x11
|
|
USE_GNOME= gtk20
|
|
SUB_FILES= pkg-message
|
|
|
|
PORTDOCS= *
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-install:
|
|
cd ${WRKSRC}/doc && ${INSTALL_MAN} *.6 ${STAGEDIR}${MAN6PREFIX}/man/man6/
|
|
|
|
post-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|