mirror of
https://git.freebsd.org/ports.git
synced 2025-04-29 01:56:37 -04:00
misc/vifm: Fix build when DOCS option is off
- Vim or perl is a requirement to build the program/port, regardless of the user's choice to disable docs installation. Replace vim with perl5 to reduce the list of (build) dependencies. - Pet port(clippy|fmt) - Bump PORTREVISION even if it is not strictly necessary. PR: 279602 Reported by: Ivan <bsd@abinet.ru>
This commit is contained in:
parent
2b625445f9
commit
caf601941c
1 changed files with 6 additions and 7 deletions
|
@ -1,7 +1,7 @@
|
||||||
PORTNAME= vifm
|
PORTNAME= vifm
|
||||||
PORTVERSION= 0.13
|
PORTVERSION= 0.13
|
||||||
DISTVERSIONPREFIX= v
|
DISTVERSIONPREFIX= v
|
||||||
PORTREVISION= 1
|
PORTREVISION= 2
|
||||||
CATEGORIES= misc
|
CATEGORIES= misc
|
||||||
|
|
||||||
MAINTAINER= nivit@FreeBSD.org
|
MAINTAINER= nivit@FreeBSD.org
|
||||||
|
@ -11,18 +11,17 @@ WWW= https://vifm.info/
|
||||||
LICENSE= GPLv2+
|
LICENSE= GPLv2+
|
||||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||||
|
|
||||||
USES= desktop-file-utils gmake ncurses shebangfix
|
USES= desktop-file-utils gmake ncurses perl5 shebangfix
|
||||||
USE_GITHUB= yes
|
USE_GITHUB= yes
|
||||||
|
USE_PERL5= build
|
||||||
SHEBANG_FILES= data/vifm-media data/vifm-media-osx
|
SHEBANG_FILES= data/vifm-media data/vifm-media-osx
|
||||||
|
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share
|
|
||||||
CONFIGURE_ARGS= --without-gtk
|
CONFIGURE_ARGS= --without-gtk
|
||||||
|
|
||||||
CFLAGS+= -fcommon
|
CFLAGS+= -fcommon
|
||||||
|
|
||||||
OPTIONS_DEFINE= DOCS
|
OPTIONS_DEFINE= DOCS
|
||||||
# dependency to generate help tags
|
|
||||||
DOCS_BUILD_DEPENDS= vim:editors/vim
|
GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
Loading…
Add table
Reference in a new issue