2014-08-30 03:30:32 +02:00
|
|
|
# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
|
|
|
|
# $FreeBSD$
|
|
|
|
|
2015-05-07 22:30:47 +02:00
|
|
|
PORTNAME= wcmcommander
|
|
|
|
PORTVERSION= 0.20.0
|
2015-05-07 22:24:15 +02:00
|
|
|
DISTVERSIONPREFIX= release-
|
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 17:23:30 +02:00
|
|
|
PORTREVISION= 4
|
2014-08-30 03:30:32 +02:00
|
|
|
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
|
2015-05-07 22:24:15 +02:00
|
|
|
GH_PROJECT= WCMCommander
|
2014-08-30 03:30:32 +02:00
|
|
|
|
2014-12-23 15:25:09 +01:00
|
|
|
USES= compiler:c++11-lib cmake:outsource
|
2015-02-23 22:47:33 +01:00
|
|
|
CMAKE_ARGS= -DDATADIR="${DATADIR_REL}"
|
2014-08-30 03:30:32 +02:00
|
|
|
USE_XORG= x11
|
|
|
|
|
2015-05-07 22:30:47 +02:00
|
|
|
PORTDOCS= CHANGELOG.txt README.md readme_eng.txt
|
2014-08-30 03:30:32 +02:00
|
|
|
|
|
|
|
OPTIONS_DEFINE= FREETYPE SMB SSH DOCS
|
|
|
|
OPTIONS_DEFAULT=FREETYPE SMB SSH
|
|
|
|
|
2016-04-01 16:33:55 +02:00
|
|
|
FREETYPE_LIB_DEPENDS= libfreetype.so:print/freetype2
|
2016-08-17 16:01:22 +02:00
|
|
|
FREETYPE_CMAKE_BOOL= WITH_FREETYPE
|
2017-03-21 22:59:31 +01:00
|
|
|
SMB_USES= samba:lib
|
2016-08-17 16:01:22 +02:00
|
|
|
SMB_CMAKE_BOOL= WITH_SMBCLIENT
|
2017-03-21 22:59:31 +01:00
|
|
|
SMB_CMAKE_ON= -DSMBCLIENT_LIBRARY=${SAMBALIBS}/libsmbclient.so -DSMBCLIENT_INCLUDE_DIR=${SAMBAINCLUDES}
|
2016-04-01 16:33:55 +02:00
|
|
|
SSH_LIB_DEPENDS= libssh2.so:security/libssh2
|
2016-08-17 16:01:22 +02:00
|
|
|
SSH_CMAKE_BOOL= WITH_LIBSSH2
|
2014-08-30 03:30:32 +02:00
|
|
|
|
2014-12-23 15:25:09 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2016-11-12 18:38:26 +01:00
|
|
|
.if ${CHOSEN_COMPILER_TYPE} == gcc
|
2014-12-23 15:25:09 +01:00
|
|
|
CXXFLAGS+= -D_GLIBCXX_USE_C99 # gcc c++11 support is broken on FreeBSD
|
|
|
|
.endif
|
|
|
|
|
2016-08-17 16:01:22 +02:00
|
|
|
post-install-DOCS-on:
|
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
2014-08-30 03:30:32 +02:00
|
|
|
.for f in ${PORTDOCS}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/
|
|
|
|
.endfor
|
|
|
|
|
2014-12-23 15:25:09 +01:00
|
|
|
.include <bsd.port.post.mk>
|