4c46ca73d8
Add USES=xorg and USES=gl to ports in categories starting with 'x' While here, try to sprinkle other USES (mostly gnome and sdl) as needed.
45 lines
1.1 KiB
Makefile
45 lines
1.1 KiB
Makefile
# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= wcmcommander
|
|
PORTVERSION= 0.20.0
|
|
DISTVERSIONPREFIX= release-
|
|
PORTREVISION= 11
|
|
CATEGORIES= x11-fm
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Multi-platform open source file manager
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= corporateshark
|
|
GH_PROJECT= WCMCommander
|
|
|
|
CONFLICTS_INSTALL= wcm # bin/wcm
|
|
|
|
USES= compiler:c++11-lib cmake xorg
|
|
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
|
|
|
|
post-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
.for f in ${PORTDOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|