freebsd-ports/x11-fm/wcmcommander/Makefile
Gerald Pfeifer 04d6f52202 Bump PORTREVISIONs for ports depending on the canonical version of GCC and
lang/gcc which have moved from GCC 4.9.4 to GCC 5.4 (at least under some
circumstances such as versions of FreeBSD or platforms).

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using using Mk/bsd.octave.mk which in turn has USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c++11-lib, c++14-lang,
   c++11-lang, c++0x, c11, or gcc-c++11-lib.

PR:		216707
2017-04-01 15:23:30 +00:00

49 lines
1.2 KiB
Makefile

# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$
PORTNAME= wcmcommander
PORTVERSION= 0.20.0
DISTVERSIONPREFIX= release-
PORTREVISION= 4
CATEGORIES= x11-fm
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Multi-platform open source file manager
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USE_GITHUB= yes
GH_ACCOUNT= corporateshark
GH_PROJECT= WCMCommander
USES= compiler:c++11-lib cmake:outsource
CMAKE_ARGS= -DDATADIR="${DATADIR_REL}"
USE_XORG= x11
PORTDOCS= CHANGELOG.txt README.md readme_eng.txt
OPTIONS_DEFINE= FREETYPE SMB SSH DOCS
OPTIONS_DEFAULT=FREETYPE SMB SSH
FREETYPE_LIB_DEPENDS= libfreetype.so:print/freetype2
FREETYPE_CMAKE_BOOL= WITH_FREETYPE
SMB_USES= samba:lib
SMB_CMAKE_BOOL= WITH_SMBCLIENT
SMB_CMAKE_ON= -DSMBCLIENT_LIBRARY=${SAMBALIBS}/libsmbclient.so -DSMBCLIENT_INCLUDE_DIR=${SAMBAINCLUDES}
SSH_LIB_DEPENDS= libssh2.so:security/libssh2
SSH_CMAKE_BOOL= WITH_LIBSSH2
.include <bsd.port.pre.mk>
.if ${CHOSEN_COMPILER_TYPE} == gcc
CXXFLAGS+= -D_GLIBCXX_USE_C99 # gcc c++11 support is broken on FreeBSD
.endif
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/
.endfor
.include <bsd.port.post.mk>