mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-30 10:38:37 +00:00
0df95fa7c5
- Move `libarchive' from global USES list to SMB where it's pulled explicitly; otherwise the program's happy with base system's one: Found LibArchive: /usr/lib/libarchive.so (found version "3.5.1") - Switch to GTK+2-based wxWidgets: it's noticeably faster and does not pull heavy and useless (for this particular program) WebKit - Augment the port description while here, particularly, remove no longer relevant "alpha version" warning Reported by: portscout
55 lines
1.3 KiB
Makefile
55 lines
1.3 KiB
Makefile
PORTNAME= far2l
|
|
PORTVERSION= 2.5.0
|
|
DISTVERSIONPREFIX= v_
|
|
CATEGORIES= misc
|
|
|
|
MAINTAINER= danfe@FreeBSD.org
|
|
COMMENT= Port of FAR v2 to Unix-like systems
|
|
WWW= https://github.com/elfmz/far2l
|
|
|
|
LICENSE= GPLv2
|
|
|
|
BUILD_DEPENDS= gawk:lang/gawk gm4:devel/m4 \
|
|
${LOCALBASE}/include/spdlog/spdlog.h:devel/spdlog
|
|
LIB_DEPENDS= libfmt.so:devel/libfmt \
|
|
libpcre.so:devel/pcre \
|
|
libuchardet.so:textproc/uchardet \
|
|
libxerces-c.so:textproc/xerces-c3
|
|
RUN_DEPENDS= bash:shells/bash
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= elfmz
|
|
|
|
USES= cmake compiler:c++11-lang perl5 pkgconfig shebangfix ssl
|
|
USE_PERL5= build
|
|
SHEBANG_FILES= far2l/bootstrap/view.sh
|
|
|
|
OPTIONS_DEFINE= NFS SFTP SMB WEBDAV WXGTK X11
|
|
OPTIONS_DEFAULT= NFS SFTP WEBDAV WXGTK X11
|
|
OPTIONS_SUB= yes
|
|
|
|
NFS_LIB_DEPENDS= libnfs.so:net/libnfs
|
|
|
|
SFTP_DESC= SFTP file transfer support
|
|
SFTP_LIB_DEPENDS= libssh.so:security/libssh
|
|
|
|
SMB_USES= libarchive samba:lib
|
|
|
|
WEBDAV_DESC= WebDav protocol support via libneon
|
|
WEBDAV_LIB_DEPENDS= libneon.so:www/neon
|
|
|
|
WXGTK_CMAKE_OFF= -DUSEWX:BOOL=OFF
|
|
WXGTK_USE= WX=3.0+
|
|
WXGTK_VARS= WANT_WXGTK_VER=2
|
|
|
|
X11_DESC= Build with TTY X11 extensions
|
|
X11_CMAKE_OFF= -DTTYX:BOOL=OFF
|
|
X11_USES= xorg
|
|
X11_USE= XORG=ice,sm,x11,xext,xi
|
|
|
|
post-patch:
|
|
@${GREP} -Rl --null --include=\*.cpp /bin/bash ${WRKSRC} | ${XARGS} \
|
|
-0 ${REINPLACE_CMD} -e 's,/bin/bash,${LOCALBASE}&,'
|
|
|
|
.include <bsd.port.mk>
|